Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
JavaScript for Beginners - Learn the absolute basics of JS
Rating: 4.7 out of 5(45 ratings)
1,133 students

JavaScript for Beginners - Learn the absolute basics of JS

This course covers the basics of JavaScript including using the console, creating a variable, different data types etc.
Created byDarragh O'Neill
Last updated 5/2025
English
English [Auto],

What you'll learn

  • We will learn the basics of JavaScript
  • We will learn how to work with strings in JavaScript
  • We will learn the Math Operators in JavaScript
  • We will learn about the increment and decrement operator

Course content

1 section18 lectures1h 53m total length
  • Introduction to JavaScript2:21

    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.

  • Internal JavaScript5:11

    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.

  • External JavaScript5:17

    Learn to write JavaScript in an external file like script.js and connect it to HTML using a script tag with a src attribute.

  • Using the Console5:55

    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.

  • Comments in JavaScript4:55

    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.

  • Introduction to Variables7:44

    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.

  • Introduction to Strings & re-assigning values to variables7:39

    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.

  • Variables Part 2 - The 'const' keyword9:32

    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.

  • String concatenation8:04

    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.

  • Template Literals8:28

    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.

  • Introduction to Numbers & Math Operators5:32

    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.

  • Math Operators Part 2 - Increment Operator6:37

    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.

  • Math Operators - Decrement Operator4:50

    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.

  • Modulus Operator7:01

    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.

  • Checking if numbers are Even or Odd3:45

    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.

  • Boolean Values9:01

    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.

  • Arrays5:49

    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.

  • Review Lecture6:06

    Discover the basics of JavaScript by exploring internal and external scripts, variables, strings, numbers, booleans, arrays, operators, control flow, and the DOM.

Requirements

  • Students should know HTML, and have a text editor such as Visual Studio Code.

Description

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! :)


Who this course is for:

  • Students who want to learn the basics of JavaScript