Learn-css-grid-by-building-a-magazine/step-7

For some reason the date March 7, 2019 is continuing to come up as a link. I have examined my previous coding using the p element with a class attribute. Your second new p element should have a class set to publish-date, is what it tells me. In my opinion, the first p element’s coding is simple. The second p element… In no is my coding implying a link, so why is my coding being interpreted as so? What am I not seeing?

<div class="author">
  <p class="author-name">By <a href="freeCodeCamp.org" target="_blank">freeCodeCamp</a></p>
  <a href="https://freecodecamp.org</a>
    <p class="publish-date">March 7, 2019</p>
</div>

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

You dont have the ending > for your opening anchor tag. Thats supposed to go before the closing anchor tag

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