Nesting form in the cat photo app

why do you not specify the entire email address even though the example shows the entire address ?

<input type="text" placeholder="cat photo URL"

 <p>Click here to view more <a href="#">cat photos</a>.</p>

 <a href="#"><img src="" alt="A cute orange cat lying on its back."></a>

 <p>Things cats love:</p>
   <li>cat nip</li>
   <li>laser pointers</li>
 <p>Top 3 things cats hate:</p>
   <li>flea treatment</li>
   <li>other cats</li>
<form action=""> 
<input type="text" placeholder="cat photo URL"
   **Your browser information:**

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

Challenge: Create a Form Element

Link to the challenge:

Hello @chefbc2k, welcome to the forum.

I don’t think I follow your question: which exactly is the email address you are referring in your question?

I think you are might referring to the url in the action attribute, correct?
If so the action specify “where the form data goes”, not the content of the form.

Imagine a login form like this one:

<form action="/login">
 <input type="email" />
<input type="password" />

The data in this case will be an email and a password, the action specify where the data is submitted so that a server can handle it.

Hope it helps :sparkles:


Make sure you close you close your input.

also the instructions don’t mention a place holder element but that is what was needed to get the correct solutions

<form action=""> <input type="text" placeholder="cat photo URL" /> </form>

the instructions say to use existing input element, not to create a new one

this one is that input element

1 Like