What is wrong?


#1



https://www.codecademy.com/courses/web-beginner-en-v6phg/1/1?curriculum_id=50a3fad8c7a770b5fd0007a1#

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


Replace this line with your code. 
$(document).ready(function() {
     $('#text').click(function() {
        $(this).addClass('highligted');
    });
    
});


What am i doing wrong?


#2

spelling


#3

Thank you so much I have been looking for a solution for a long time and i didn't know it was so simple


#4

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