# Help with prettier

**URL:** <https://forum.codewithmosh.com/t/help-with-prettier/21474>\
**Category:** HTML/CSS\
**Created:** [July 13, 2023, 1:12pm UTC](https://forum.codewithmosh.com/t/help-with-prettier/21474 "2023-07-13T13:12:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jprairan\_1](https://avatars.discourse-cdn.com/v4/letter/j/439d5e/32.png) [@jprairan\_1](https://forum.codewithmosh.com/u/jprairan_1)\
**Post date:** [July 13, 2023, 1:12pm UTC](https://forum.codewithmosh.com/t/help-with-prettier/21474/1 "2023-07-13T13:12:58Z")

</div>

Hi guys. I’ve been using prettier for 1 month and everything is fine. However, I have a code that when I write it, Prettier formats it in a different way and when I go to validate the code, it throws me a “slash and tray” error, any suggestions?

 ![Screen Shot 2023-07-13 at 8.26.02 AM](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/b/be2d5fcc714369c3363136bb861b90d826e47555.png)

---

<div class="post-metadata">

**Author:** ![anakdev](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@anakdev](https://forum.codewithmosh.com/u/anakdev)\
**Post date:** [July 13, 2023, 2:59pm UTC](https://forum.codewithmosh.com/t/help-with-prettier/21474/2 "2023-07-13T14:59:37Z")

</div>

> [@jprairan\_1](#):
>
> Hi guys. I’ve been using prettier for 1 month and everything is fine. However, I have a code that when I write it, Prettier formats it in a different way and when I go to validate the code, it throws me a “slash and tray” error, any suggestions?

its seems like your code dont have any problem just keep going man
