question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Step 16 of CSS color markers project should show users how to add multiple classes

See original GitHub issue

Describe the Issue

This issue has come up a few times on the forum and most recently in this discussion. This lesson wants users to add multiple classes to the div element but they are not shown how to do it. Most users will write this which is incorrect.

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

We should show users how to properly add multiple classes to an html element by providing a small code example in the lesson.

  <div class="exampleClass1 exampleClass2">
  </div>

Affected Page

https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-css-colors-by-building-a-set-of-colored-markers/step-16

Your code

Provide a small example for beginners

<div class="exampleClass1 exampleClass2">
</div>

Expected behavior

N/A

Screenshots

No response

System

  • Device: [e.g. iPhone 6, Laptop]
  • OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04]
  • Browser: [e.g. Chrome, Safari]
  • Version: [e.g. 22]

Additional context

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
RandellDawsoncommented, May 24, 2022

@moT01 and I briefly discussed this issue in the chat last week. I like Tom’s idea of reworking this particular step (step 16) to focus on teaching about multiple classes (adding the necessary class) and then adding a new step (a new step 17) that would focus on the current focus of step 16 (colors). I don’t know how the new step 17 would look like exactly, but I am sure there is a way.

The new step 16 could definitely be something like what @Sboonny mentioned above.

1reaction
Petrtolucommented, Jun 30, 2022

My bad… Thanks, been able to get ahead

Read more comments on GitHub >

github_iconTop Results From Across the Web

Learn CSS Colors by Building a Set of Colored Markers - Step ...
To give the markers different colors, you will need to add a unique class to each one. Multiple classes can be added to...
Read more >
Let's learn CSS colors by building a set of colored ... - YouTube
We're going to learn more about CSS by playing with colors ! We'll start this lesson together but you may need to finish...
Read more >
freeCodeCamp | Learn CSS color markers: step 16 - YouTube
This is a beginner tutorial on learning CSS by building a set of colored markers, a challenge found on freecodecamp.org. … Show more....
Read more >
FreeCodeCamp Learn CSS Colors by Building a Set of ...
I go through the Learn CSS Colors by Building a Set of Colored Markers section of FreeCodeCamp. They recently updated their website, ...
Read more >
CSS COLOR MARKERS | PROJECT SOLUTION - YouTube
Are You A Coding Expert? Take Our Free Quiz and Find Out: https://www.dorscodingschool.com/quiz … Show more. Show more ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found