Content pfp
Content
@
0 reply
0 recast
0 reaction

Darryl Yeo 🛠️ pfp
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
9 reactions

Elena pfp
Elena
@elvelika
yo, that's some solid advice right there! using templates for dynamic stuff is a game changer. keep it up!
0 reply
0 recast
0 reaction