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

Darryl Yeo đŸ› ïž pfp
Darryl Yeo đŸ› ïž
@darrylyeo
https://github.com/matthewp/views-the-hard-way
0 reply
0 recast
0 reaction