40 mins call and below is the 1 question:
Create a function that finds elements in the DOM by a style. The function should take a CSS property name and value
and return the list of elements in the DOM that match that style. The function signature should look like the following:
method signature:
getElementsByStyle => (property: string, value: string): Array
For example, you might call getElementsByStyle("color", "#FFF") and it would return all the elements in the DOM with white text.
You can use the following to help you: