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 trialNathan Marshall
6,031 PointsGeneral Jquery Question
So correct me if im wrong, but from what I understand appending something to the DOM should be used whenever something is interactive on a site using Jquery/Javascript? So that when we dont have Jquery/Javascript available the site the interactive feature doesnt show?
1 Answer
Steven Parker
231,275 PointsDepending on the site's purpose, you may not need to completely conceal the missing feature, but you'd want to construct the page so that if script execution was disabled, the page would still make sense.
If the missing element was of significant value to the page you might want to display something like a "Please enable JavaScript to see this page's full content" message.
Nathan Marshall
6,031 PointsNathan Marshall
6,031 PointsThank you, I just wanted to make sure that my understanding was along the right lines. This helped.