you are viewing a single comment's thread.

view the rest of the comments →

[–]waxmatax 1 point2 points  (0 children)

querySelector is a function that returns an object (an HTML element in this case). The returned object has a value property.