In this lesson you simply add placeholder content for all sections except the menu. This will expand the section div
elements. The sections will appear as one because they all share the same background color. In upcoming lessons, you use styling to make each section appear more distinctive.
Start today with easy to learn courses that quicky build your website skills!
Completed Lesson In Web Browser
Exercise Steps
In the index.html
file in your practice folder add lines 15, 18 and 21, then save.
This is the index.html file.
Each section’s div
element has an id
attribute to identify it specifically for the CSS file.
This is the site.css file. There are no changes from the previous lesson.