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
9 reactions
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