JavaScript Variables and Assignment Operators

4.8
32 個評分
提供方
Coursera Project Network
2,259 人已註冊
在此指導項目中,您將:

Describe the purpose of a variable in JavaScript.

Compare basic JavaScript data types.

Write JavaScript code to declare and assign a value to a variable.

Clock1 hour and 55 minutes
Beginner初級
Cloud無需下載
Video分屏視頻
Comment Dots英語(English)
Laptop僅限桌面

In this beginning-level project you will work with JavaScript variables and assignment operators by writing and testing JavaScript code using the Notepad++ text editor and the Chrome browser. Since variables are used as containers to hold values in JavaScript, knowing how to use them is an essential skill for a JavaScript programmer. You will learn how to create a variable, name it correctly, and use it to store a data value using an assignment operator. 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.

您要培養的技能

Data TypeJavaScriptVariablesAssignment Operators

分步進行學習

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

  1. Describe what a variable is and how variables are used in JavaScript.

  2. Write the code to declare a variable in JavaScript using correct syntax and naming conventions.

  3. Describe data types used in JavaScript and why they are important.

  4. Practice assigning values to variables using the JavaScript assignment operators.

  5. Write JavaScript code that uses a variable to collect data from a user and display it on a web page.

指導項目工作原理

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

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

常見問題

常見問題

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