Modern alternatives to innerHTML and appendChild()

append() is a convenient alternative to appendChild().

Like appendChild(), append() appends DOM nodes to an element, but unlike appendChild(), append() accepts multiple arguments of any types. The arguments that are not nodes are converted into strings that in turn…

--

--

--

Java, JavaScript and SQL developer. Interested in data collection and visualization. Comment and disagree with my personal notes on tiny problems that I faced.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Theme park management system app, created using ReactJS, PostgreSQL and the Intellij IDE(with Java…

Screenshot of a coding project app

Results of #JavaScriptmas Challenge on Scrimba!

npm & increased the efficiencies for web/front-end designers

JavaScript Tutorial for Beginners : A Complete Guide

Creating custom element with Angular 6

JavaScript Basic API questions

Spread and Rest Operator in JavaScipt

Simple Vue.js Form Validation with Vuelidate

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Marian Čaikovski

Marian Čaikovski

Java, JavaScript and SQL developer. Interested in data collection and visualization. Comment and disagree with my personal notes on tiny problems that I faced.

More from Medium

13 Neat Tricks to Manipulate Arrays Like an Expert

Why Inline SVG Is Not Cached By Browser?

Drawing sectors and pie charts with SVG paths

NOVAS: Accelerating Svelte and Deno Application Generation.