JavaScript While Loop

제공자:
Coursera Project Network
학습자는 이 무료 안내 프로젝트에서 다음을 수행하게 됩니다.

Explain the advantages of repetition programming.

Write JavaScript code that includes a working While Loop.

Conduct testing to ensure that a JavaScript While Loop solves a logic problem.

인터뷰에서 이 안내형 체험 보여주기

Clock2 hours
Intermediate중급
Cloud다운로드 필요 없음
Video분할 화면 동영상
Comment Dots영어
Laptop데스크톱 전용

In this intermediate-level project you will examine the concept of repetition programming – also called “looping." Using the Notepad++ editor and JavaScript embedded in HTML, you will write the JavaScript code to repeat a block of program code while a particular condition is true. As you work with the While Loop you’ll begin to realize why repetition programming is one of the most important features of computing. 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.

요구 사항

Completion of Introduction to JavaScript or a basic knowledge of JavaScript and HTML is recommended.

개발할 기술

Do/While LoopJavaScript LooploopingWhile LoopRepetition Programming

단계별 학습

작업 영역이 있는 분할 화면으로 재생되는 동영상에서 강사는 다음을 단계별로 안내합니다.

  1. Examine the concept of repetition programming and describe its advantages.

  2. Experience the looping process by running a program that repeats a process.

  3. Use Notepad++ to write JavaScript code that contains a While Loop, and test the code in Chrome.

  4. Examine and test JavaScript code that includes an example of a Do/While loop.

  5. Examine a problem solution using an IF-Else statement and compare it to the Switch statement that solves the same problem.

안내형 프로젝트 진행 방식

작업 영역은 브라우저에 바로 로드되는 클라우드 데스크톱으로, 다운로드할 필요가 없습니다.

분할 화면 동영상에서 강사가 프로젝트를 단계별로 안내해 줍니다.

자주 묻는 질문

자주 묻는 질문

궁금한 점이 더 있으신가요? 학습자 도움말 센터를 방문해 보세요.