Make sure to submit the link to your lab on Canvas under lab 10 to get credit for today
A lightweight JavaScript library: "write less, do more"
Simpliflies many complex JS tasks
But does the same things!
It is referenced using the source: "jquery-3.3.1.min.js
This is a function that changes the text of the "bar" element to "hello". The HTML button would need to be given the onclick attribute.
This gives the element with id "btn" an EventListener for onclick that changes the "bar" element's text to "hello".
Click here to reach another example