Learn CSS Grid by Building a Magazine - Step 4

It’s only step 4 :joy:
It says the img src should be set to https://cdn.freecodecamp.org/platform/universal/fcc_meta_1920X1080-indigo.png
What did I do wrong here?

<!-- 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">
        <img scr="https://cdn.freecodecamp.org/platform/universal/fcc_meta_1920X1080-indigo.png" alt="freecodecamp logo" class="hero-img" loading="lazy">
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15

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

Link to the challenge:

Typo here src not scr

Dear lord. I think I need to go for a walk. Thanks

1 Like

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