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 trialBrennen Bactista
Full Stack JavaScript Techdegree Student 5,523 Points@import not working
When I attempt to import the style sheet, save, then refresh the page, there are no changes. I've checked my code multiple times and still can't get the page to change per the video. Any pointers?
1 Answer
Benjamin Gooch
20,367 PointsAre you trying to import it in the HTML file or the CSS file? Can you post the code here for whichever file it is?
Without looking at the code, I'd suggest thinking about the file path in relation to where the file you're importing into exists. If you're importing into the HTML, it's at the root of the site and you have to tell it to look in the CSS folder: "css/style.css"/ if you're importing from the CSS file, both stylesheets exist in the same folder, you cant use the same path. You'd use "style.css" with no preceding "css/".
Posting your code will allow us to give you a more accurate answer, but hopefully this helps!
Jordan Howlett
4,377 PointsJordan Howlett
4,377 PointsCan you post your code?