# The css code does not work?

**URL:** <https://forum.codewithmosh.com/t/the-css-code-does-not-work/12379>\
**Category:** HTML/CSS\
**Created:** [May 11, 2022, 12:32pm UTC](https://forum.codewithmosh.com/t/the-css-code-does-not-work/12379 "2022-05-11T12:32:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sadat23](https://avatars.discourse-cdn.com/v4/letter/s/0ea827/32.png) [@sadat23](https://forum.codewithmosh.com/u/sadat23)\
**Post date:** [May 11, 2022, 12:32pm UTC](https://forum.codewithmosh.com/t/the-css-code-does-not-work/12379/1 "2022-05-11T12:32:18Z")

</div>

hey the css code does not work on my computer and i can not use to code online like local host it is offline save and then it works. can anyone guys out there help me what to do?

Thanks.

---

<div class="post-metadata">

**Author:** ![Kambata](https://avatars.discourse-cdn.com/v4/letter/k/48db29/32.png) [@Kambata](https://forum.codewithmosh.com/u/Kambata)\
**Post date:** [May 11, 2022, 4:39pm UTC](https://forum.codewithmosh.com/t/the-css-code-does-not-work/12379/2 "2022-05-11T16:39:15Z")

</div>

Explain the problem with more detail.

---

<div class="post-metadata">

**Author:** ![Gintsm](https://avatars.discourse-cdn.com/v4/letter/g/f05b48/32.png) [@Gintsm](https://forum.codewithmosh.com/u/Gintsm)\
**Post date:** [May 13, 2022, 6:38am UTC](https://forum.codewithmosh.com/t/the-css-code-does-not-work/12379/3 "2022-05-13T06:38:49Z")

</div>

will correct you css definitely works on your computer, but probably it is not on a browser. And first thing what you must to check is a link from html to your css file. Than I assume you want to use live server and autosave, those are Editor options, so I use visual studio code and there are extensions.
