Introduction to JavaScript Arrays

提供方
Coursera Project Network
在此指導項目中,您將:

Explain the advantages of repetition programming.

Create and populate an array with JavaScript code.

Access elements from an array using JavaScript.

Clock2 hours
Intermediate中級
Cloud無需下載
Video分屏視頻
Comment Dots英語(English)
Laptop僅限桌面

By the end of this project you will understand how data is stored in and retrieved from arrays in JavaScript. You will use the Notepad++ editor to write JavaScript code to work with arrays. In addition to creating and populating an array, you will learn multiple methods of accessing data from arrays using JavaScript code. Arrays are a great way to store multiple values of a similar type and are commonly used in programming. 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.

您要培養的技能

  • For/Of Loop
  • Arrays
  • Access Array Elements
  • Data Structure
  • JavaScript

分步進行學習

在與您的工作區一起在分屏中播放的視頻中,您的授課教師將指導您完成每個步驟:

  1. Compare examples of variables with simple values and variables that contain arrays.

  2. Write the JavaScript code to create an array and populate the array with elements.

  3. Use element indexes to access each of the elements in a JavaScript array and display them on a web page.

  4. Write a JavaScript for loop with a length property to read through the elements in an array and display them on a web page.

  5. Code a JavaScript for/of loop that reads through the elements in an array and displays them on a web page.

指導項目工作原理

您的工作空間就是瀏覽器中的雲桌面,無需下載

在分屏視頻中,您的授課教師會為您提供分步指導

常見問題

常見問題

還有其他問題嗎?請訪問 學生幫助中心