Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
JavaScript Basics made easy for beginners
Rating: 4.5 out of 5(1,136 ratings)
13,249 students

JavaScript Basics made easy for beginners

Quick start to learning JavaScript for beginners, explore how to write JavaScript with script examples and exercises
Created byLaurence Svekis
Last updated 11/2024
English
English [Auto],

What you'll learn

  • Explore how to build web applciations
  • Add JavaScript to Web pages

Course content

3 sections38 lectures3h 38m total length
  • Quick Start to JavaScript Coding4:33

    Learn the basics of JavaScript, from data types and variables to DOM interactions and functions, through hands-on practice building an interactive input form and dynamic arrays.

  • Project Preview2:13

    Preview the project we'll build. Learn core JavaScript basics—arrays, objects, data types, and functions—plus debugging and using the included source code to create your own app.

  • Intro to JavaScript DevTools3:45

    Explore JavaScript basics and learn to use Chrome dev tools to inspect HTML, add JavaScript to pages, and view console output within the browser.

  • adding JavaScript to HTML pages10:05

    Learn how to add JavaScript to HTML pages using inline attributes, script tags, and external files, and use console.log to communicate from JavaScript to the browser when users click buttons.

  • Commenting Console log JavaScript5:14

    Learn to use console.log and dev tools for debugging JavaScript, view outputs in the console, and add comments to explain and annotate your source code.

  • Variables in JavaScript8:36

    Learn how to use variables in JavaScript by storing strings, numbers, and booleans, checking types with typeof, and applying naming rules like camelCase and valid variable names.

  • Data types Null undefined JavaScript3:52

    Explore JavaScript data types, including strings and numbers, and distinguish not defined from undefined, plus null. See how declaring and assigning variables changes their values and types.

  • Document Object Model DOM JavaScript10:00

    Explore built-in JavaScript interactions with alerts and prompts, write to the document, and manipulate the DOM via getElementById, innerHTML, and innerText.

  • Code Exercise3:09

    Write a JavaScript file that prompts for a name and shows a welcome message on the page. Learn variable declaration, prompt usage, selecting an element by id, and string concatenation.

  • Source Code exercise 10:07
  • JavaScript Operators9:15

    Explore JavaScript operators, including assignment, arithmetic, modulus, and string concatenation, with practical examples using variables like a. Learn increments, decrements, and how the console evaluates expressions.

  • JavaScript conditional operators4:18

    Explore JavaScript conditional operators by comparing values with equality, relational, and logical operators; learn how booleans and type-aware comparisons affect true/false results, paving the way to conditionals and functions.

  • JavaScript Functions9:39

    Explore how JavaScript functions boost control over code by wrapping logic, passing arguments, and returning values, with practical examples using alerts, prompts, and on click events.

  • JavaScript Advanced function8:19

    Explore advanced functions in javascript, including type checks for strings, early returns, anonymous functions, and understanding global versus local scope.

  • JavaScript Condition statements6:35

    Explore how to use conditionals in JavaScript to control program flow with if and else statements, wire prompts and questions, and handle various input values.

  • Source Code0:19
  • JavaScript get input value4:39

    Learn to get input values in JavaScript by creating a text input with an id, sending its value to a function, and displaying it in the output.

  • JavaScript Switch statement5:52

    Explore the switch statement in JavaScript, using cases, breaks, and a default to evaluate an expression, wrap it in a function, and return the result.

  • Exercise Create Canned responses to users input2:23

    Learn to build a simple input-and-button flow that sends user input to a function, retrieves canned responses from the server, and displays the matched reply or a default message.

  • Exercise 2 Source Code Canned Response0:17
  • For loops working with numbers10:56

    Explore how for loops in JavaScript work with numbers, building output and preventing infinite loops by defining start, end, and numeric conversion with Number.

  • More Loops JavaScript5:04

    Explore for, while, and do-while loops in JavaScript, set starting points and increments, prevent infinite loops, and use break to exit when conditions like a > 20 occur.

  • Source Code loops0:31
  • JavaScript Arrays10:49

    Discover how JavaScript arrays hold multiple values under one variable, access by index and length, and use push, pop, shift, unshift, splice, sort, and compare to objects.

  • JavaScript Objects examples5:53

    This lesson demonstrates JavaScript objects containing name-value pairs, accessing data by property names, and adding or updating properties—like capital, population, and dynamic costs—using dot or bracket notation.

  • JavaScript Math Object3:34

    Learn to use the JavaScript math object to generate random numbers and control rounding with math floor, math ceiling, and math round, producing 0–99 or 1–100 results with math random.

  • JavaScript Random Canned response values from array11:05

    Learn to build a dynamic canned response system in JavaScript by creating a random item picker from an array, with a function to add new responses and update the array.

  • Project Source Code0:32

Requirements

  • Basic HTML
  • Computer Knowledge
  • Internet understanding

Description

Explore what you can do with JavaScript

Make your web pages interactive, use JavaScript to apply logic and create amazing things online.

JavaScript is the language to use for creative and interactive content online.  

Within the course explore how JavaScript can be used within web design to add interaction.  JavaScript programming is a great skill to develop and learn.   Explore the fundamentals you need to build JavaScript applications and create web interactions. 

Within the course we cover

  • the tools to get started to write JavaScript
  • Writing code
  • JavaScript data types
  • JavaScript Functions
  • Loops with JavaScript
  • Arrays and Objects
  • JavaScript Methods
  • Creating a canned message application from scratch
  • exercises to practice what you learned
  • source code to get started quickly
  • examples and samples of JavaScript
  • Much more

Learn the JavaScript concepts used for web applications, user interfaces and how dynamic webpages can be created. 

Taught by an instructor with over 18 years of real world web development experience.  I'm here to help you learn JavaScript and ready to answer any questions you may have.

Who this course is for:

  • Web developers
  • Web designers
  • Anyone who wants to make interactive websites
  • Anyone whoswants to learn more about using JavaScript