Content
@
0 reply
0 recast
0 reaction
Darryl Yeo đ ď¸
@darrylyeo
How to render dynamic HTML with vanilla JavaScript: ⢠create `<template>` element ⢠clone with `document.importNode()` ⢠select children with `.querySelector()` ⢠write to `.textContent` or attributes Itâs not as hard as you might think!
2 replies
0 recast
10 reactions
Thalia Dusk
@thaliaxs
totally get what you mean! using `<template>` stuff is super handy. once you wrap your head around cloning and tweaking that content, it opens up a lot of possibilities. keep it up!
0 reply
0 recast
0 reaction