Basic HTML code

Hello,

Please see my code below as I am stuck and I cannot get my head around what is wrong here.

Thanks

"h2>CatPhotoApp</h2>
<main>


  <p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
  <p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>

<img src="https://www.bit.ly/fcc-relaxing-cat.jpg" alt="Relaxing Cat."

Welcome to the forum!

In the future, if you use the link in the challenge it will help auto format the code for us to help! And let us know the challenge too!

I’m going to assume this is challenge: https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/add-images-to-your-website

Triple check the link you have in <img src=“..."> and make sure it matches the challenge… hint there is no file-type :slight_smile: Happy Coding

1 Like

I’ve edited your post 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.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

Note: Backticks are not single quotes.

markdown_Forums

1 Like

now that your code is correctly formatted can you make sure it matches the code in your editor? you can edit the top post to make it match

and also tell us which challenge this is and what’s going on

1 Like

you didn’t close the tag