Add Placeholder Text to a Text Field.help

Add Placeholder Text to a Text Field.help
0

#1

Tell us what’s happening:

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>
<input type="text" placeholder="cat photo URL".>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1) 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


#2

please someone help me am stock at this place.


#3

Are you reading the requirements or just coming here for us to give you the answer? I’m starting to notice a pattern.

Please read the text, google placeholder in input field.


#4

There was already an input element in the starting code. You are not supposed to create an additional input element, but instead use the original one and add the applicable attribute/value. Also, make sure you do not have any extra characters after the " and before the > in the placeholder=“cat photo URL”.> Right now, I see a dot in there where it should not be.