Help: Setting required attribute to an input element

      <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="catphotourl" placeholder="cat photo URL">

    </form>

  </section>

</main>

Please, i really need help setting required attribute to input.

Don’t know what to do please

<input … … required> may works

HI @lakesidethe3rd !

Welcome to the forum!

When posting to the forum, please include the link to the challenge so we know what you are working on and can assist you.
Thanks :slight_smile:

very grateful.
it works splendid

Thank you very much

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