The Document method querySelector() returns the first Element within the document that matches the specified selector, or group of selectors. If no matches are found, null is returned. developer.mozilla.org/en-US/docs/W...
Ya that is known as temple string. Even i did the same
. Sorry i don't know why it's not showing here,but in my real code i have added template string only. Still it doesn't work
Could it be something to do with the syntax of
In the docs is says that if
does not find the selector it returns null.
Hey Dylan, as far as i Know the syntax is correct . I was following this video. youtube.com/watch?v=fCfdpM2d0vg&li...
TimeStamp : 10:00 to end of videos(7 min watch )
Im the video I see he wraps
In backticks like this
That might be it.
Ya that is known as temple string. Even i did the same
. Sorry i don't know why it's not showing here,but in my real code i have added template string only. Still it doesn't work
having the same issue here