Learn HTML by Building a Cat Photo App - Step 38

Tell us what’s happening:
Describe your issue in detail here.

Step 38

In order for a form’s data to be accessed by the location specified in the action attribute, you must give the text field a name attribute and assign it a value to represent the data being submitted. For example, you could use the following syntax for an email address text field: <input type="text" name="email">.

Add the name attribute with the value catphotourl to your text field.

What am I doing wrong here?

I keep getting the following hint: Your input element should have a name attribute with the value catphotourl . You have either omitted the value or have a typo. Remember that attribute values should be surrounded with quotation marks.

This is the line I have produced.

Any help appreciated

  **Your code so far**
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
      <a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
      <h2>Cat Lists</h2>
      <h3>Things cats love:</h3>
        <li>cat nip</li>
        <li>laser pointers</li>
        <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasagna.jpg" alt="A slice of lasagna on a plate.">
        <figcaption>Cats <em>love</em> lasagna.</figcaption>  
      <h3>Top 3 things cats hate:</h3>
        <li>flea treatment</li>
        <li>other cats</li>
        <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/cats.jpg" alt="Five cats looking around a field.">
        <figcaption>Cats <strong>hate</strong> other cats.</figcaption>  
      <h2>Cat Form</h2>
      <form action="https://freecatphotoapp.com/submit-cat-photo">
    <input type="text" name="catphotour1">
  **Your browser information:**

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

Challenge: Learn HTML by Building a Cat Photo App - Step 38

Link to the challenge:

1 Like

:smiley: nice, font related…
it is not the first Phototour here. It is about the URL.

Sorry, Im not too sure what you mean. The hint is telling me I need a name attribute with the value catphotour1 which I’m pretty sure thats what I have. What am i missing here?

Thanks :slight_smile:

Its not a one(1) its an L(l).

Lmao :man_facepalming: Im so stupid, been stuck for ages how did i not notice. Thankyou!

Now, now. Don’t use the word stupid. It was an honest mistake. It took me a second to figure it out, and I had to type a 1 and l just to make sure.

Please mark a solution so others know the issue is resolved! Thanks!

font-related, as i said.
happy coding !

Please, kindly explain to me like i am 4 years old. I am stocked at the same spot of yours but tried solution to yours but it doesn’t work when i ran it. Thank you.

If you have an issue please open a new thread for it.

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