I think my code for Step 1 is correct but it won’t accept it. This is my first time posting in the forum so I am doing it correctly!
<!DOCTYPE html>
<html lang=“en”>
I think my code for Step 1 is correct but it won’t accept it. This is my first time posting in the forum so I am doing it correctly!
<!DOCTYPE html>
<html lang=“en”>
Please post your code and a link to the Step. Thanks
I wrote it in my post but it didn’t show up.
Crap, for some reason it won’t show the code. I’m a total newbie at this but did complete the Cat assignment and the coffee menu.
Please post a link to the Step
I’ve edited your code for readability. When you enter a code block into a forum post, 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 (').
Thank you! Here is the link to the step.
And my code:
<!DOCTYPE html>
<html lang=“en”>
Hello! @Dstops
Your code is correct. But, In the hint of step-1 we are asked to close the html tag.
If you’re still stuck here is a hint on how to close a tag:
<body>
</body>
Happy Coding
@Dstops
Hello! Welcome to the fCC community. The fCC community is here to serve you.
-Happy Coding!
You are so close.
<tag name goes here>
<> angle brackets wrap around the start tag
<!DOCTYPE html>
<html lang=“en”>
You have this plus an attribute, and a value.
What you are missing is the html end tag. With a end tag you still used the angle brackets <>
like with the start tags but you also have a forward slash /
. Example: <p>Content goes here</p>
Add your html end tag and you’re good to go.
~Happy Coding!
Thank you! I tried the end tag a number of ways prior to asking for help but kept messing it up because my brain was telling me that the button had to be an opening tag before the class to make the end tag work but that wasn’t right either. Anyway, your tip helped! Woohoo!
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.