
Learn basics of JavaScript to add interactivity to HTML and CSS websites. Explore data types, control flow, arrays, objects, APIs, and asynchronous JavaScript, with a path to React or Node.js.
Create a folder and index.html, then write your first line of internal JavaScript inside a script tag. Save, refresh, and see Hello world appear as an alert in the browser.
Learn to write JavaScript in an external file like script.js and connect it to HTML using a script tag with a src attribute.
Explore how to use the Chrome console to log messages with console.log, experiment with strings and numbers, and understand when to place JavaScript in external files for page load.
Learn how comments in JavaScript are written and why they don't execute, using single-line // and multi-line /* */ syntax, and how commenting aids troubleshooting and temporarily disabling code.
Declare and assign variables in JavaScript using let, var, and const, and data types like string, number, boolean, null, and undefined. Log values to the console and use camelCase naming.
discover how to create and reassign variables in JavaScript with the let keyword, assign string values using the assignment operator, and log results with console.log.
Explore creating variables with let and const in JavaScript, showing how let allows reassignment while const prevents updates, with examples like API keys and emails and console logs.
Practice string concatenation in JavaScript by combining string variables to form full names and sentences, using examples like Bruce Wayne and Wonder Woman, and preview template literals.
Explore template literals in JavaScript, using backticks and ${...} to embed variables in strings, making concise sentences like Bruce Wayne works at Wayne Enterprises and is 36 years old.
Explore JavaScript numbers using arithmetic operators such as addition, subtraction, multiplication, and division, with hands-on examples of updating ages and bank balances via console logs.
Demonstrate the JavaScript increment operator, denoted by plus plus, to increase a variable by one using age as an example. See how it simplifies code and helps in loops.
Explore the decrement operator in JavaScript and see how it reduces a variable by one, using a practical bank balance example and a glimpse into loops.
Discover how the modulus operator works in JavaScript with practical examples, showing what remains after division and how it compares to addition, subtraction, multiplication, and division.
Use the modulus operator to check if a number is even or odd in JavaScript by computing number mod 2; zero means even, one means odd.
Learn how boolean values true and false power checks in JavaScript, distinguishing booleans from strings and numbers. See console.log usage and the basics of comparison operators and simple if statements.
Explore arrays, a data collection type in JavaScript, using let and square brackets to store strings like heroes and cities, access elements by zero-based indices, and read the array length.
Discover the basics of JavaScript by exploring internal and external scripts, variables, strings, numbers, booleans, arrays, operators, control flow, and the DOM.
My name is Darragh O'Neill and I'll be your course instructor for this course 'JavaScript for Beginners - Learn the absolute basics of JS'.
I have decided to record and publish this course for free, to share my knowledge, so please consider giving this course a '5 Star Rating' as this will allow me to record additional content and cover other topics in JavaScript.
This course is intended for those starting out to learn JavaScript for the first time. It is intended to introduce students to JavaScript and in this course we will learn:
What is JavaScript
The alert keyword
Using the console
The difference between internal and external JavaScript
The 'let' and 'const' keywords
The assignment operator '=' - so assigning a value to a variable
The different data types - including working with strings, numbers, boolean
Template literals
The increment and decrement operator
This course is intended as a free course and so should only be considered an introductory course to JavaScript.
Students who wish to learn JavaScript should understand working with strings, numbers, control flow, decision making, if statements, loops, working with arrays, objects etc. It is also important to learn about APIs - Application Programming Interfaces and working with async await etc.
I hope to add additional content to the course over time. Happy learning/coding! :)