DEV Community

Discussion on: Amazon Alexa Echo Dot in CSS, HTML and JS

Collapse
cklek profile image
Conrad Klek • Edited on

Super cool! Does [...array(79)] create an array of length 79? Also, I’ve been using createElement and appendChild - how does that differ from clone node?

Collapse
codeswaps profile image
CodeSwaps Author • Edited on

Thanks Conrad. Yep it does. To be honest there's lots of different approaches to achieve the result I was after. I am sure yours is also valid.

Here is more info developer.mozilla.org/en-US/docs/W...