What's your preferred method for creating DOM elements in vanilla JS?
<template>
36%
`Template literals`
9%
createElement()
55%
Other
0%
11 votes · Closed
From <template>
to template literals to the classic createElement
, what technique do you prefer to use when you need to take data, create DOM elements, and insert it into the DOM somewhere?