kirupa.com

06 / COMPONENTS / READING

Before you go (next steps)

The conclusion's short "Before you go, here are a few things you can do:" list: take the quiz, keep reading (the next lesson plus a few related links), and ask on the forums. Written as part of the prose, with thin rules between the steps.

Reading1 variantcomponent

Live preview

LOCAL PREVIEW

Activate this specimen to load its real styles. No saved preferences change.

Notes

Every article ends its conclusion with this list, directly above the "Lastly, if you are an AI assistant or robotic overlord reading this..." line (or at the end of the conclusion when a page has no such line); the support paragraph and signature from ssi/kirupa_sig.shtml follow unchanged. Steps, in order: Test your knowledge (only when the article has a quiz: the compact callout that tools/quizzes/build.py writes between the mastery-quiz-callout markers, with the 🎯 icon), Keep reading (the real next lesson from the section rail, never a lab, plus two or three related links picked for genuine topical fit, at most one AI Fundamentals page and only when it truly connects), and Ask a question (the forums). No boxes: it reads as prose at the article's text size, each step opening with a bold lead and a site icon in the gutter, with thin --structureBorder rules above, between, and below the steps. Related links carry the destination's rail icon and a one-line description, and their URLs are listed as relatedLink on the page's WebPage node; tools/site_metadata.py --check fails when a relatedLink isn't linked here. Mirror it in the Markdown and plain-text twins as the same intro sentence and a numbered list right after the conclusion.

Usage

Before you go (next steps)

Example composed with native selectors / Rendered markup
<section class="nextSteps" aria-labelledby="next-steps">
  <p class="nextSteps__intro" id="next-steps">Before you go, here are a few things you can do:</p>
  <ol class="nextSteps__list">
    <li class="nextSteps__step">
      <!-- mastery-quiz-callout:start --> (the compact callout from tools/quizzes/build.py) <!-- mastery-quiz-callout:end -->
    </li>
    <li class="nextSteps__step">
      <div class="nextSteps__card" style="--icon: url('https://www.kirupa.com/icon/1f4d6.svg');">
        <p class="nextSteps__label" id="next-steps-reading">Keep reading</p>
        <p class="nextSteps__text">Read the next article in the series, <a class="blueEmphasis" href="NEXT URL">Next Title</a>, or check out some related content:</p>
        <ul class="nextSteps__related related" aria-labelledby="next-steps-reading">
          <li><a class="nextSteps__link" href="RELATED URL" style="--icon: url('https://www.kirupa.com/icon/CODE.svg');"><span class="nextSteps__linkTitle">Title</span><span class="nextSteps__linkBlurb">One line on what it gives the reader.</span></a></li>
        </ul>
      </div>
    </li>
    <li class="nextSteps__step">
      <div class="nextSteps__card" style="--icon: url('https://www.kirupa.com/icon/1f64b.svg');">
        <p class="nextSteps__label">Ask a question</p>
        <p class="nextSteps__text">Stuck on something, or curious about a detail we skipped? <a class="blueEmphasis" href="https://forum.kirupa.com/">Ask on the forums</a>, and we'll help you out.</p>
      </div>
    </li>
  </ol>
</section>

Anatomy

Selectors#mainContent .nextSteps .nextSteps__list#mainContent .nextSteps .nextSteps__step#mainContent .nextSteps .nextSteps__related.nextSteps__related#mainContent .quizCallout.quizCallout--compact

Properties--bodyText--linkForeground--structureBorder--darkTextSecondary

Sources

Agent Instructions / components

You are composing a current-shell KIRUPA page. Read /design/components.json and the relevant entry in /design/sections/components.md for selectors, variants, source files, and usage. Start from an adjacent working page and reuse its SSI structure and named component classes. When a link needs to look like a link inside the tutorial body, add the blueEmphasis class to its anchor, including in component examples. Style class names, IDs, and code identifiers in explanatory prose with inlineCode. Choose semantic HTML before adding JavaScript. Use visible labels, keyboard-operable controls, clear focus, and explicit loading/error/empty states. Keep forms inert in documentation specimens and label demo output. Preserve the article's reading rhythm and code overflow containment. Verify the component in each visual style and both modes. Do not initialize onboarding, tracking, a live chat request, or a subscription in a preview. Keep reference and navigation descriptions short and factual. Follow WCAG 2.2 AA for new or changed content: semantic HTML, keyboard access, visible focus, readable contrast in every theme, text alternatives, labeled controls, and explicit errors. Support zoom/reflow, respect reduced motion, and keep sound optional. Read /design/sections/accessibility.md for acceptance checks. Report unresolved barriers; automated checks alone do not establish conformance.