
Master the DOM and learn how JavaScript uses the Document Object Model to manipulate HTML through its properties and methods, with practical tips for consistent practice.
Download the reference files and code along from scratch with me to learn by practicing, build projects, and prepare for the final course project.
Explore editors, video quality, and the Udemy interface through a practical walk-through, covering settings, playback controls, captions, transcripts, and course resources.
Explore the document object model (DOM) and how it describes HTML structure as a DOM tree, with nodes, parents, children, and siblings, accessible via API for CSS and JavaScript.
Navigate browser developer tools to inspect the DOM, edit elements, and run scripts, using keyboard shortcuts and docked views. Compare DOM with the page source, adjust styles, and simulate states.
Master chaining and querying the dom to find and modify inputs and navigation links using querySelector and querySelectorAll, and practice changing href and class attributes.
Access all forms with document.forms, target the first form to modify inputs and placeholders, and practice vanilla javascript to style and interact with form elements.
Learn to inspect and manipulate DOM nodes using node properties such as node name, value, type, and attributes, and access and modify elements in the browser console.
Master the DOM traversal by using properties like childNodes, parentNode, firstChild, lastChild, and nextSibling to navigate up, down, and across the node tree.
master the dom traversal by filtering out text nodes and focusing on element nodes using firstElementChild, lastElementChild, and previousElementSibling and nextElementSibling.
Learn to work with attributes in the DOM using methods like getAttribute, setAttribute, hasAttribute, and removeAttribute to inspect, modify, and manage element classes and other attributes.
Master managing element classes in the DOM with the class list: add, remove, toggle, and check for classes, while considering length and browser support.
Explore manipulating the DOM and HTML in the document by reading, replacing, and inserting HTML using innerHTML, outerHTML, and insertAdjacentHTML with beforebegin, afterbegin, beforeend, and afterend.
Learn to create dom elements, build a list item with an anchor tag, set href and class, append it to a nav bar, and style its background and color.
Master precise dom insertions by creating a list item and anchor tag, then insert the element at a chosen position using insertBefore in the navigation.
Learn to clone DOM elements and clone nodes with or without child nodes, create a link from an old one, and append it to nav bar after updating its text.
Learn to replace nodes by selecting nav bar elements, creating a new list item, and using replaceChild to swap an existing element, leveraging createElement and appendChild for updates.
Kick off a hands-on javascript project by styling with code, creating elements, and moving images across the page with a library, including a background that follows the window.
Set up the project by creating a dedicated folder, wiring index.html, css, bootstrap, and starter scripts, then link assets and prepare a bootstrap masonry grid for a foundation.
Activate the Masonry plugin to power the photo gallery in the project, configure its options including the item selector and animation, and verify the gallery works as you add elements.
Set up a self-executing script that runs when the document loads, selects car image elements, and attaches a click event listener to report the event target.
Click an image to trigger a dynamically created overlay and append it to the body, then style it for a translucent backdrop and image popups in the next lecture.
Style the overlay with absolute positioning, top: 0, and a translucent rgba background, then set the cursor to pointer to enable hover feedback.
Size the overlay by using the window inner width and height, applying them as pixel values to the overlay's width and height, then adjust opacity for a darker backdrop.
Create and display the image inside the overlay by obtaining the image source, constructing the image element, and wiring a pop-up image for the click-driven overlay.
Style the image with a simple block layout, set width to 50 percent, center it with margins, overlay the popup image on the body, and enable click-to-dismiss to hide overlay.
Add a click event to the overlay image to remove it when clicked. Align the overlay to follow window scrolling and plan a scroll listener to resize it.
Add a scroll event listener to make the overlay follow the page, using page offset and page y offset to position it, and handle resize to adjust width and height.
Master responsive overlays that resize with the window, using 100% width of the root element and dynamic inner width calculations, with tips for styling and event handling.
Are you a new JavaScript developer with basic understanding of the language?
Then this is course is for you
Are you looking for a refresh on JavaScript?
Then this is course is for you
Are you looking to increase your overall knowledge of JavaScript?
Then this course is for you and it for sure add some more knowledge to your existing one.
The JavaScript DOM is the big daddy in JavaScript and if you don't know it well, you will not be that effective when manipulating elements in your application.
The DOM stands for Object Document Model and it is a representation of your HTML document. The browsers grab the HTML and give it super powers by adding objects, methods and properties so that developers like you and me can access and manipulate elements.
The more you know about the DOM, the more features you will be able to create for your application. The more jobs will available for the take, the more projects you can create.
Mastering the DOM will take your javaScript skill to another level. Knowing how to use the DOM will allow you to be more creative with you apps.
Reasons to take this course!
There many more reasons why you should take this course but let me give the last one, my students are happy with the courses and their instructor, look at some of the reviews I get in my other Javascript course
--------------------------------------------------------.
Byran Otieno
This is one of the VERY best instructor i have ever encountered! I have taken his other courses and they are just super! I have learnt javascript from other instructors but they are not as clear as Edwin's. I have enjoyed all his courses and although am not a beginner in JS,I do enjoy his course as a refresher alot! Thank you Edwin
--------------------------------------------------------.
Theodore Steiner
Edwin Diaz is, bar none, the best teacher I have come across yet while taking a Udemy course
--------------------------------------------------------
Mrs. Christine Lee
I love the energy and happiness of Edwin Diaz's classes. He is one of the first instructors I search for when need to brush up or learn something new.
--------------------------------------------------------
Aishwarya Sharma
The enthusiasm a student gets from instructor really matters and this was the most energetic and enthusiastic course I ever had. Really the energy level of instructor is appreciable.