Video description
JavaScript is a core technology programming language of the World Wide Web with HTML and CSS. Almost all websites use JavaScript as a webpage client, often with third-party libraries. JavaScript is a multi-paradigm that supports event-driven, functional, and imperative coding with APIs to work with text, dates, regular expressions, data structures, and the Document Object Model (DOM).
This course begins with a foundation in JavaScript, covering arrays, functions, objects, events, DOM, web APIs, loops, math, date and timers, and canvas drawing. Create a video player with customized controls and a fun shape-drop game. Explore trickier concepts such as async JavaScript, scope, hoisting, and closures, before finishing two projects. Finally, you will build a small app called “Leaving so Soon” to woo visitors with an offer when trying to leave the website and a fully functional JavaScript image carousel.
By the end of the course, you will understand the concepts of JavaScript programming and advanced concepts like Async JavaScript, scope, hoisting, and closure. You can apply the concepts in project samples from a real-world scenario to understand JavaScript programming. You will be able to create apps and games using JavaScript programming.
What You Will Learn
- Learn the basics of arrays, functions, objects, events, and the DOM
- Understand the concepts of using loops and conditional statements
- Know about objects, math, date, timers, and drawing on canvas
- Explore complex Async JavaScript, scope, hoisting, and closure
- Build a working video player with fully customized controls
- Create an app called “Leaving so soon” to woo visitors with an offer
Audience
This beginner-focused course targets AI developers, web content developers, and front-end interface developers working on other platforms wanting to learn JavaScript programming. The course is aimed at those new to JavaScript or having little knowledge about JavaScript and looking for an extensive course to advance to the intermediate/advanced levels. To optimize the course, you do not require any knowledge of JavaScript; however, prior knowledge of HTML and CSS is desirable.
About The Author
Chris Dixon: Chris Dixon is a self-employed web developer teaching others through training courses. Chris offers freelance web development and training workshops on various topics, including HTML, CSS, JavaScript, Vue.js, NUXT.js, WordPress (custom theme development), Mongo/Mongoose, PostgreSQL, Express, Firebase, and Supabase. Chris is also involved in building Shopify ecommerce solutions, including custom apps and theme development. Chris has vast experience in GraphQL, Keystone CMS, and many other front-end/full-stack skills. He is additionally a regular Shopify user in creating and managing online stores and editing/creating custom liquid templates.
Table of contents
- Chapter 1 : Introductions
-
Chapter 2 : JavaScript Basics
- Where to Add JavaScript
- Async and Defer
- Working with Strings
- Storing Data with Variables
- Mixing Strings with Variables
- Datatypes: Numbers
- Datatypes: Boolean, Null, and Undefined
- Comments: Semicolons and ASI
- Operators: Assignment and Comparison
- Operators: Logical and Arithmetic
- Introduction to Arrays and Object Types
- Introduction to Objects
- Introduction to Functions
- Chapter 3 : Arrays in More Depth
- Chapter 4 : Functions
-
Chapter 5 : Events and the DOM
- What Is the DOM?
- Selecting Elements
- Changing Values and Attributes
- Changing an Element's CSS
- Creating New Elements
- Adding Elements to the Page
- Cloning and Removing Elements
- Mini Challenge: Create a New Section
- Looping with DOM Elements
- Introduction to Events
- Listening to Events
- Listening to Multiple Events and Event Data
- Event Propagation
- Running Events Once
- Preventing Default Behavior and the Passive Option
- Removing Event Listeners
- HTML Collection or NodeList?
- Mini Challenge: Create a Dark Mode button
- Chapter 6 : Time to Practice
- Chapter 7 : Loops and Conditionals
- Chapter 8 : Objects in More Depth
- Chapter 9 : Speedy Chef Project
- Chapter 10 : Math, Date, and Timers
- Chapter 11 : Drawing with JavaScript
- Chapter 12 : Finishing Touches
- Chapter 13 : Scope Hoisting Closures
- Chapter 14 : Async JavaScript
- Chapter 15 : More Practice
Product information
- Title: Modern JavaScript For Beginners
- Author(s):
- Release date: October 2022
- Publisher(s): Packt Publishing
- ISBN: 9781804618097
You might also like
video
Modern JavaScript for the Impatient
8+ Hours of Video Instruction It can be difficult for developers familiar with Java and other …
book
Modern JavaScript for the Impatient
Exploit the Power of Modern JavaScript and Avoid the Pitfalls JavaScript was originally designed for small-scale …
book
JavaScript from Beginner to Professional
Start your journey towards becoming a JavaScript developer with the help of more than 100 fun …
video
Learn JavaScript from Scratch: JavaScript for Everyone
Despite the deluge of new coding languages over the years, JavaScript continues to dominate the web. …