@BananaTechs
Posted
Hi Joseph,
The index.html file needs to be in the folder that GitHub is building from. Currently, the only file in your root folder is README.md
, so the website is being built off of that. If you were to move the contents of the order-summary-component-main
folder into the root folder, I'm sure it would work!
@BananaTechs Thank you, I actually just did that with another challenge but I had to move my CSS files out of their css folder and into the root folder. Will I need to do that every time?
@BananaTechs
Posted
@Joeweath When linking the stylesheet in the html, the href has to be the path to the css file. So if, for example, it's href="/styles.css"
then the css file will need to be in the root folder. Alternatively, if it was in, say, a folder called "stylesheets", then you could put href="/stylesheets/styles.css"
and that should work. Hope this helps! ^_^
Marked as helpful