Learn HTML by Building a Cat Photo App - Step 38

Step38: I have both attributes type and name. Types value is text and names value is catphotour1, but when I input it the coding test says its wrong. What am I missing? I am miss understanding the value attributes and the action attributes?

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <section>
      <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>
    </section>
    <section>
      <h2>Cat Lists</h2>
      <h3>Things cats love:</h3>
      <ul>
        <li>cat nip</li>
        <li>laser pointers</li>
        <li>lasagna</li>
      </ul>
      <figure>
        <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>  
      </figure>
      <h3>Top 3 things cats hate:</h3>
      <ol>
        <li>flea treatment</li>
        <li>thunder</li>
        <li>other cats</li>
      </ol>
      <figure>
        <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>  
      </figure>
    </section>
    <section>
      <h2>Cat Form</h2>
      <form action="https://freecatphotoapp.com/submit-cat-photo">
        <input type="text" name="catphotour1">
      </form>
    </section>
  </main>
</body>
</html>
  **Your browser information:**

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

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

Link to the challenge:

replace the last character ‘1’ with ‘l’ instead

1 Like

Hey, ok thank you! Have an awesome day <3

1 Like

wait is that a 1 or a I? I tried the I ,but it didn’t want to accept that either.

Just copy it from the exercise. Your keyboard may not be giving the correct character. (Copy and paste it from the text)

1 Like

ah awesome thank you. It’s probably because I’m using a gaming computer to do this. I thought it would be fine to use this type of computer for it though or does this just happen to any system?

mm, I’m not an expert on character sets. My understanding is that different keys may map to different values in the computer language being used to code these tests. So you may be clicking a key that looks like an l but it is putting in a different value altogether. (I’m using a ENG US keyboard at the moment, but if I used ENG CMS (Canada) keyboard, some keys would give weird results - even though they’re both english)

1 Like

huh that’s interesting. I’m using an Asus Tuf Dash F15 Gen11 gaming laptop. Is my computer ok to use for coding? I just want to make sure. Idk how the keys on here are set. It’s probably different for laptops. That could be why. I think most programmers use a desktop computer, but I’m for fond of the laptops. Do you use a laptop or a desktop?

yes I use a laptop too but I meant the keyboard setting on mine is set to ENG US (I’m on a windows system, and there is a way to change you keyboard setting depending on your geographical location or language pref. This is a software thing, not a hardware thing)

1 Like

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