Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
14. JavaScript Conditional Statements  || javascript logical and condition
Play lesson

Web Development Full Course - 14. JavaScript Conditional Statements || javascript logical and condition

4.0 (3)
21 learners

What you'll learn

This course includes

  • 63 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

JavaScript Conditional Statements Part 14 || javascript logical and condition || Logical Operators Conditional Statements Very often when you write code, you want to perform different actions for different decisions. You can use conditional statements in your code to do this. In JavaScript we have the following conditional statements: 1. Use " if " to specify a block of code to be executed, if a specified condition is true 2.Use "else "to specify a block of code to be executed if the same condition is false 3. Use " else if" to specify a new condition to test, if the first condition is false 4. Use " switch " to specify many alternative blocks of code to be executed

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere