Placeholder Text to a Text Field question vague

Placeholder Text to a Text Field question vague
0.0 0

#1

**Tell us what’s happening:**I feel like Ive answered the question so what am doing wrong

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

Your browser information:

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

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


#2

<input type="text" <input type="text" placeholder="cat photo URL>
This bit. Just erase the first <input type="text" and it should work :slight_smile:


#3

tried that with no luck thanks for the quick reply


#4

like your handle by the way carried a hammer for 40 years myself


#5

Remember to enclose attribute values such as placeholder in single or double quotes. You are missing one.


#6

that did the trick had to be something simple Thanks


#7

syntax error