front-end-developer_1_
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Front-End-Developer - Level 1<br />
05.More Branching Practice<br />
In the More branching video, we learned:<br />
The && and the || operator<br />
The JavaScript values of truthy and falsey<br />
When to return the boolean of the condition rather than writing an if...else statement<br />
Build the following websites to practice your branching skills:<br />
A celebrity dating webpage, where you enter information about yourself, and the page<br />
suggests which celebrity you should date.<br />
A political beliefs meter that asks you questions about your values and tells you how<br />
liberal or conservative you are.<br />
Make sure you code to check for fields left blank on these pages. If you're checking multiple<br />
fields, don't just pop up a dialog box for each one - that would be annoying. Instead, add<br />
some text by the field that needs to be fixed. Bootstrap has some nice styles for this - check<br />
out their form documentation, in the last section titled Validation states.<br />
More Branching Practice<br />
130