Step 5-Learn HTML Forms by Building a Registration Form

Tell us what’s happening:
Hi guys, I nested a self-closing link element within the head element, but the test still tells me “Your code does not pass. You should have one self-closing link element.”
Should anyone knows why, I would appreciate it. :blush:

Your code so far

<!DOCTYPE html>
<html lang="en">

<!-- User Editable Region -->

    <meta charset="UTF-8">
    <title>Registration Form</title>
    <link rel="stylesheet" href="styles.css" />

<!-- User Editable Region -->


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 Forms by Building a Registration Form - Step 5

Link to the challenge:

after copy and pasting in your answer, it passed for me?

not sure why it is behaving in this way, perhaps try restarting the step and trying again. :frowning:
or restart your device :confused:

thx! I restarted the step few times but it still didn’t work, maybe I’ll try to restart my device!

1 Like

Code does pass the challenge. If you have already tried refreshing and restarting the step then check to see if you have any extensions running. Things like ad blocker and dark mode and cause challenges to fail from time to time. If that is all good then try switching to a different browser and submit the challenge again.

1 Like

I switched to another browser and the problem was solved, thx! :blush:

you may find this post helpful should you have this problem again

Step 78, build a coffee menu. Theres no submit button - HTML-CSS - The freeCodeCamp Forum

1 Like

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