
learn how to declare and use variables in JavaScript with let and const, assign numbers and strings, perform arithmetic and string concatenation, and apply camel case to form full names.
Explore strings in JavaScript, learning how string objects store and manipulate text with properties like length and methods such as startsWith, endsWith, includes, indexOf, substring, and slice.
Explore how to define and call functions in JavaScript, pass parameters, return values, and reuse code, with examples like degrees to radians and miles to kilometers using toFixed formatting.
Install VS Code, clone the course resources, and set up the project folders to access the JavaScript lessons, then use the live server to view index.html.
Explore JavaScript conditions, learning if-else logic, boolean expressions, and switch statements to control program flow. Build practical examples with comparisons, the conditional operator, and day-based logic.
Create and manage arrays with const and square brackets, and access items by index. Use a months array and a month function that returns the current month name with getMonth.
Learn how JavaScript objects replace many variables with a single data structure of name-value pairs, then generate NPC objects with power, weapon, strength, and damage.
Learn how to define JavaScript classes with constructors, this, and getters, then model points and rectangles with properties and methods like area, move, and overlap tests.
Learn how to organize JavaScript with modules by exporting and importing point and rectangle classes, using relative paths, and fixing scope errors to reuse code and keep files tidy.
Explore scope in JavaScript by comparing global and local variables, this binding, and block scope, with hands-on use of template strings, try-catch, and a mouse move event.
Explore how to use the JavaScript math object to compute distances and angles between two-dimensional vectors, convert radians to degrees, and animate with sin, cos, and atan2 using requestAnimationFrame.
Load JSON data into a web app using fetch and promises, parse arrays and objects, and use forEach and reduce to find the largest and smallest planets by radius.
Have you always wanted to learn the JavaScript language but didn’t know where to start? JavaScript is the most popular programming language in the world and there is a worldwide shortage of good programmers. JavaScript programmers in the US typically enjoy a six figure salary. In this course I teach JavaScript from the foundations, taking a modern approach to the language including modules and classes. Don’t worry if you haven’t the faintest idea what a module or a class is, that’s what the course is for! Because all browsers use JavaScript you already have the necessary tools to get started. After the first 3 lessons I'll show you how to install and setup the free code editor VSCode to continue with the course. You'll even get a free e-book that will help you as you complete the course.
I’m Nik Lever and I’ve been developing web apps for over 25 years. I know that trying to get started with programming can feel a little bit daunting - and so I am here to make that process easier for you. I've taught over 30,000 students.
Try and complete one lesson a day and you will have the basic building blocks necessary to make many web applications. In just two weeks you will have taken the first steps to entering the industry and enjoying a rewarding and fulfilling career.
What students say:
"This course really does start from the beginning. Just what I need. Great course so far!"
"A quick introduction to JS and coding, Is well explained and without wasting any time."
"Excellent pace and exercising! I had to quickly learn JS and this was the best tool to do that!"
"This is really good basic JS course. I can recommend this for all the beginners around the world."
"Your teaching method is a lot more interesting than what I've been receiving in my school. I finally understand about Json as well as revise my fundamental knowledge. Thank you."
"The instructor is very clear and concise with his information. It is easy to follow along and to learn the material!"
"Great introduction to JavaScript by a great instructor!"
"A good rundown to summarize what a student needs to learn about the basics of javascript!"
"It is a very good introduction to JS basic functioning, syntax and structure!"
"No waffle. Clear instructions. The instructor started with an example, 'The quick brown..' and methodically built the learning upon the same example."