How would I remove the $ marks from this JavaScript code?

Detailed instructions on converting jQuery to JavaScript is found at:

2 Likes