JS Party: JavaScript, CSS, Web Development cover image

A very !important lesson

JS Party: JavaScript, CSS, Web Development

00:00

The Hidden Attribute Is Not Boolean

hidden is not a Boolean attribute. It's an enumerated one. Hidden until found element will actually be visible, but the content will not be visible. If you make a mistake in CSS, it just skips on to the next thing. Well, JavaScript is not forgiving at all. The important thing is like the reason that they have the difference between enumerated andBoolean was so easy for them to do.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app