Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
<h2>CatPhotoApp</h2>
<main>
<p>Click here to view more <a href="#">cat photos</a>.</p>
<a href="#"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
<p>Things cats love:</p>
<ul>
<li>cat nip</li>
<li>laser pointers</li>
<li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
<li>flea treatment</li>
<li>thunder</li>
<li>other cats</li>
</ol>
<form action="https://www.freecatphotoapp.com/submit-cat-photo">
<input type="text" placeholder="cat photo">
</form>
</mainc
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.82 Safari/537.36
Challenge: Create a Form Element
Link to the challenge:
You have tow problems.
First, the error message says:
The existing input
element should be nested within a form
element.
Your input element is this:
<input type="text" placeholder="cat photo">
This was the original:
<input type="text" placeholder="cat photo URL">
You’ve changed it. So it is not longer the “existing input
element”. You need to chang it back.
Your other problem is at the end:
</mainc
You have a typo there.
When I fix those two things, your code passes for me.
Olá, @baschiavetto33 . Boas-vindas ao fórum do freeCodeCamp. Movi este post para a seção do português do fórum em função do título. Espero que não seja um problema para você. O problema a que se refere este post foi resolvido? Acredito que com a ajuda do colega em inglês, você já tenha feito o código passar nos testes para essa lição. Caso precise tirar mais alguma dúvida, fique à vontade de fazer suas perguntas em português que ajudaremos no fórum. Boa programação para você.
Olá, o problema foi resolvido sim. Agradeço pela atenção , obrigadooo
1 Like
system
Closed
August 17, 2022, 1:34am
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.