Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJohn Schnettgoecke
2,012 PointsStuck. Build a Simple Website, Working with Grids.
I'm stuck. All I've done is simply linked my grid.css and normalize.css files in my HTML, and I anticipated that after refreshing my browser that my screen would like identical to the screen in the video tutorial. However, that isn't happening. Each time I save my code and refresh my browser, nothing new happens. Do I have an error in the code somewhere?
'''html <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Smells Like Bakin' Cupcake Company</title> <link rel="stylesheet" href="css/normalize.css" type="text/css" media="screen"> <link rel="stylesheet" href="css/grid.css" type="text/css" media="screen"> </head> <body> '''
Thanks in advance.
Jason Anello
Courses Plus Student 94,610 PointsAlso, I would recommend that you don't post your code as an answer to your question because others that are scanning the main page of the forum will think that your question has been answered and will move on to the next. It might be harder for you to get the help that you need.
John Schnettgoecke
2,012 PointsThanks, Jason. Sorry man, I'm not sure what's happening. I'm trying to use the markdown syntax as instructed in the Markdown Cheatsheet, but it doesn't seem to be displaying my code correctly. Am I doing something wrong? I'm simply copying my code and pasting it into the forum here and wrapping it with the '''
Jason Anello
Courses Plus Student 94,610 PointsThat's ok. No need to apologize.
Make sure that you're using the backtick when posting code. This appears above your tab key on the left side of your keyboard.
Here's a post that has some helpful tips on how to post code: https://teamtreehouse.com/forum/how-to-type-code-in-the-forum
Try pasting in your entire html file when you get the chance.
To help you out a little, this is what a basic starter html file should look like:
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
</body>
</html>
See if your html resembles that.
2 Answers
John Schnettgoecke
2,012 Points'''html <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Smells Like Bakin' Cupcake Company</title> <link rel="stylesheet" href="css/normalize.css" type="text/css" media="screen"> <link rel="stylesheet" href="css/grid.css" type="text/css" media="screen"> </head> '''
Jason Anello
Courses Plus Student 94,610 PointsI don't think that all of your code is showing. You mentioned that you linked in the normalize.css and grid.css files but I don't see that in the code you've posted.
From what I do see, I can tell you that the doctype should be the first line in your file. Nothing should come before it.
John Schnettgoecke
2,012 Points'''html <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Smells Like Bakin' Cupcake Company</title> <link rel="stylesheet" href="css/normalize.css" type="text/css" media="screen"> <link rel="stylesheet" href="css/grid.css" type="text/css" media="screen"> </head> '''
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsHi John,
Can you try posting your html code again?