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

why does my quiz stop after iget my first question right

https://w.trhou.se/c0jubom17c

when i run my program it stops after i get my first question right and get my alert thats right

2 Answers

Hi Jose,

You might want to re-indent your code. One of your closing brackets on line 66 needs to be on line 30.

Hope that helps.

KB :octopus:

are you sure its line 30 where my comment is?

Hi Jose,

Yep,

add a } in line 30 and drop the comment down a line to line 31 and dont forget to remove an } from line 66.