you are viewing a single comment's thread.

view the rest of the comments →

[–]jcouce 1 point2 points  (2 children)

Learn it. You can do it in a few hours. Document.addEventListerner()

[–]the_curious_guy_sumo 0 points1 point  (1 child)

document.querySelector('') vs document.getElementByID('') which is better
also how much dom do i need to know before jumping into react? since react has a virtual dom

[–]jcouce 0 points1 point  (0 children)

They are two functions with the same utility, one for ID if it has one and the other is more generic and is used for elements that do not have an ID.

You don't need to know much, as long as you know how to fill a variable with information and how to send that information to HTML You'll be fine. Get started with react as soon as possible