Learn CSS Grid by Building a Magazine - Step 5

Tell us what’s happening:
Describe your issue in detail here.
Your h1 element should have the text set to OUR NEW CURRICULUM

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html lang="en">
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <link rel="stylesheet" href="styles.css" />
    <section class="heading">
      <header class="hero">
          alt="freecodecamp logo"
        <h1 class="hero-title" text="OUR NEW CURRICULUM"></h1>
        <p class="hero-title" text="Our efforts to restructure our curriculum with a more project-based focus"></p>
/* file: styles.css */

  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36 Edg/89.0.774.68

Challenge: Learn CSS Grid by Building a Magazine - Step 5

Link to the challenge:


Text is not an attribute!!! That’s the text of your h1 and p elements:

<h1>This is an h1 text</h1>
<p>This is a paragraph text</p>

Also, you need to correct the class of your p element:
 ...followed by a p element with the class set to hero-subtitle

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.