Why is my coding different colors, even though I am doing what the example says?


#1

Here is my code

https://www.codecademy.com/courses/web-beginner-en-4lw13/0/3?content_from=make-a-website%3Acss-properties-box#


#2

That link takes everyone to their own version of the exercise.

Are you getting an error or just wondering about the way the editor is highlighting the various parts of your code?


#3

Most modern code editors use something called syntax highlighting, which is probably what you're seeing.

    Syntax highlighting:
  • Makes your code easier to read
  • Makes your code look (a lot) nicer.
  • Does not affect the code or the way it works.

Syntax highlighting doesn't affect your code, or change anything at all apart from the look of the code, so you shouldn't worry about it.