8. display: block, inline and none
display controls how an element takes space. block elements start on a new line and fill the width. inline elements sit in the text line and take only their content width. display: none removes the element from the page entirely.
Changing display is one of the most common layout tools.
Show example
span {
display: block;
}
.hidden {
display: none;
}
✍️ Your turn
Make the .badge class display inline-block with padding of 4px.