Prettier is not working

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?

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

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.