V
V
Vladimir2020-09-04 23:15:15
css
Vladimir, 2020-09-04 23:15:15

How to figure out how to include a CSS file?

I’m trying to make up a site layout for the first time, before that I worked in a mobile application where everything worked fine, but I decided to transfer the project to a laptop in order to learn how to use it in development. Please help, I don't know how to fix this code anymore, maybe I placed the folders incorrectly or set incorrect links?

5f529f24b1115297217339.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Igor, 2020-09-04
@Mefistoz

Will you try a slash before style.css?
href="/style.css"

A
Abraham Chanski, 2020-09-04
@Letsdoit

It seems that everything was correctly indicated, but check whether you have thrown styles.css into some folder, for example, into css.
But it seems to me that you saved styles not as Style.css, but as Styles.css.

A
Alexey Yarkov, 2020-09-05
@yarkov

Omagad ... Yes, connect the same lite-server and do not open files along the path from the root of the disk.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question