FAQ: Welcome to Codecademy! - Multiple Colors

This community-built FAQ covers the “Multiple Colors” exercise from the lesson “Welcome to Codecademy!”.

Paths and Courses
This exercise can be found in the following Codecademy content:

Web Development
Code Foundations

Welcome to Codecademy!

FAQs on the exercise Multiple Colors

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head here.

Looking for motivation to keep learning? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!

23 posts were split to a new topic: How is the Color Spectrum Defined?

so i was doing the code foundations practice and i backspaced all of the coding and retyped it in the exact same format to see if i could run one on my own but when i press ‘run’ nothing happens. but if i paste the original text it works even though what i typed was the EXACT same. someone help me understand this?

1 Like

do we have to learn or remember colour codes for coding?

We use color codes in CSS, but when we consider that JS is joined at the hip to CSS, we should be able to manipulate the style sheet, and if that means changing colors, then one may conclude we should know how CSS works with colors. As for remembering color codes, that isn’t necessary. There are lots of resources (color wheels, color pickers, theme pickers) online if we need to dial in a particular color.

All we really need to understand is how RGB colors are set which is covered in CSS.

2 Likes

Why in the theory the variable letterColors defined with keyword var and in the editor without ? other variables too.

A post was split to a new topic: Variables and functions

I am a little bit confused as in what i need to do ? can someone please help

We’re a little disadvantaged since we do not know what lesson you are on. Please post a link to the exercise in a reply so that we can share in the narrative.

Hello @ajax8271723038 and welcome to the Codecademy Forums!

This exercise asks you to experiment by changing the numbers inside the square brackets on lines 2 to 6.

For example, you could change

red = [0, 100, 63];

to

red = [20, 167, 98]

The hint provided in this exercise will help as well.

Exercise Link: https://www.codecademy.com/courses/welcome-to-codecademy/lessons/welcome-to-codecademy/exercises/multiple-colors