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.
JavaScript Variables and Assignment Operators
Taught in English
Instructor: Judy Richardson
2,837 already enrolled
Included with
Guided Project
Recommended experience
(50 reviews)
What you'll learn
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.
Skills you'll practice
Details to know
Add to your LinkedIn profile
Guided Project
Recommended experience
(50 reviews)
See how employees at top companies are mastering in-demand skills
Learn, practice, and apply job-ready skills in less than 2 hours
- Receive training from industry experts
- Gain hands-on experience solving real-world job tasks
- Build confidence using the latest tools and technologies
About this Guided Project
Learn step-by-step
In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:
Describe what a variable is and how variables are used in JavaScript.
Write the code to declare a variable in JavaScript using correct syntax and naming conventions.
Describe data types used in JavaScript and why they are important.
Practice assigning values to variables using the JavaScript assignment operators.
Write JavaScript code that uses a variable to collect data from a user and display it on a web page.
Recommended experience
Completion of Introduction to JavaScript or some exposure to basic JavaScript is recommended.
5 project images
Instructor
Offered by
How you'll learn
Skill-based, hands-on learning
Practice new skills by completing job-related tasks.
Expert guidance
Follow along with pre-recorded videos from experts using a unique side-by-side interface.
No downloads or installation required
Access the tools and resources you need in a pre-configured cloud workspace.
Available only on desktop
This Guided Project is designed for laptops or desktop computers with a reliable Internet connection, not mobile devices.
Why people choose Coursera for their career
Learner reviews
Showing 3 of 50
50 reviews
- 5 stars
78%
- 4 stars
22%
- 3 stars
0%
- 2 stars
0%
- 1 star
0%
New to Mobile and Web Development? Start here.
Open new doors with Coursera Plus
Unlimited access to 7,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription
Advance your career with an online degree
Earn a degree from world-class universities - 100% online
Join over 3,400 global companies that choose Coursera for Business
Upskill your employees to excel in the digital economy
Frequently asked questions
By purchasing a Guided Project, you'll get everything you need to complete the Guided Project including access to a cloud desktop workspace through your web browser that contains the files and software you need to get started, plus step-by-step video instruction from a subject matter expert.
Because your workspace contains a cloud desktop that is sized for a laptop or desktop computer, Guided Projects are not available on your mobile device.
Guided Project instructors are subject matter experts who have experience in the skill, tool or domain of their project and are passionate about sharing their knowledge to impact millions of learners around the world.