- Home
- Free Courses
- JavaScript Basics: Make a Web Page Interactive
JavaScript Basics: Make a Web Page Interactive
Learn the core of JavaScript in five short lessons: variables, decisions, loops, functions, arrays, objects and the page DOM. Build a small working calculator and finish with a certificate of completion.
Already have a campus account? Open the course

The short version
Free, no payment details
Sign up with your name and e-mail and confirm it with a 6-digit code. There is nothing to buy.
About 60 minutes
5 short lessons and one final quiz. Your progress is saved, so you can stop and come back on any device.
Certificate of completion
Finish every lesson and score 70% or more on the final quiz. Retakes are unlimited.
Not a program
This free short course is not part of a Ucademy diploma or certificate program and gives no program credit.
What you will learn
- Explain what HTML, CSS and JavaScript each do on a web page
- Run and test JavaScript in the browser developer console
- Use variables, if statements, loops and functions to solve small problems
- Store and transform lists of data with arrays, objects, map and filter
- Select page elements, change their text and styles, and respond to clicks and typing
- Build a small calculator with input checks and fix typical bugs using console messages
Who it is for
Adults who are curious about web development, career changers exploring programming, and anyone who wants to understand how interactive web pages work. No programming experience is needed.
What you need
- A computer with an internet connection and a modern web browser such as Chrome, Firefox, Edge or Safari
- A plain text editor for the optional practice files (any editor will do)
- About 60 minutes in total, which you can split across several days
Lessons
- 1What JavaScript does: variables and values12 min
- 2Decisions, arrays and loops12 min
- 3Functions, arrays and objects12 min
- 4The DOM and events: changing the page12 min
- 5Build a tip calculator and debug it12 min
- ✓JavaScript Basics: final quizfinal quiz
Where this course can lead
Software & Web Developer Diploma
This course is a short, practical introduction. The full program goes much further: 960 hours online of full-stack development: web pages, programming, databases and team tools.
Related reading
More free technology & it courses

Safe Job Search: Phishing Basics
Learn how phishing and fake job offers work in Canada, how to spot the warning signs, and what to do if you clicked or paid. Six…
See the course →
Python Basics for Complete Beginners
Learn the core ideas of Python programming from scratch: variables, decisions, lists, loops and functions. Five short lessons and a quiz, with a certificate of completion.
See the course →
Cyber Hygiene: Protect Your Accounts and Devices
A free cybersecurity course for beginners: strong passphrases, multi-factor authentication and passkeys, updates, backups and safe Wi-Fi, using Canadian Centre for Cyber Security guidance. Five short…
See the course →Frequently asked questions
Yes. You create a free Ucademy account, take the five lessons and the quiz at no cost, and there is nothing to pay at any point.
Yes. When you finish all five lessons and the quiz, you receive a certificate of completion from Ucademy. This free course is not part of a Ucademy diploma or certificate program.
The five lessons take about 60 minutes in total, plus the quiz. The course is online and self-paced, so you can split it over several days.
No. The course starts from what a web page is made of and builds one step at a time. You only need a computer and a web browser.
You will be able to write small scripts that respond to clicks and typing, and you will have built a simple calculator with input checks. It is a first step, not a full development skill set.
No. It is a free short course, not part of a Ucademy diploma or certificate program, and it does not give program credit.
Start JavaScript Basics: Make a Web Page Interactive today
Free, online and at your own pace, with a certificate of completion.