Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Practice It: JavaScript Loops and Conditionals

via LinkedIn Learning

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Test your skills, find your focus, and work through problems to help you reach your next level of JavaScript development.

Syllabus

Introduction
  • Practice, try, and check your JavaScript loops and conditionals
  • Using GitHub Codespaces with this course
1. Assess Yourself
  • Choose your adventure
2. Working with Conditionals
  • If/else decision-making
  • Try it: High-deposit alerts
  • Check it: High-deposit alerts
  • Try it: Stay above zero
  • Check it: Stay above zero
  • Try it: Calculate discount offerings
  • Check it: Calculate discount offerings
  • Try it: Quadratic formula
  • Check it: Quadratic formula
  • Try it: Putting it all together
  • Check it: Putting it all together
  • The switch statement
  • Try it: Calculate days in a month
  • Check it: Calculate days in a month
3. Working with Loops
  • Using while and do-while loops
  • Try it: The Collatz conjecture
  • Check it: The Collatz conjecture
  • Try it: Playing dice
  • Check it: Playing dice
  • Try it: Calculate the break-even point of a loan
  • Check it: Calculate the break-even point of a loan
  • Try it: Simulate an express lane checkout
  • Check it: Simulate an express lane checkout
  • Using for loops
  • Try it: Calculate minimum and maximum sales
  • Check it: Calculate minimum and maximum sales
  • Try it: Indexed for loops to convert binaries into decimals
  • Check it: Indexed for loops to convert binaries into decimals
  • Try it: Use for/of to convert binary numbers to decimal
  • Check it: Use for/of to convert binary numbers into decimals
  • Try it: Build an inverted triangle
  • Check it: Build an inverted triangle
Conclusion
  • Next steps

Taught by

J. David Eisenberg

Reviews

Start your review of Practice It: JavaScript Loops and Conditionals

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.