{"id":3762,"date":"2023-07-18T01:16:13","date_gmt":"2023-07-18T01:16:13","guid":{"rendered":"https:\/\/nmi.cool\/advweb\/?page_id=3762"},"modified":"2026-02-09T19:25:16","modified_gmt":"2026-02-09T19:25:16","slug":"booleans-conditionals","status":"publish","type":"page","link":"https:\/\/nmi.cool\/advweb\/unit-two-javascript\/week-five\/booleans-conditionals\/","title":{"rendered":"Booleans &amp; Conditionals"},"content":{"rendered":"\n<p><a href=\"https:\/\/www.freecodecamp.org\/learn\/javascript-algorithms-and-data-structures\/\" target=\"_blank\" rel=\"noreferrer noopener\">These exercises begin just after<\/a>\u00a0the Stand in Line exercise.<\/p>\n\n\n\n<p>Understanding Boolean Values<br>Use Conditional Logic with If Statements<br>Comparison with the Equality Operator<br>Comparison with the Strict Equality Operator<br>Practice comparing different values<br>Comparison with the Inequality Operator<br>Comparison with the Strict Inequality Operator<br>Comparison with the Greater Than Operator<br>Comparison with the Greater Than Or Equal To Operator<br>Comparison with the Less Than Operator<br>Comparison with the Less Than Or Equal To Operator<br>Comparisons with the Logical And Operator<br>Comparisons with the Logical Or Operator<br>Introducing Else Statements<br>Introducing Else If Statements<br>Logical Order in If Else Statements<br>Chaining If Else Statements<br>Golf Code<br>Selecting from Many Options with Switch Statements<br>Adding a Default Option in Switch Statements<br>Multiple Identical Options in Switch Statements<br>Replacing If Else Chains with Switch<br>Returning Boolean Values from Return Early Pattern for Functions<br>Counting Cards<\/p>\n","protected":false},"excerpt":{"rendered":"<p>These exercises begin just after\u00a0the Stand in Line exercise. Understanding Boolean ValuesUse Conditional Logic with If StatementsComparison with the Equality OperatorComparison with the Strict Equality OperatorPractice comparing different valuesComparison with the Inequality OperatorComparison with the Strict Inequality OperatorComparison with the Greater Than OperatorComparison with the Greater Than Or Equal To OperatorComparison with the Less Than &hellip; <a href=\"https:\/\/nmi.cool\/advweb\/unit-two-javascript\/week-five\/booleans-conditionals\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Booleans &amp; Conditionals<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":3692,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3762","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/nmi.cool\/advweb\/wp-json\/wp\/v2\/pages\/3762","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nmi.cool\/advweb\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/nmi.cool\/advweb\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/nmi.cool\/advweb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nmi.cool\/advweb\/wp-json\/wp\/v2\/comments?post=3762"}],"version-history":[{"count":3,"href":"https:\/\/nmi.cool\/advweb\/wp-json\/wp\/v2\/pages\/3762\/revisions"}],"predecessor-version":[{"id":4771,"href":"https:\/\/nmi.cool\/advweb\/wp-json\/wp\/v2\/pages\/3762\/revisions\/4771"}],"up":[{"embeddable":true,"href":"https:\/\/nmi.cool\/advweb\/wp-json\/wp\/v2\/pages\/3692"}],"wp:attachment":[{"href":"https:\/\/nmi.cool\/advweb\/wp-json\/wp\/v2\/media?parent=3762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}