Volver a la lección

02-projects/index.html

El código y las pantallas originales de productos conservan su idioma original. La lección los explica en el idioma que elegiste.

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Alex Morgan | Learning portfolio</title>
  <link rel="stylesheet" href="styles.css">
</head>
<body>
  <a class="skip-link" href="#main">Skip to content</a>
  <header class="site-header">
    <a class="wordmark" href="#main">Alex Morgan</a>
    <nav aria-label="Main navigation">
      <a href="#projects">Projects</a>
      <a href="#contact">Contact</a>
    </nav>
  </header>
  <main id="main">
    <section class="intro" aria-labelledby="intro-title">
      <p class="eyebrow">Learning by building</p>
      <h1 id="intro-title">Hi, I’m Alex.<br>I make small ideas work.</h1>
      <p class="intro-copy">I’m a software learner interested in useful websites and clear data stories. This portfolio follows what I’m learning, one project at a time.</p>
      <a class="button-link" href="#projects">Explore my projects</a>
    </section>
    <section id="projects" aria-labelledby="projects-title">
      <p class="eyebrow">Selected work</p>
      <h2 id="projects-title">Projects</h2>
      <div class="project-grid">
        <article class="project-card" data-category="web">
          <p class="project-type">Web · HTML and CSS</p>
          <h3>Weather sketch</h3>
          <p>A static weather-card layout that practices readable type, spacing, and a small-screen layout. It does not fetch live forecasts.</p>
        </article>
        <article class="project-card" data-category="web">
          <p class="project-type">Web · HTML and CSS</p>
          <h3>Reading journal</h3>
          <p>A page for sharing short book notes, built to practice meaningful headings and comfortable reading on a phone.</p>
        </article>
        <article class="project-card" data-category="data">
          <p class="project-type">Data · Spreadsheets</p>
          <h3>Study hours</h3>
          <p>A small spreadsheet exercise that summarizes a fictional week of study. It practices consistent units and checking totals.</p>
        </article>
      </div>
    </section>
    <section id="contact" class="contact" aria-labelledby="contact-title">
      <p class="eyebrow">Say hello</p>
      <h2 id="contact-title">Contact</h2>
      <p>Contact details will be added after the project section is complete.</p>
    </section>
  </main>
  <footer><p>Alex Morgan is a fictional learner. This is a portfolio practice sample.</p></footer>
</body>
</html>