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 trialSHANTANU TRIVEDI
Courses Plus Student 214 PointsjQuey code is not working.
I have typed- $(".spoiler span").hide(); $(".spoiler").append("<button>Reveal Spoiler!</button>"); just as it is instructed, but there is no change in the web page. The spoiler is still visible and no new button is appeared. However I was using chrome, so I thought of trying this on other browser. So I installed firefox and there the code is working fine. Can you help me fixing the problem on chrome as I use chrome only for all my internet need.
SHANTANU TRIVEDI
Courses Plus Student 214 Pointsyes the link of workspace is - http://port-80-7zkk1vdzag.treehouse-app.com/
Chyno Deluxe
16,936 PointsI meant if you could take a snapshot of your workspace. the link you provided is the direct link which will not work for others.
3 Answers
Gabriel D. Celery
13,810 PointsYour code is simply appending a text.
.append("Reveal Spoiler!")
In this course we were adding a button with the appropriate text.
.append("<button>Reveal Spoiler!</button>").
Since the css had the formatting for the button this might be the reason why you encountered the problem.
SHANTANU TRIVEDI
Courses Plus Student 214 PointsOh sorry it's just a typing mistake, in my workspace I have added <button> tags. I guess the problem is in my chrome browser, as it is running fine on firefox
Gabriel D. Celery
13,810 PointsAll the tutorials have the final version in the download section. Under the video. Try downloading the finished project and see if it does the same thing (eliminates the possibility of having a typo or some other error on your side in terms of coding).
Rich Braymiller
7,119 PointsI don't know why treehouse uses chrome, its awful in more ways than I can describe. It shows code I do 24% of the time!
Chyno Deluxe
16,936 PointsChyno Deluxe
16,936 PointsCan you post a link to your workspace?