r/HTML • • Sep 26 '26

Question my code look like the first one. kinda hard to know what going on due to lack of color diff. i want it to look like the second image. plz help with the settings.

9 Upvotes

10 comments sorted by

2

u/kloputzer2000 Sep 26 '26

What editor is this? VS Code?

If these two screenshots are from the same editor, the reason is probably that one of these is a HTML file, with some embedded JS and the other is a pure JS file. The file type will change the color scheme.

2

u/fallwinternight Sep 26 '26

Oh ok I think I got the problem

1

u/fallwinternight Sep 26 '26

But still kinda same in js . I want the colour exactly like second pic. Is there any settings for that colour coding?

2

u/Mr_Phenomen0n Sep 26 '26

Its Dark Modern Theme. You can change theme with Ctrl K then Ctrl T

1

u/fallwinternight Sep 26 '26

Thank you very much

4

u/DisasterSmall2129 Sep 26 '26

You learn JS with brocode too?

1

u/HolidayWallaby Sep 26 '26

What am I missing here? Both images have syntax highlighting don't they?

1

u/davorg Sep 27 '26

Maybe you'd get better help if you posted in the sub for the editor that you're using.

(Or, at the very least, tell us which editor you're using)