I need help here please!

Tell us what’s happening:
Describe your issue in detail here.

The code for class one seems not to be working

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Colored Markers</title>
  <link rel="stylesheet" type="text/css" href="styles.css">
  <h1>CSS Color Markers</h1>
  <div class="container">
    <div class="marker one">
    <div class="marker">
    <div class="marker">
/* file: styles.css */
h1 {
text-align: center;

.marker {
width: 200px;
height: 25px;
margin: 10px auto;

one {

Challenge: Step 18

Link to the challenge:

This is selecting “one” elements as opposed to “one” classes.

Remember that in CSS a period is required to indicate a class. For example:

.make_red {
    color: red;

Would make this red:

<p class="make_red"> Text </p>

I still haven’t figured it out pls

basically in this step you have to create a class called “red”. you can just follow the syntax for creating class “marker” to create class “red”. The syntax would be something like this:

   // code

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