Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialVictor Gentile
4,996 PointsRSVP Web page adding class 'responded' to listItem adds CSS in chrome but not in firefox, curious, why?
from what I can find, it looks like firefox supports pretty much all of the same things as chrome.
2 Answers
Victor Gentile
4,996 Pointsfirefox console; reference error: event is not defined. bla bla bla... character encoding of the HTML doc was not declared. I noticed on the HTML page the character encoding is not declared... was thinking maybe that may have something to do with it ???
the line of code is const checkbox = event.target; no errors in chrome... with the same HTML document... no character encoding there either.
Jacob Mishkin
23,118 PointsIf you haven't fixed the issue already, I would console.log the event to see what it is in Chrome and compare what it is in Firefox, then go from there.
Also is this in reference to the code challenge you added?
Victor Gentile
4,996 PointsI did console.log the event... multiple times... it stated that the character encoding of the HTML doc was not declared. I included character encoding in the head tag... same result... so... no... I haven't fixed the issue yet... still doing some research on google. Thanks for the response though.
Jacob Mishkin
23,118 PointsYou should post the snippet of the code you are having issues with, if not there really isn't much we can do.
Jacob Mishkin
23,118 PointsJacob Mishkin
23,118 Pointsis there any console error in firefox?