6. please help... what's wrong with this?


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>
I tried zoom in and refresh… it’s not working

``` Highlights
I'm highlighted!
Highlight me, too!
```
$(document).ready(function() {
$('#text').click(function() {
$(this).addClass('highlighted');
});
});


#2

Could I see your HTML pls


#4

Your code works fine on my side… When the preview pops up are you clicking on the text ?


#5

yes… it’s not working


#6

Try switching browsers, what error are you getting ?


#7

it’s not working also…


#8

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


#9

I have tried your code on another browser and account no error’s


#10

please help me


#11

it suddenly worked… thank you man!!!


#12

See one you press save and submit you need to click on the #text, which is your div wait a few seconds see it get highlighted then close preview and you will manage to pass


#13