Impara l’HTML progettando una app per foto di gatti - Step 14

Tell us what’s happening:

I think my code has no problem but i’m asking for help anyway cause i can’t pass the test. Thanks!

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>Everyone loves <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/runnin-cats.jpg">cute cats</a> online!</p>

<!-- User Editable Region -->

      <p>See more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
    </main>
  </body>
</html>

Your browser information:

Lo user agent è: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0

Challenge Information:

Impara l’HTML progettando una app per foto di gatti - Step 14

Welcome to the forum

You have a typo in the URL try to copy paste it, no need to type that out

i have done exactly as you said but the code was still wrong. In the end i have just clicked the “enter” button putting the string down and it passed. Is it normal?

I’m not sure what you mean?

I put the entire “anchor” line of code under the first string, i.e. the paragraph. Before everythin was put in just one line of code, the first one as you have seen i guess.

i just wanted to know if it was normal, that’s it.

You’ll have to share the code here if you have a question about it.

<p> everyone loves  <a href="the link achored"</a> >cute cats online </p>
<a href=” the link anchored” cute cats online

(When i have done this, the code worked. So i just wanted to know why it was a problem in the first place remaining all the line of the code togheter)

NB: sorry if i made some mistake writing the code here, im still learning and i do not copy and paste.

You should copy paste it, none of this is valid code so it would not pass the test.

1 Like

I’ve edited your post to improve the readability of the code. 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 (').

1 Like

hai scritto questo link, ma non è l’esatto link che dovresti usare. per evitare errori di questo genere, prova a usare copia e incolla

questi non sono corretti, puoi usare l’elemento p con un elemento a all’interno che hai creato negli step precedenti come esempio

1 Like