+ 1
Number of all HTML elements
where is the error ? element = document.createElement("div"); count = 0; for (let i in element.style) { count++; } console.log(count); console.log(element);
1 Answer
+ 3
The title should be "The number of style properties of a div element."
https://sololearn.com/compiler-playground/WO78kzA5qrsn/?ref=app