
Build dynamic, interactive webpages with JavaScript by creating projects from scratch, using functions and the DOM, and exploring arrays, loops, and styling.
Explore how to embed javascript in html to create simple interactive dialogs like on click alerts and hello world, and introduce prompts for user input.
Learn JavaScript dom events such as on click, on change, on mouse over, on key down, and on scroll, using input fields and alerts, with tips from dev console.
Learn to create and use JavaScript functions, organize code in external files or script tags, and call them from HTML; practice script placement and debugging with the browser console.
Explore how to create functions in JavaScript using function declarations and function expressions, compare loading and execution order, and understand when each can be called during script runtime.
Explore how JavaScript functions work, including passing parameters, handling missing arguments (undefined), and using the return statement to produce calculated values via console logs.
Explore JavaScript variables, naming conventions, and the distinction between global values and local scope, using strings, numbers, quotes, and comments to clarify code.
Create user interaction by wiring an input field to a JavaScript function using the on change event. Learn to access the value and log it to the console.
Explore how the dom lets JavaScript access and manipulate the document structure. Attach event listeners and work with the window and document objects to drive dynamic web pages.
Discover how to select a page element with document.getElementById, inspect and update its innerHTML or innerText, and distinguish between window and document in the DOM.
Learn to attach event listeners with addEventListener, handle click events, and understand capture versus bubbling phase while updating and reading dom values with getElementById, value, and console.log for dynamic interaction.
Learn how getElementsByTagName returns an array-like collection of elements, access the first item with zero-based indexing, and update values across inputs in the document object model.
Explore how arrays store multiple values in a single variable and access items by index, then compare arrays to objects and note the DOM is an object, not an array.
Learn how to create JavaScript objects with key-value pairs, access properties using dot and bracket notation, compare objects to arrays, and handle numeric keys and nested values.
Learn how to loop through all elements by tag name using a for loop, attach listeners to each item, and dynamically update or output values across the page.
Attach multiple listeners to every paragraph and output the clicked text to another HTML area, showing how to access innerHTML, innerText, and element data to build dynamic JavaScript interactions.
Explore JavaScript math fundamentals, including incrementing variables, basic arithmetic, and using the Math object for pi, random numbers, and rounding with floor, ceil, and round.
Discover how to dynamically style the page with the DOM, updating content and styles like margin, background color, and text color via click and hover events.
Create hover effects that change background and text colors using JavaScript, with setAttribute and style updates, including rgb colors and random color logic, and resets on hover out.
Explore how to manipulate the DOM by setting and swapping attributes and classes, demonstrating style updates on click and hover, and comparing style versus class-based styling.
Explore how to manipulate image attributes with JavaScript by using getAttribute and setAttribute, handling click events to display alt text and source, and dynamically updating or swapping the image.
Learn how to create new div elements with document.createElement, optionally set attributes, and append them to the page body to build dynamic JavaScript content.
Learn to create new elements, insert content, and append them to the document body with appendChild, enabling dynamic lists of text fields and add-on fields via a button.
Create a dynamic shopping list in JavaScript by typing items in a text field and clicking a button to append items to an ordered list via DOM manipulation.
Create and manage a dynamic shopping list by attaching event listeners to new items for click-to-remove. Traverse the DOM to remove items and apply hover styling with mouseover and mouseout.
Explore a dynamic DOM project that updates the page look with dropdowns and a JavaScript function. Capture onchange events, read selected values, and apply background color to the document body.
Create additional select dropdowns and dynamically apply chosen colors to the document body, moving beyond hardcoded backgrounds, by constructing and evaluating a JavaScript statement with proper quoting.
Explore how to manipulate page styles with the dynamic style object properties, setting background color, text color, font size, and padding. Test changes with code pen and console.
Bring your web pages to life with user Interaction. Create Dynamic responses using JavaScript. Web visitors are expecting more, and that's interaction with the content.
JavaScript opens the doors to being able to create amazing effects and being able to deliver that expected experience.
I'm a JavaScript developer, having worked on and created hundreds of websites. I'm going to show you how to use JavaScript to access your web page content and make it dynamic.
This course is designed for beginners who want to see real world examples. I show you how you can use JavaScript and your imagination to make amazing things online. All of the source code is included. I also share resources that are used in the course. Tips, and coding methods are also included.
In this course you will learn to make three projects from scratch, using JavaScript to create useful code snippets that can be reused in the real world.
Topics that are covered include Functions. Introduction to functions, how JavaScript compiles your code and the difference between declaration functions and expressions. Functions are so important to understand when it comes to creating interaction. They save time and can accelerate your development process. Using user input and accessing it in JavaScript. Once you get content into JavaScript you can then apply your logic to output endless possibilities.
The DOM, document object model is available and accessible using JavaScript. The DOM opens up full access to anything that the browser is able to present. Learning how to use the DOM brings your JavaScript to the next level. Accessing the DOM makes it easy to do. Learn how to access various elements, any piece of content within your webpage. Event listeners are exactly what you need to add that user interaction. There are many options with event listeners, and when used with the values you get from the web content you can really bring your content to life.
We cover how to list out objects, arrays and loops. How to update HTML and Text on your webpage dynamically. Using Math in JavaScript allows you to make calculations and even create random values.
Next we show you how to access your HTML styling and manipulate it. Bring CSS styling together with JavaScript, changing the look of your web content customized for each user. Add cool effects for your users.
DOM and accessing HTML element attributes. In this project understanding how to dynamically use JavaScript to create elements in HTML, update attribute content, and .append new elements into your HTML code. We teach you how to create a dynamic shopping list, where you can add items and even click to remove those newly created elements.