i think i found an error. Step 4 of Learn HTML Forms by Building a Registration Form says - Add a
title element to the
head , and give your project a title of
freeCodeCamp Registration Form Project . Also, nest a self-closing
link element in the
head element. Give it a
rel attribute value of
stylesheet , a
type attribute value of
text/css , and an
href attribute value of
my code -
freeCodeCamp Registration Form Project
but it is giving me an error so i cant advance to the next step
<link rel="stylesheet" type="text/css" href="styles.css">
<title>freeCodeCamp Registration Form Project</title>
i keep getting this - Your
link element should be a self-closing element.
oh wait nevermind i found the solution.
Hi @antoniom1909 , could you please share the solution? I’ve tried changing the codes in different lines and still the same error:
link element should be a self-closing element.". Thanks!
Hi! If i remmember correctly, for some reason that exercise needs the “/” in the link tag like this - <link …(code)… />. I hope it helps.
Do you have any idea why this happens? The necessity of using a “/”, I mean.
Thats definitely the issue. Thank you for the tip
This isn’t working for me. Any tips?
Hint: Your link element should be a self-closing element.
<link rel="stylesheet" type="text/css" href="styles.css" />
This works for me just put a “/” there in the end because its self closing.
Because putting a “/” at the end makes a tag self-closing.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.