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
Guillermo Amor
464 PointsI cannot see the change of my CSS file to update
Hi guys I have change the code to my CSS file and look that is not updating the change in my Local host (MAMP) When I enter to source I can see that is not saving any chnages. I double check where my file is saved and is correct.
Source code <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="stylesheet" type="text/css" href=/Project-one/styles.css> <title></title> </head> <body> <article class="article1"> <h2 class="test1">Article one title</h2> <p>Article one paragraph</p> </article> ....
CSS file of source code test1 { color:green; } aside{ color:green; }
The real code for CSS test1 { color:blue; }
3 Answers
Darrell Conklin
22,377 PointsFrom what you posted, I see that the "." is missing from your class names inside your css file
ex
.test1 {
color:green;
}
.aside{
color:green;
}
Guillermo Amor
464 PointsYes I clear my cache.
I added more information hope it helps, I use cloudapp screen shots. HTML code https://cl.ly/0U3w1Q2I2E0a
CSS code https://cl.ly/1a1D2N1Z1g31
LocalHost MAMP https://cl.ly/3t3W292R3A15
LocalHost CSS source https://cl.ly/3Q3y0H2X2b1v
Html href to CSS https://cl.ly/1W1Z3N0Z3C2m
Css path /Applications/MAMP/htdocs/style.css
Guillermo Amor
464 PointsI solved it I was misspelt something
Darrell Conklin
22,377 PointsExcellent! I'm glad you solved your problem.
Guillermo Amor
464 PointsGuillermo Amor
464 PointsThank you,
How ever any change will be reflected. I did your change and instead of color: green; I change it to blue and is not showing.
Darrell Conklin
22,377 PointsDarrell Conklin
22,377 PointsHave you tried clearing your browser cache?