In this lesson, you tracked down the element that made the events page scroll sideways, in three steps, and fixed its size instead of hiding the overflow.
Follow Along
The video starts from events/upcoming.html and events/events.css as you left them in Handle Content That Doesn’t Fit, plus a map of the garden that Rosa added. The map, garden-map.svg, is in the course’s sample code ZIP, next to this lesson’s files: copy it into your images/ folder. Then add the map after the Coming Up heading in upcoming.html:
events/upcoming.html
<h2>Coming Up</h2>
<figure class="garden-map">
<img
src="../images/garden-map.svg"
alt="Map of the garden: plots 1 to 24 in four rows
of six, plot 7 in yellow, and the tool shed on
the right"
width="640"
height="360"
>
<figcaption>Plots 1 to 24, and the tool shed.</figcaption>
</figure>
And add its rule at the end of events.css: