Learn CSS Colors by Building a Set of Colored Markers - Step 9

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

I added the div element inside the body element and assigned it a class of container. The code is marked as wrong, but I can’t figure out where I made a mistake. Any help would be greatly appreciated!

Your code so far

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0

Challenge: Learn CSS Colors by Building a Set of Colored Markers - Step 9

Link to the challenge:

Your code works fine.

You can try to change your browser, sometimes Mozilla have a rare issue with fCC which prevent our code to pass.

You can use Mozilla again once you have pass this step

Hi hartatociptajaya, thank you so much for your quick response! I tried your tip with the other browser and it solved the problem.

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