Graded A+
What tag would you use to create an “invisible” line break that secretly organizes text?
✔✔The `<wbr>` tag adds an invisible break opportunity, great for long strings that need
splitting.
How do you add “secret instructions” to an element without anyone seeing them?
✔✔The `data-*` attribute lets you store hidden information in elements, accessible with
JavaScript.
What tag would you use to create a “hidden treasure map” in HTML, revealing text only on
hover?
✔✔Combine the `<span>` tag with a `display: none` hover effect in CSS to reveal hidden text.
How do you create a “ghost” button that’s almost invisible until clicked?
✔✔Use a `<button>` tag with CSS styling to make it transparent, visible only on hover or click.
What’s the HTML trick to add “whispered text” that only appears if the screen reader is on?
1
, ✔✔The `<span class="sr-only">` class is used with CSS to make text readable only by screen
readers.
How would you make a text “echo” effect, where it repeats at different opacity levels?
✔✔Use the `<span>` tag and duplicate the text with CSS, layering the echo effect with `opacity`.
What tag creates a “shadow” under your text, as if it’s floating?
✔✔Use `<span style="text-shadow">` to add a shadow effect behind any text, making it look
lifted.
How can you add a “heartbeat” animation to a button in HTML?
✔✔Use a `<button>` tag with CSS keyframes to scale up and down, creating a pulsing heartbeat
effect.
How would you make text appear like “falling snowflakes” using basic HTML and CSS?
✔✔Wrap each letter in a `<span>` tag, then animate each `top` position individually in CSS to
fall down.
How do you make an “invisible wall” in HTML that blocks clicks to a certain area?
2