learn-co-curriculum / phase-0-pac-2-selection-with-conditionals

Other
1 stars 108 forks source link

if and else statements #5

Closed annaqharder closed 1 year ago

annaqharder commented 1 year ago

Canvas Link

https://learning.flatironschool.com/courses/6106/pages/selection-with-conditionals-the-if-statement?module_item_id=471003

Concern

The REPL example window doesn't show the if and else structure code when "Run" is pressed. It only shows "true" or "false".

Screen Shot 2022-09-21 at 4 58 29 PM

Additional Context

No response

Suggested Changes

No response

jlboba commented 1 year ago

Hello, thanks for raising this issue. If you click on the "Show files" button, you will be able to open up the index.js file to see the if/else structure.

However, I agree that initially it isn't very clear and we will look into how to immediately display the code rather than the output.

We apologize for any frustration you might have encountered during this process but thank you for helping us ensure that those who follow in your path will not! We appreciate your support! 💙