Google Chrome error help CSS error -


i have been getting error google chrome saying : failed load resource: server responded status 404 error.

i linked path correct folder in cloud 9 project, there project same format current 1 , works fine. using semantic ui have it?

the error code:

https://job-ayub.c9users.io/stylesheets/main.css resource: server responded status of 404 (not found)

on other project got similar error , fixed changing link href="/sylesheets/main.css"> error handled , fine until opened new project , tried same fix didn't work.

<html>      <head>           <title></title>           <link rel="stylesheets" text="type/css" href="stylesheets/main.css">      </head>         <body>          </body> 

css use easy sublime why different c9.io ?

okay solved problem if using express , node.js should use app.use(express.static('_dirname')); in app.js file. creating path directly css file not connect express server , 404 error.


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -