JavaScript in Plain English

New JavaScript and Web Development content every day. Follow to join our 3.5M+ monthly readers.

Follow publication

Member-only story

How to Remove All Child Elements of a DOM Node in JavaScript?

John Au-Yeung
JavaScript in Plain English
3 min readNov 11, 2021

--

Photo by Caleb Woods on Unsplash

Clearing innerHTML

--

--

Published in JavaScript in Plain English

New JavaScript and Web Development content every day. Follow to join our 3.5M+ monthly readers.

No responses yet

Write a response