What is the value of placeholder attribute to be added?

Tell us what’s happening:
Describe your issue in detail here.
What is the value of placeholder attribute to be added

  **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://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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"="text" "placeholder"=. "Cat photo url" "This is a placeholder text"/>
 
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36 Edg/98.0.1108.56

Challenge: Add Placeholder Text to a Text Field

Link to the challenge:

Hello! Welcome to the community :partying_face:!

The lesson states that you must set the placeholder attribute with a value of cat photo URL:

Set the placeholder value of your text input to “cat photo URL”.

Remember that an attribute, like the placeholder, must not go between quotes (single nor double) but its values must go between quotes (that value is what’s after the equals sign).

Hope it helps :slight_smile:!

Happy coding!

Many thanks, Nicolas.
I am very new in this whole thing but I am determined to work and pull through. I should deploy your advise when I resume the lessons later today.
Edmund.

No, I haven’t cracked it. I have set the value of the placeholder attribute yet.
Edmund

Hi Nicolas,
I just cracked it.
Thanks.
Edmund

1 Like

Awesome! I’m happy you were able to do it :slight_smile:!

Happy coding!

Hello Nics,
How do I resolve this:: Each of your radio button elements should be added within the form tag.
This is where I got stuck.
Thanks.

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