CSS Color Markers - Class Issue

Hello there,

I’m adding a class to the first div element which contains a marker class:

<div class="one" class="marker">
      </div>

But this is the answer I get in response:
Your first marker div should have the classes marker and one .

Can somebody help me out? :slight_smile:

5 Likes

Hi @Vallyfolie

An element can have more than one class but you should add the classes like this :point_down:

<div class="class-1 class-2 class-3"> </div>
5 Likes

I still have the same issue, even with class=“class-1”

class-1 was an example class name. You can add multiple class name with a space. You don’t need to declare a class for your div 2 separate times.

3 Likes

Appreciate the help, thanks! :slight_smile:

1 Like

Mod Edit: SOLUTION REDACTED

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

2 Likes