<p> Here's a <a herf="https://freecat photoapp.com"> Cat photos</a> for you to follow.</p>

Tell us what’s happening:

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<p> Here's a <a herf="https://freecat photoapp.com"> Cat photos</a> for you to follow.</p>


<img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">

<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>

  **Your browser information:**

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

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

Hi @vincent14

Welcome to FCC.

What question do you have about the above challenge?

the code can not run,i need help

Well I was able to run your code but it failed to pass the test because of:

  • It is href not herf
  • The value of href attribute is not https://freecat photoapp.com. Copy and paste the correct URL from the instructions.

how to make an input text a required field

<input type ="text" required>

You just need to put required at the end of it and it will do what you want. User cannot skip it then.