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.
En esta página del sitio puede ver el video en línea Creating HTML Page using JavaScript dynamically rendered content de Duración hora minuto segunda en buena calidad , que subió el usuario Florin Mateescu 27 February 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 2,594 veces y le gustó 61 a los espectadores. Disfruta viendo!