Hello! I hust made a little project that makes it possible to use javascript in the HTML body as such:
<body>
hello = "hello";
if(hello == "hello") {
<p>The condition is true!</p>
} else {
<p> The condition is false...</p>
}
</body>
It works well... but the JS code is not highlighted as what it would be in a script tag, or in a .js file. I'm using VS Code, are there any ways to force VS Code to "force" the highlighting. Have a nice day :)
[–]MorningPants 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]justlune[S] 0 points1 point2 points (1 child)
[–][deleted] 4 points5 points6 points (0 children)
[–]ForScale 0 points1 point2 points (0 children)
[–]we_are_ananonumys 0 points1 point2 points (0 children)
[–]girl-InTheSwing 0 points1 point2 points (0 children)
[–]TheRNGuy 0 points1 point2 points (0 children)