Add class one to the first marker div element. HELP!

<div class="marker">

      </div>

      <div class="marker">

      </div>

      <div class="marker">

      </div>

Hi @ahmed.monaim94 !

I have edited your post to include the challenge link.

You can add multiple classes by separating the names by a space

For example:

class="example-class1 example-class2"

Add class one to the first marker div element using the example I showed you.

i already did that and it doesn’t execute
thank you so much

Please post the code what you tried adding the two classes

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

Two issues.

No.1:
This is not the correct class name

The correct name is one.
Not class-one

No.2:
Take a close look at the example I showed you

Both classe names are inside one set of quotes.

You wrote this

Once you fix those two issues, then the test will pass

Hope that helps!

1 Like

Here is a good article on adding multiple classes if you need extra help

i got it , thank you so much :heart:

1 Like

SOLUTION REDACTED BY MODERATOR
Here i find the solution

Hi @msabir !

Welcome to the forum!

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.

HI @jeffrey1 !

If you need help with a challenge, please create a new post with your question and code

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.