JS Party: JavaScript, CSS, Web Development cover image

A very !important lesson

JS Party: JavaScript, CSS, Web Development

CHAPTER

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.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner