I tried to ask this question as a simplest form. It’s self explanatory, please help.
Awesome. Your red marker is looking good. Now all you need to do is add the caps and sleeves to your other markers.
Add a cap and sleeve to both the green and blue markers. You can just copy the
div elements from the red marker and paste them into the other two markers.
Your code so far
<div class="marker red">
<div class="cap sleeve marker green">
<div class="cap sleeve marker blue">
Sorry, your code does not pass. Try again.
Your green marker
div should contain two
And element is not the same as a class. Read the instructions carefully and the code above and then do the same thin.
Anyway, you should not rush without understand the code. I would recomend you check the first steps again, it is more important you understand what they are doing than the solutions. Also you could copy and paste the code in any editor, as VS Code, and open the browser’s dev tools with double click and Inspect, or hitting F12 key, and check your code, even play with it. Adding this rule as your first CSS rule it would help you to see the elements involve:
outline: 2px solid pink;
That will draw a pink line outside all your elements without affect element’s display.
I hope that helps. Happy coding!
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.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.