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

  <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">

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:

In the challenge instructions, it gives you an example (seen below) of how to create a placeholder for an input element.

<input type="text" placeholder="this is placeholder text">

The challenge code already gives you the input element (seen below). You just have to add a placeholder value with different text (“cat photo URL”).

<input type="text">

Hi @RandellDawson

I’ve entered in:


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 !