Creating HTML Page using JavaScript dynamically rendered content

Published: 27 February 2023
on channel: Florin Mateescu
2,594
61

Let’s transform hardcoded HTML into dynamic content using plain javascript, no frameworks or libraries.

In this video, you will learn how to create HTML elements in Javascript from scratch and how to use existing div as a template for building other divs with their unique content.

To understand libraries like ReactJs or frameworks like Angular and NextJs, it’s critical to understand how javascript works with HTML and browsers.

⭐️ Covered in this video
how to think about converting hardcoded HTML into dynamic content using JavaScript
DOM manipulation in JavaScript
using an HTML div as a template;
cloneNode
getElementsByClassName
addEventListeners
classList.add / classList.remove

📕  Resources
addEventListeners https://developer.mozilla.org/en-US/d...
getElementsByClassName: https://developer.mozilla.org/en-US/d...
classList: https://developer.mozilla.org/en-US/d...
cloneNode: https://developer.mozilla.org/en-US/d...

👋🏼  About me
I am Florin Mateescu, Full-Stack JavaScript Developer.
My mission is to create an online hub for existing and aspiring web developers.
I help you learn programming, unlock your full web development potential, and land your dream job.

📍  Please find me on
Twitter:
  / binaryhubio  
LinkedIn:
  / florin-mateescu-binaryhub  
Instagram:
  / binaryhubio  

https://binaryhub.io

If you enjoyed this video, consider subscribing and following it on other social media platforms.


On this page of the site you can watch the video online Creating HTML Page using JavaScript dynamically rendered content with a duration of hours minute second in good quality, which was uploaded by the user Florin Mateescu 27 February 2023, share the link with friends and acquaintances, this video has already been watched 2,594 times on youtube and it was liked by 61 viewers. Enjoy your viewing!