Voltar à lição

Arquivo funcional original

worked-solution/index.html

O código e as páginas funcionais de exemplo mantêm seus identificadores e textos originais. A lição e as orientações dos arquivos explicam esses elementos no seu idioma.

<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <title>Project gallery</title>
    <link rel="stylesheet" href="style.css" />
  </head>
  <body>
    <main>
      <h1>Projects you can explore</h1>
      <nav aria-label="Page">
        <a href="#projects">Projects</a><a href="#contact">Contact</a>
      </nav>
      <section id="projects">
        <h2>Selected work</h2>
        <div class="projects">
          <article>
            <h3>A reading-club page</h3>
            <p>Find the book, meeting date and venue.</p>
            <a href="#contact">Ask about this project</a>
          </article>
          <article>
            <h3>A community garden diary</h3>
            <p>Read updates about planting and shared tasks.</p>
            <a href="#contact">Ask about this project</a>
          </article>
        </div>
      </section>
      <section id="contact">
        <h2>Contact</h2>
        <a href="mailto:alex@example.com">alex@example.com</a>
      </section>
    </main>
  </body>
</html>