Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why doesn't opening index.html display proper webpage #2

Open
grotesque opened this issue Sep 11, 2022 · 3 comments
Open

why doesn't opening index.html display proper webpage #2

grotesque opened this issue Sep 11, 2022 · 3 comments

Comments

@grotesque
Copy link

it seems the css isn't loading. Is it not suppose to display proper demo after opening index.html?

@kalwok1
Copy link

kalwok1 commented Dec 17, 2022

using text editor, open all .html files and replace "/ with "

/css/root.css
should be
css/root.css

the / is causing error

@dennisvaga
Copy link

Exactly what I wanted to ask, isn't the best practice is to use relative path?
If so, why you don't change it

@YucaipaCA
Copy link

I had to remove many of the back slashes to view off line. For example in the index.html file

remove the back slash in front of src="/images/phone.svg" so it will look like this src="images/phone.svg"

I am just a beginner so I am not sure what this will mean later on but to view off line and test the responsiveness and the code this worked for me. I removed many back slashes including in front of all the css links and all the images. Hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants