Matthew MacDonald
1 min readAug 24, 2019

--

Fair point! Even if there’s no outside input getting into my innerHTML, who knows how the code could be used/adapted in the future. I’ve revised the examples to use textContent instead.

--

--

Matthew MacDonald
Matthew MacDonald

Written by Matthew MacDonald

Teacher, coder, long-ago Microsoft MVP. Author of heavy books. Join Young Coder for a creative take on science and technology. Queries: matthew@prosetech.com

No responses yet