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

WordPress

Shane Cutts
Shane Cutts
15,107 Points

Why are we using CSS to hide header text when we could just remove it completely based on the checkbox condition?

It seems weird to still include HTML that the user will never see. Why do we use CSS to hide it rather than not include it at all?

What are you referring to? Which video?

1 Answer

Depending on how it was hidden it could be used for accessibility or a e-reader.