Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Start with Javascript (2021)
Rating: 4.2 out of 5(217 ratings)
13,738 students

Start with Javascript (2021)

Basic JavaScript course for everyone in 2 hours
Created byGuillaume Duhan
Last updated 3/2021
English

What you'll learn

  • Learn JavaScript fundamentals
  • Display elements in DOM with JS
  • Understand variables
  • Use conditions with if/else
  • Manipulate operators
  • Boolean logic
  • Declare functions & trigger them
  • Create, access & modify arrays & objects
  • Manipulation of arrays & objects
  • Use of loops
  • Use of native functions of JS: filter, map, foreach...
  • Promises, async & await
  • ES6/ES7 from the beginning: arrow functions, destructuring, spread operator (ES2020)...

Course content

1 section22 lectures1h 54m total length
  • Introduction4:20

    Discover how to set up JavaScript development with a browser and Visual Studio Code, create an index.html file, write and view your first script in the browser console.

  • HTML & JS5:33

    Write your first JavaScript file, link it to an HTML page with a script tag, and explore alert and console.log to display messages and debug code.

  • What are variables?5:38

    Learn how to declare variables in JavaScript using var, assign memory locations, and store data types like strings, numbers, arrays, objects, and booleans, with examples in the console.

  • Assignment of variables4:51

    Learn how to declare and assign variables in JavaScript, reassign values, and manage objects versus strings as your code runs from top to bottom.

  • Basic operations5:17

    Master basic operations in JavaScript by creating variables like oranges and bags, performing arithmetic, concatenating with strings, and checking booleans via equality checks and string case sensitivity.

  • Array: create, access, modify & remove5:18

    Learn to create, access, modify, and remove JavaScript array elements using push, index access, shift, and pop, with practical fruit examples.

  • Object: create, access, modify & remove7:09

    Learn to create and modify objects in JavaScript by defining nested properties, accessing via dot and bracket notation, updating values, adding keys, and deleting properties.

  • Functions5:30

    Explore declaring and using JavaScript functions as variables, passing arguments, and performing calculations (such as price with a percentage), enabling reusable action blocks.

  • Display HTML with JS6:00

    Learn to manipulate the DOM with JavaScript by creating elements, text nodes, and dynamic updates using document, window, and event triggers.

  • What is return?4:11

    Learn how the return statement outputs a value from a function, such as a price with a dollar prefix, stops execution, and shows that code after return does not run.

  • What is scope?2:46

    Explain JavaScript scope by contrasting local variables inside a function with global variables, showing why percent becomes undefined outside its block and how to access it globally.

  • What are conditions?5:53

    Implement JavaScript conditions using if, else if, and else to format prices by currency, returning dollars or euros, or a default for unknown currencies.

  • Create a button that display elements in DOM2:51

    Learn to create a dynamic button and paragraph in the DOM using document.createElement and createTextNode, then use an event listener to show or hide content based on a condition.

  • Use of hasOwnProperty & indexOf4:43

    Learn to use hasOwnProperty and indexOf to check an object's own properties and dynamically add them, with indexOf returning 0 when present and -1 when absent.

  • Loops3:15

    discover how loops in JavaScript repeat actions, using a for loop to increment age from 32 to 82 while logging each step and updating a counter.

  • ForEach, filter & map6:28

    Develop practical skills with forEach to iterate and extend a persons array, use filter to find matches, and apply map to add city Paris and age everyone by one year.

  • Basic usage of for loop in HTML2:41

    Use a for loop to iterate over an array of persons, extract each name and age, and render them into the HTML template dynamically in the DOM.

  • Build a search filter7:54

    Build a live search filter in JavaScript for a list of people by typing in an input, capturing value, filtering results, and displaying them in the page using DOM manipulation.

  • What are factories functions?6:23

    Create factory functions in JavaScript to dynamically build person objects with name, age, and city, using arrow syntax and implicit returns, and manage object properties with methods like setName.

  • What are promises?8:23

    Learn how promises in JavaScript wait for actions, use resolve and reject to signal success or failure, and chain then, catch, and finally to handle results and errors.

  • ES6 & ES7: new JS features8:40

    Explore the evolution of JavaScript with ES6 and ES7, learning let and const, arrow functions, includes, destructuring, object keys and values, and the spread operator.

  • Thank you!0:32

    Express gratitude for completing the course and invite students to stay in touch, share work, and connect on LinkedIn with Githongo to hear how they reach their goals.

Requirements

  • No coding experience necessary
  • Basic knowledge of HTML but not necessary
  • Browser & code editor installed but i'll show you the first lesson

Description

Do you want to learn JavaScript?
Are you a beginner in web development?
Do you want to have JS basics and then learn JavaScript framework (like React, Vue, Angular...)?
Or you would like to improve your minimum skills in less than two hours?

You are on the right course!

My name is Guillaume Duhan. As a Senior Front-End Developer and Tech teacher since 10 years now, I can assure you that JavaScript is the most popular language right now in web development.

This is why I propose you to spend this next 2 hours together to learn basics JavaScript. The main idea of this course is not to enter deep in JavaScript but just to learn the basics that JS Developers are using 85% of their time. So if you want to bootstrap your JavaScript level in 2 hours, this course is absolutely for you.

What is JavaScript?

A high-level definition

JavaScript is a scripting or programming language that allows you to implement complex features on web pages — every time a web page does more than just sit there and display static information for you to look at — displaying timely content updates, interactive maps, animated 2D/3D graphics, scrolling video jukeboxes, etc. — you can bet that JavaScript is probably involved. It is the third layer of the layer cake of standard web technologies, two of which (HTML and CSS) we have covered in much more detail in other parts of the Learning Area.

  • HTML is the markup language that we use to structure and give meaning to our web content, for example defining paragraphs, headings, and data tables, or embedding images and videos in the page.

  • JavaScript is a scripting language that enables you to create dynamically updating content, control multimedia, animate images, and pretty much everything else. (Okay, not everything, but it is amazing what you can achieve with a few lines of JavaScript code.)

What are we going to learn in this course?

In my opinion, JavaScript is a major programming language in tech ecosystem. If you want to code in JavaScript, you have to answer these questions:

  • What is JavaScript?

  • How does it interact with HTML?

  • What are variables?

  • What is assignment?

  • How to create my first operations?

  • What are Array & Objects?

  • What are Booleans?

  • How to create functions?

  • What is return and how to use it?

  • Explanation of scope, what are the most commons errors?

  • Use of JavaScript native features: loops, filter, map...

  • What are promises?

  • What ES6/ES7 provides as new features of JavaScript?

We will answer these question by practicing JavaScript in our code editor and browser. I decided to list the 20 most important points to know if you are/aim to develop in JavaScript. These points are my program.

  1. At the end, you'll have a strong understanding of basics. This will help you to go deeper into JavaScript by learning another framework (React, Vue, Angular...). So if you are ready, let's go !

Who this course is for:

  • beginner