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

JavaScript

Software Singh
Software Singh
7,123 Points

Creating a Simple Lightbox some problem in last step

the last step of "Creating a Simple Lightbox" course contains two steps. After submitting first step successfully , when i reach second step and complete it it says "it seems step one in not passing." and simply goes back to step one and passes it and once again gives the same error on second step

2 Answers

We would need to see the code you are writing for each step.

Software Singh
Software Singh
7,123 Points

added '''$(this).event.preventDefault();''' in first step

Software Singh
Software Singh
7,123 Points

please just tell me if u can complete the task successfully