Add Placeholder Text to a Text Field i need help 2018

Tell us what’s happening:
i dont no how to
Add a placeholder attribute to the existing text input element. or
Set the value of your placeholder attribute to “cat photo URL”.

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://bit.ly/fcc-relaxing-cat" 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>
  <input type="text">
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/add-placeholder-text-to-a-text-field

Hi @camperextraordinaire

I’ve entered in:

09%20pm

And it doesn’t work.

You have the start of a second input in the first p element. Reset the code, only add the placeholder to the last input at the bottom.

Thankyou ! It worked !