# Prettier is not working

**URL:** <https://forum.codewithmosh.com/t/prettier-is-not-working/3059>\
**Category:** Uncategorized\
**Created:** [February 27, 2021, 3:49pm UTC](https://forum.codewithmosh.com/t/prettier-is-not-working/3059 "2021-02-27T15:49:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jakeramseyer](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@jakeramseyer](https://forum.codewithmosh.com/u/jakeramseyer)\
**Post date:** [February 27, 2021, 3:49pm UTC](https://forum.codewithmosh.com/t/prettier-is-not-working/3059/1 "2021-02-27T15:49:24Z")

</div>

Prettier is not formatting my HTML code when I save it. I have checked the forums and Youtube and it recommends changing the default formatter to prettier in setting in VSCode. I tried doing that and it is still not formatting my code. Do you guys have any other ideas?

---

<div class="post-metadata">

**Author:** ![William](https://avatars.discourse-cdn.com/v4/letter/w/b19c9b/32.png) [@William](https://forum.codewithmosh.com/u/William)\
**Post date:** [February 27, 2021, 7:08pm UTC](https://forum.codewithmosh.com/t/prettier-is-not-working/3059/2 "2021-02-27T19:08:24Z")

</div>

Is Prettier enabled?  
Did you restart VSCode?  
(probably you did but still asking to be sure ;))

---

<div class="post-metadata">

**Author:** ![jakeramseyer](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@jakeramseyer](https://forum.codewithmosh.com/u/jakeramseyer)\
**Post date:** [February 28, 2021, 12:58pm UTC](https://forum.codewithmosh.com/t/prettier-is-not-working/3059/3 "2021-02-28T12:58:26Z")

</div>

I did check all the settings. It started working but had a delayed reaction the changes I made. It is working properly now. It really comes in handy while working in JavaScript.
