Question: Create a variable named one. This variable's value should use querySelector to find the first instance of a paragraph element on the page, and save
Create a variable named one. This variable's value should use querySelector to find the first instance of a paragraph element on the page, and save the value of that element's class attribute.
Also, make sure your code allows the value of the variable to change later.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
