css file not loaded

Asked 1 years ago, Updated 1 years ago, 96 views

I tried to load the css file by creating the environment as much as possible as you taught me, but if you go to the web page and press the check, it doesn't load at all. How can I fix it?

fast-frontend css

2022-09-22 20:10

2 Answers

Hello Kyungjae! - ^

For these questions, you can make an accurate diagnosis by compressing and uploading the mission folder.

The only thing that can be judged by the image you uploaded is the code as follows, so is it correct to use the class?

.h-1 { ... }
.h-2 { ... }

If you did not use the class, use the element selector to see if the style is applied.

h1 { ... }
h2 { ... }

If the cause of the problem is not the same as above, please compress the mission folder and attach the file, or paste each source file here. Like this.

<h1>CSS file loading issue</h1>
h1 {
  font: 3rem/1 "Spoqa Han Sans";
}


2022-09-22 20:10

As you said, I got the class right and saved it as a new one, so it was solved. Even though I saved it with Ctrl+s, the storage path must have been different, but when I started to run the HTml file on the web page, it worked properly. href="css/style.css" means that you want to load a file called style.css in the folder called css, right? If so, I would like to ask if I can just write down the address without putting it in the same folder. I don't want to be called, so I'm asking the old woman again


2022-09-22 20:10

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.