learn-co-curriculum / phase-0-pac-2-switch-statements

Other
1 stars 101 forks source link

Missing overview of ternary operator? #8

Open TaylorNg95 opened 3 months ago

TaylorNg95 commented 3 months ago

Canvas Link

https://learning.flatironschool.com/courses/7966/pages/selection-with-conditionals-the-switch-statement?module_item_id=665298

Concern

I might have missed something, but I do not believe there is an overview of the ternary expression. In the Canvas link I included, this was the page that provided an overview of the "switch" statement, which followed an overview of the "if" statement. This page notes that we've reviewed "if" and "ternary" as selection strategies, but I do not see an overview of the ternary expression in the course materials.

Additional Context

No response

Suggested Changes

No response

charles-rice commented 3 months ago

Thank you. The "ternary" statement is covered in the initial discussion of "if" statements here: https://learning.flatironschool.com/courses/7966/pages/selection-with-conditionals-the-if-statement

TaylorNg95 commented 3 months ago

Thanks Charles - I've been denied access when trying this link, perhaps something changed with the curriculum? This is what I am seeing on my dashboard.

if_statemetn