6/14 Adding and Removing Classes?


$(document).ready(function() {
$('.text').click(function() {

Oops, try again. It looks like your #text doesn't have the class .highlighted. Check the Hint if you need help!


Hi Telos,

Take a close look at your code:


versus the error message you're getting:


Can you spot the problem now?


You need to select $('#text'), with a hash sign (#), rather than $('.text'), with a dot (.) on line 2 :slight_smile:


This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.