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 trial
Daniel Jones
149 PointsDisplay:none not working
Hi,
I am following the Build A Simple Ruby On Rails track, on stage 2 front end development and on the lesson about adding interactivity.
In the video he creates a CSS rule to display:none but for some reason it doesn't work as the elements still display on the page. I am using a more recent version of Ruby then the tutorials but the same bootstrap css.
Any help would be great thanks.
2 Answers
Amin Ahmed khan
5,371 Pointscan you please post the markup and style
Anton Shtylman
Courses Plus Student 23,306 PointsI've actually experienced this, its a bug, something to do with the page your looking at not being the right page, as the right page is the Statuses#index page but the page your looking at is loaded from the home page. I know my wording sucks, sorry.
I fixed it by playing around with the code, eventually it worked.