JavaScript Decision Programming with Nested If

提供方
Coursera Project Network
在此指导项目中,您将:

Identify situations in problem-solving where Nested If logic is required.

Demonstrate the correct use of syntax when writing a Nested If statement in JavaScript.

Write JavaScript code that uses Nested If logic to solve a business problem.

Clock2 hours
Intermediate中级
Cloud无需下载
Video分屏视频
Comment Dots英语(English)
Laptop仅限桌面

In this intermediate-level project you will examine the need to make complex decisions in programming that require Nested If statements. Using the Notepad++ editor and JavaScript embedded in HTML, you will write the JavaScript code to test a condition and then take an action based on the test result. The catch is that the action may be to test another condition and take an action based on that test result. As you develop your programming skills, the logic required will become more complex. The Nested If statement will be a great tool for you as you tackle those logic challenges. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

您要培养的技能

  • logic
  • JavaScript
  • Nested If
  • Web Development

分步进行学习

在与您的工作区一起在分屏中播放的视频中,您的授课教师将指导您完成每个步骤:

  1. Write JavaScript code to solve a problem that tests a condition and then takes one action if the condition is true and another action if the condition is false.

  2. Investigate a business problem that requires a combination of conditions be tested in order to determine the appropriate actions.

  3. Examine the JavaScript Nested If code that tests a combination of conditions to solve a problem as documented in a flowchart.

  4. Use Notepad++ to write JavaScript code that includes a Nested If statement.

  5. Write JavaScript code that solves a complex logic problem by including a compound condition within a Nested If statement.

指导项目工作原理

您的工作空间就是浏览器中的云桌面,无需下载

在分屏视频中,您的授课教师会为您提供分步指导

常见问题

常见问题

还有其他问题吗?请访问 学生帮助中心