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 trial

HTML How to Make a Website CSS: Cascading Style Sheets Take a Mobile-First Approach

Khalid Mohamed
Khalid Mohamed
801 Points

Is something wrong with my code?

This isn't specifically related to this video, but ever since I added CSS to the code the website has not been updating to the changes I write in CSS or HTML file as it should. I looked several times if there any errors in in the code but could not find any. Any suggestions? Thanks

Steven Parker
Steven Parker
231,198 Points

It would help to look at the code. Can you make a snapshot of your workspace and post the link to it here?

2 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Well, first check the basics. Make sure you're saving the files, refreshing your browser, and clearing the browser cache and try refreshing again. If all that fails, we need to see the code. The easiest way to do this is look in the upper right hand side of your workspace and find the camera icon. Create a snapshot of your workspace and link it to us, so we can take a peek! :)

Khalid Mohamed
Khalid Mohamed
801 Points

Thanks so much for the quick reply! Sorry Im new to treehouse. Here is the link

.https://w.trhou.se/5x8abyoony What I am referring to is under the file index.html thanks!

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

I see this line in your html which isn't wrong, but brings up a concern:

 <link rel="stylesheet" href="css/main.css">

According to this line your css file should be in a folder named "css". But your folder in your workspace file structure (over on the left side) lists the folder name as "CSS". Note that most webservers are linux based and while capitalization doesn't generally matter much in Windows, it's a deal-breaker on linux systems. Try renaming the folder on the left side to "css" instead of "CSS" and see if you see a difference.