Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
form 8:30 to 9:13 it is against logic and you did not even explain it
Steven Parker228,991 Points
The instructor does explain exactly what is being done. Starting at 8:30, he says:
"Finally, div elements like the list container, by default display as block-level elements.
So setting an inline display of block here seems a bit unnecessary.
So let's instead remove the inline style attribute from the list container.
You can remove an attribute from an element like style using the removeAttribute() method."
It seems very logical to remove the style element completely if you want everything to display in the default style. What about it seems "against logic" to you?
"you want everything to display in the default style." where is that default style?!!