Add Placeholder Text to a Text Field!

Tell us what’s happening:
Describe your issue in detail here.

I’m not sure what im doing wrong but I have tried everything and still not working

  **Your code so far**

<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>
<input type="text">
<input type="text" placeholder=" cat photo url ">
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36

Challenge: Add Placeholder Text to a Text Field

Link to the challenge:

You have two inputs one of them is inside the main tag and the other is outside of the main tag. Get rid of the input that is outside your tag

Also get rid of the white space between the quotes and your text. And make sure that you follow their capitalization of what the cat photo text should be


You were tasked with adding placeholder text to the existing input element, not with creating a new one.
On a side note, you’d want your input element inside the form element.

1 Like

you dont need to make a new input, you just need to put a placeholder at the existing input in the form, and make sure to type it correctly


Thank you so much. Makes sense. I created another one instead of using the current input


Glad you got it working, and understand it. Keep going strong.

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