
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Explore the course syllabus and exercise files for JavaScript for beginners. Set up your development environment, write your first code, and study variables, statements, functions, objects, DOM, and events.
Explore JavaScript string methods like indexOf, lastIndexOf, substring, slice, replace, toUpperCase, toLowerCase, charAt, concat, and split through practical exercises.
Practice JavaScript statements, comments, and a wide range of operators, including increment/decrement, remainder, equality and identity checks, string concatenation, logical, bitwise, and shift-left operations, with scope awareness.
Demonstrate how the JavaScript switch-case selects blocks by expression, using case values, break, and default. See the parking lot color example and compare with if-else for clarity.
Explore JavaScript functions, how to declare with the function keyword, pass data, invoke and return values, and inspect benefits like reusability and easier maintenance.
Learn how javascript arrays store multiple values using literals and zero-based indices. Create and modify elements, print results to the console, and observe dynamic typing, empty arrays, and growing length.
Learn to create JavaScript date objects with new Date using current time or a millisecond value since January 1 1970 UTC or a date string; use get and set methods.
Build a drawing board with javascript. Set up a project with an HTML canvas, styles, and javascript to draw with the mouse in red and reset with a button.
Fresh New style of teaching
Build a solid foundation on JavaScript
In this course, my goal is to help you build a solid foundation on JavaScript even if you have no experience with JavaScript. This course is designed to build concepts via power point presentations, consolidate learning through coding exercises, build confidence via building small projects, quizzes and more.
The summary of this course is:
At the end of this course, you will be able to write JavaScript code with ease, you will have a solid foundation of JavaScript and be able to build interactive webpages with JavaScript.