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.

指导项目工作原理

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

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

常见问题

常见问题

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