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 trialDarrell Conklin
Python Development Techdegree Student 22,377 PointsJavascript Not Working
Followed teachers instructions but the Code of Conduct does not toggle.
If it works fine for you and think I may have made an error here is a snapshot of my workspace.
1 Answer
Jennifer Nordell
Treehouse TeacherHi there, Darrell Conklin! You're doing terrific and you are exactly one character from making this work. It's just a typo which, unfortunately, is producing neither results nor errors. Those can be the worst to track down.
On line 49 of list_item.php
in your views
folder you will find this:
onlick="toggle
But obviously, the event is "onclick"... not "onlick"
onclick="toggle
Once I make that correction and save the changes the toggling of the CoC works beautifully!
Hope this helps!
Darrell Conklin
Python Development Techdegree Student 22,377 PointsDarrell Conklin
Python Development Techdegree Student 22,377 Pointshaha thanks