Step 16 on CSS color markers

First, add the class one to the first marker div element

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

For some reason I can not figure out how to do this. Any help would be greatly appreciated. Super beginner here.

2 Likes

I put some code in the post but for some reason it vanished hmmm.

markdown accept HTML tags in them, so use this to format

```

code here

```

using them result to something that looks like this

<h1> Hi Mom</h1>

You can add multiple classes in a class attribute by separating them with a space class="class1 class2"


I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

3 Likes

Thank you for the advice. I really appreciate it.

i think the cirriculum should word it better. i kept creating another class with one as the attribute ie. class=‘marker’ class=‘one’

3 Likes

Hi @DMadKing !

I think a rewording would help new coders.
I can bring up an issue on GitHub.

But is this the first time users are asked to add multiple classes together?
I haven’t done the new curriculum, so I wanted to ask someone who is currently going through it

2 Likes

Yes this is the first instance where multiple classes are mentioned within a single element in the (New) Responsive Web Design curriculum. Honestly, it should tell you how to do it for those that don’t know and have never encountered it before.

3 Likes

Great, thanks!

I will add that to the GitHub issue.

5 Likes