it says the link element should be self closing but it is
<title>Registration Form</title>
<link rel="stylesheet" type="text/css" href="styles.css">
linkfreecodecamp.org/learn/2022/responsive-web-design/learn-html-forms-by-building-a-registration-form/step-4
Your code looks correct except I see some text below the code. What is that?
that is a link to the problem
its not in the code for the problem
I did the challenge you linked. Did you put both of the code in the head. If so, your final result would look like this:
<!DOCTYPE html>
<html>
<head>
<title>Registration Form</title>
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>
</body>
</html>
NOTE:
When I did it, it gave me the error you described and my fix was to add a “/” at the end
Hope this helps!
thank you so much
need to make it 20 charecters
system
Closed
7
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.