Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Dynamic JavaScript WebPages DOM CSSGrid Create Page Elements
Rating: 4.4 out of 5(52 ratings)
5,793 students

Dynamic JavaScript WebPages DOM CSSGrid Create Page Elements

JavaScript DOM how to create page elements update style properties add events to web pages Interactive Dynamic Web
Created byLaurence Svekis
Last updated 11/2024
English

What you'll learn

  • JavaScript DOM createElements
  • JavaScript Add Event Listeners
  • JavaScript Style page elements CSS Gird
  • JavaScript dynamic page elements

Course content

2 sections7 lectures48m total length
  • Introduction to the JavaScript DOM interactive and dynamic page elements lessons1:10
  • Introduction to setting Web Developer Environment and prepare to code JavaScript4:26

    Set up the development environment with Visual Studio Code and Chrome dev tools, link a JavaScript file to HTML, and use document.querySelector to log output element to console for debugging.

  • How to Create Page Elements JavaScript DOM createElement method8:14
  • How to Add Event Listeners JavaScript addEventListener Method in DOM10:43
  • How to create a Grid with elements JavaScript Dynamic Grid maker DOM elements22:38

    Learn to build dynamic grids with JavaScript by creating and styling DOM elements, updating grid dimensions in real time, and making tiles clickable to change the page background color.

  • JavaScript Dynamic and Interactive Web Page Grid source code0:51

Requirements

  • HTML CSS and JavaScript
  • Editor experience

Description

Explore how you can use JavaScript code to create a fully responsive Dynamically created grid of page elements.  Learn more about JavaScript DOM and how you can create interactive page content with JavaScript Code

Please NOTE that JavaScript HTML and CSS are a prerequisite to this course

Included - bonus downloadable PDF resource guide with source code and links to resources.

Dynamic Web Page Grid with JavaScript - Create Elements add Event Listeners to make page elements interactive.

  • Document.querySelector() - to select page elements from the DOM

  • Document.createElement() - Create elements with JavaScript

  • EventTarget.addEventListener() - adding interaction with click events on elements created using JavaScript Code

  • Select all the page elements that were created and update the style background color

  • Add buttons that allow the user to click and reset new background colors to each page element

  • Interactive page elements when clicked will update the background color of the entire body with the random color of the element set when it was created.

Have fun with code while learning more about the Document Object Model and how you can select, create and manipulate the page elements using JavaScript code.

Taught by an instructor with over 20 years of web development experience ready to help you learn more about JavaScript.

Source code included.

JavaScript code learning made fun with step by step lessons demonstrating at the start of each lesson what will be presented in the lesson.  Take this opportunity to learn more about how to code with JavaScript.



Who this course is for:

  • Anyone who wants to learn more about JavaScript
  • JavaScript codes
  • Web developers
  • Web Designers
  • Web content creators
  • Anyone who wants to learn how to select and manipulate page elements