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 JavaScript Basics (Retired) Making Decisions with Conditional Statements The Conditional Challenge

saul bard
saul bard
7,581 Points

Looking for feedback and criticism on this challenge.

Looking for some feedback. I collected all the variables first but i see some other people did everything one question at a time. Is there an industry standard when it comes to this?

All other feedback and criticism appreciated. Here is the link to my snapshot. https://w.trhou.se/gqm0kc36kj

Thanks Saul

1 Answer

Steven Parker
Steven Parker
231,269 Points

For this exercise, the order of operations is not very important, both strategies work equally well.

That would change if the program needed to provide feedback for each answer, or if you wanted to use functions to make the program more compact. You will see examples of these concepts in future courses.

saul bard
saul bard
7,581 Points

thanks for the feedback Stephen appreciate it :)