You have a p element with id "element" on your page:

<p id="element">some text</p>
How can you change the color of text to red using jQuery?

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
JavaScript quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes