So basically I installed prettier in VS Code and enabled the format on paste option in the settings and now I have no clue why these red bars are there in my code.. Thanks
javascript - Why does Prettier not format code in VS Code? - Stack Overflow
Using Prettier and ESLint to automate formatting and fixing JavaScript - LogRocket Blog
Format on Save (prettier) stopped working with latest update · Issue #108447 · microsoft/vscode · GitHub
Frontend Team Style Guide
javascript - Why does Prettier not format code in VS Code? - Stack Overflow
Code Quality Tooling with Prettier and ESLint - Beginner JavaScript - Wes Bos
visual studio code - Weird HTML formatting with prettier - Stack Overflow
Trunk Check - Visual Studio Marketplace
html - Why does my prettier show red color upon saving - Stack
javascript - Why does Prettier not format code in VS Code? - Stack Overflow
8 Prettier in Javascript, PDF, Computer Science
Top 15 VS Code Extensions Every Developer Should Know
javascript - Why does Prettier not format code in VS Code? - Stack Overflow
Format on save not working · Issue #289 · prettier/prettier-atom · GitHub