The script colors and how do they affect the ode outcome.

William Hay 0 Reputation points
2025-02-01T01:48:34.99+00:00

Hi

I've just started learning to code, I have 200/2499XP, so yeh I'm fairly new. I'm developing a web page, I've written index.html, main.css and I'm working on app.js where I'm trying to create a .btn to switch the page theme from light to dark etc. I'm typing the code exactly as I'm meant to but I noticed the Video Studio is using a different color to the example code I meant to be typing (no I don't copy/paste!). As the different colors have different attributes for coding, is that the reason why my web page won't execute correctly even though there is no present error? If that is correct how do I change it? Otherwise, I don't know what I need to do.

Thanks for your time

William

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,038 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.