Lesson 23
Controlling Flow with Conditions and Loops
What You’ll Learn in This Lesson:
How to test conditions with the
if
statementHow to use comparison operators to compare values
How to use logical operators to combine conditions
How to use alternative conditions with
else
How to create expressions with conditional operators
How to test ...
Get Sams Teach Yourself HTML, CSS, and JavaScript All in One, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.