When you enroll in this course, you'll also be enrolled in this Specialization.
Learn new concepts from industry experts
Gain a foundational understanding of a subject or tool
Develop job-relevant skills with hands-on projects
Earn a shareable career certificate
There are 4 modules in this course
If you want to take your website to the next level, the ability to incorporate interactivity is a must. But adding some of these types of capabilities requires a stronger programming language than HTML5 or CSS3, and JavaScript can provide just what you need. With just a basic understanding of the language, you can create a page that will react to common events such as page loads, mouse clicks and movements, and even keyboard input.
This course will introduce you to the basics of the JavaScript language. We will cover concepts such as variables, looping, functions, and even a little bit about debugging tools. You will understand how the Document Object Model (DOM) is used by JavaScript to identify and modify specific parts of your page. After the course, learners will be able to react to DOM Events and dynamically alter the contents and style of their page. The class will culminate in a final project - the creation of an interactive HTML5 form that accepts and verifies input.
This can be completed as the third or fourth course in the Web Design For Everybody specialization.
If you haven't use a traditional programming language before, this first week is key. Before we begin with the how, we will talk about the why, mainly why we want to use JavaScript. The main reason is that it is very easy for JavaScript to work with the DOM. And easy is always a great way to start. Speaking of starting out, it is also always more fun when our code actually does something we can see, so we will jump quickly into different ways we can generate output. It won't be flashy yet, but it will be a great way to get your feet wet with traditional programming. After that we go back to the basics of how a computer uses data. We begin with variables, expressions, and operators.
DOM Review with Object Oriented Programming•7 minutes
Newer DOM Methods•5 minutes
Output•13 minutes
Variables•9 minutes
Data Types•8 minutes
Operators and Expressions•8 minutes
Getting Started with Github•5 minutes
Downloading and Uploading Code with VSCode and Github•4 minutes
Copying Code with GitHub Codespaces•4 minutes
Uploading to GitHub Pages•8 minutes
Review: Publishing Your Site•5 minutes
9 readings•Total 42 minutes
Course Syllabus•10 minutes
Pre-Course Survey•5 minutes
Course Resources•4 minutes
"What are these deadlines?"•3 minutes
Resources•2 minutes
The Document Object Model (DOM)•5 minutes
Accessing the DOM Methods•10 minutes
Semicolons•1 minute
Trying to Create and Debug Your Own Output•2 minutes
1 assignment•Total 40 minutes
Week One Quiz•40 minutes
1 discussion prompt•Total 10 minutes
Share Your Tips•10 minutes
Week Two: Reacting to Your Audience
Module 2•3 hours to complete
Module details
If you have written HTML code in the past, hopefully you have fallen into the great habit of validating your code -- making sure that you close all of your open tags. There are other rules that you may or may not have been following as well, for instance the importance of using each id attribute only once per page. This is called writing "clean" code. The reasoning and importance of following these rules becomes clear as we begin to manipulate the different components of your webpage based on the the actions of the person interacting with your page. In particular you will learn about the JavaScript Mouse Events and Touch Events. This week's materials will end with a photo gallery example that you can create along with me.
Just a little note before the next video•3 minutes
Homework Time!!•5 minutes
Introduction to the Gamut Gallery•10 minutes
1 assignment•Total 30 minutes
Week Two Quiz•30 minutes
1 peer review•Total 45 minutes
JavaScript Interactive Photo Gallery•45 minutes
1 app item•Total 10 minutes
Homework: Optional Submission Gallery•10 minutes
Week Three: Arrays and Looping
Module 3•1 hour to complete
Module details
This week we will delve into more complex programming concepts: arrays and looping. Arrays allow you to represent groups of related information. Looping provides efficiency and flexibility to your programs. Using both we will expand upon the photo gallery example.
What's included
2 videos5 readings1 assignment
Show info about module content
2 videos•Total 13 minutes
JavaScript Arrays•7 minutes
Code With Me: Arrays•5 minutes
5 readings•Total 20 minutes
Resources•5 minutes
A JavaScript Cheat Sheet•5 minutes
Tabindex and Accessibility•3 minutes
Using JavaScript with Attributes•5 minutes
Arrays•2 minutes
1 assignment•Total 30 minutes
Week Three Review Quiz•30 minutes
Week Four: Using JS for Interactive Images
Module 4•3 hours to complete
Module details
This week is all about putting concepts together to do "cool" things. And we even stop for a second to talk about the the trade-off between cool things and accessibility. The final project this week will be a new version of your coding project in Week 2. You will make an interactive photo gallery from your own images and will add the functionality of keyboard accessibility to it.
What's included
5 videos6 readings1 peer review1 app item
Show info about module content
5 videos•Total 33 minutes
Code With Me: Randomizing Your Images Using Arrays•8 minutes
Code With Me: Using Lightbox•10 minutes
Code With Me: Looping through Images•8 minutes
Final Project Description•3 minutes
Conclusion•3 minutes
6 readings•Total 35 minutes
Resources•5 minutes
Writing loops in JavaScript•5 minutes
Advanced Coding Techniques•2 minutes
"Cool Stuff" - Friend or Foe?•3 minutes
Final Project Description•10 minutes
Post-Course Survey•10 minutes
1 peer review•Total 120 minutes
Final Project: Your Own Accessible Photo Gallery•120 minutes
1 app item•Total 10 minutes
Final Project: Optional Submission Gallery•10 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructors
Instructor ratings
Instructor ratings
We asked all learners to give feedback on our instructors based on the quality of their teaching style.
The mission of the University of Michigan is to serve the people of Michigan and the world through preeminence in creating, communicating, preserving and applying knowledge, art, and academic values, and in developing leaders and citizens who will challenge the present and enrich the future.
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."
Learner reviews
4.7
7,374 reviews
5 stars
75.71%
4 stars
18.89%
3 stars
4.17%
2 stars
0.77%
1 star
0.44%
Showing 3 of 7374
A
AK
4·
Reviewed on Sep 1, 2020
A really wonderful course to understand the basics and technicalities of JS. This course is explained in the way as simple and easy as possible. Its a good choice to enroll in this course
A
AB
5·
Reviewed on Jul 27, 2017
It's a great course to begin understand JavaScript. It gives you needed basics of JS. And Colleen van Lent is excellent teacher, she helps you in this journey called "coding with JS".
F
FF
4·
Reviewed on Feb 7, 2018
Well explained, I learned some interactivity with HTML by learning native JavaScript (was using jQuery always)... Perhaps I expected some more advanced stuff than this (like audio, video, canvas).
When will I have access to the lectures and assignments?
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
What will I get if I subscribe to this Specialization?
When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Is financial aid available?
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.