Chineze
October 12, 2024, 12:10pm
1
Tell us what’s happening:
I have created my link element but it keeps telling me otherwise
Your code so far
<!-- User Editable Region -->
<!DOCTYPE html>
<html lang="en"></html>
<head>
</head>
<body>
<div id="game"></div>
</body>
<meta charset="UTF-8">
<title> RPG - Dragons Repeller </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/129.0.0.0 Safari/537.36
Challenge Information:
Learn Basic JavaScript by Building a Role Playing Game - Step 1
hbar1st
October 12, 2024, 12:14pm
2
these all belong nested within the head element
(also don’t add spaces unless it is clear from the step that they want spaces somewher)
Chineze
October 12, 2024, 12:18pm
3
I have done that but it is still showing the same error
hbar1st
October 12, 2024, 12:40pm
4
please copy the fixed code and post it in your next reply for review
<head>
<meta charset="UTF-8">
<title> RPG - Dragons Repeller </title>
<link rel="stylesheet" href="styles.css">
</head>
this is my code for the head element
remember to remove extra spaces (in your title)
Chineze:
<html lang="en"></html>
also watch out here. The closing tag for the html element is supposed to be on the last line of your file
Chineze
October 12, 2024, 1:04pm
10
I have removed them still did not work. the error is about my link element
ILM
October 12, 2024, 1:21pm
11
Hey there,
Please update the message to include your code. It looks like you forgot that in your last message.
When you enter a code, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>
) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').
system
Closed
April 13, 2025, 1:21am
12
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.