Unit 5 ยท Traditional Lifeways
Stage 5 of 7
Unit 5 ยท Stage 5
In Stage 4 you built the Food Gathering section with three article cards. In this stage you add a second content section, Buffalo Lifeways, and give it an alternating background color so the two sections separate cleanly as the reader scrolls. Your Stage 4 page is already in the editor. Play with it, or press ๐ Type it with me to be guided. (pause on a highlighted word to see what it does)
.content-section wrapper and an .articles-grid of three cards. This stage reuses all of that and adds one new CSS class plus one new section.Your Food Gathering section sits on the warm off-white page background. If every section shares that same background, a long page blurs into one column and the reader loses track of where one topic ends and the next begins. Alternating the background of every other section fixes that.
#f5f0eb).#ede8df), close enough to feel like the same palette but different enough to read as a new area.<section>, so it stretches edge to edge, while the .content-section inside keeps the text at a comfortable reading width. This is a layout pattern used on nearly every professional site.You only need one new CSS rule. It sets a background color on any section that carries the class section-alt.
background-color: #ede8df.section-alt<section>, which spans the full width of the page, so the color reaches both edges..section-alt rule inside your <style> tag. Use the example below, then press โถ Run./* add this inside <style> */
.section-alt {
background-color: #ede8df;
}
What CSS property did you set to give the alternating section its color? Type it, then press Submit to unlock the last step.
Add this section right after the closing </section> for Food Gathering, still inside <main>. It reuses the same structure you already know, and it carries the new section-alt class.
class="section-alt" on the sectionid="buffalo-lifeways"#buffalo-lifeways nav link at the top, so clicking it scrolls here..content-section and .articles-grid</section>. Use the example below, then press โถ Run.<!-- add after the Food Gathering </section>, inside <main> -->
<section id="buffalo-lifeways" class="section-alt">
<div class="content-section">
<h2 class="section-heading">Buffalo Lifeways</h2>
<p class="section-intro">For Dakota, Lakota, and Nakota people of the northern plains, the buffalo was not a resource. It was a relative. Every part of the animal was used, and the hunt itself was an act of prayer and communal responsibility, guided by knowledge held by hunters, women, and spiritual leaders together.</p>
<div class="articles-grid">
<article>
<h3>Using Every Part</h3>
<p>Nothing from the buffalo was wasted. Hides became tipi covers, robes, and moccasins. Sinew was used for bowstrings and thread. Bones became tools, needles, and sleds. The stomach and bladder served as water containers and cooking vessels. Pemmican, made from dried meat and fat, fed people through long winters and extended travel.</p>
</article>
<article>
<h3>The Hunt as Community</h3>
<p>Buffalo hunts were organized collective efforts, not individual pursuits. Hunters, scouts, and camp leaders each had specific roles. Driving buffalo into surrounds or over cliffs required coordination among dozens of people. The meat and hides were distributed according to community need, with elders and families without hunters receiving portions first.</p>
</article>
<article>
<h3>Bison Today</h3>
<p>After near-extinction in the 19th century, bison are returning to Tribal lands through active restoration efforts. The Oceti Sakowin Oyate has worked to reestablish bison herds as part of cultural, spiritual, and food sovereignty revitalization. Several Tribal Nations in the region now manage their own bison herds and host ceremonies marking the buffalo's return.</p>
</article>
</div>
</div>
</section>
Experiment, then set it the way you like it.
.section-alt, like #e8e2d6, and press Run.class="section-alt" from the section to see how much the alternating color helps.To complete Stage 5, your page needs the .section-alt rule and the Buffalo Lifeways section using it. Press Check my work when you are ready. This opens Stage 6 and lets your teacher see that you finished.