Learn HTML by Building a Cat Photo App - Step 38

Tell us what’s happening:
Describe your issue in detail here.
What is the code???

Your code so far
So far I Have been able to type only this code so please help

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <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><p>Click here to view more cat photos.</p>
      <a href="https://freecatphotoapp.com">cat photos</a>
      <type
        </form>
      </section>
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0

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

Link to the challenge:

hi there,
if restarted at step 38 , it is asked to give the input a attribute .
If you have a look at your code below, you see there is a lot that could be deleted after formaction and input.( the a- and the p-element), while the input has not got any attribute at all.
there should be something like "type=“text” inside the input-tag.

 <input><p>Click here to view more cat photos.</p>
      <a href="https://freecatphotoapp.com">cat photos</a>
      <type
        </form>

Link to the answer:
[type attribute] <input type="text"> - HTML: HyperText Markup Language | MDN

1 Like