Skip to main content

NOTICE: On Friday Nov 6, Workspaces will be temporarily unavailable for maintenance.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • Walker Boggess
    Walker Boggess
    6,383 Points

    In the style sheet, target main-header with a class selector. Then, add a background-color property and

    Posted November 18, 2025 3:50pm by Walker Boggess
    Walker Boggess
    6,383 Points
    • CSS
    • CSS Basics
    • Basic Selectors
    • ID and Class Selectors

    1 Answer

  • Ida Gashi
    Ida Gashi
    828 Points

    how schould i do this plz target experience with an ID selector. Add a background-color property and set the value to li

    Posted March 7, 2023 12:48pm by Ida Gashi
    Ida Gashi
    828 Points
    • CSS
    • CSS Basics
    • Basic Selectors
    • ID and Class Selectors

    1 Answer

  • John ded
    John ded
    949 Points

    backgroundcolor wont register

    Posted February 27, 2023 10:28am by John ded
    John ded
    949 Points
    • CSS
    • CSS Basics
    • Basic Selectors
    • ID and Class Selectors

    1 Answer

  • Rene Armenta
    Rene Armenta
    1,469 Points

    what I may be doing wrong?

    Posted January 3, 2022 9:10pm by Rene Armenta
    Rene Armenta
    1,469 Points
    • CSS
    • CSS Basics
    • Basic Selectors
    • ID and Class Selectors

    2 Answers

  • Yariel Peralta
    Yariel Peralta
    7,118 Points

    can some one help me

    Posted November 20, 2021 4:13pm by Yariel Peralta
    Yariel Peralta
    7,118 Points
    • CSS
    • CSS Basics
    • Basic Selectors
    • ID and Class Selectors

    1 Answer

  • Donny McPherson
    Donny McPherson
    257 Points

    Challenge Task 5 of 6 In the HTML file, give the section element an ID name of experience. Please help I'm all bummed!

    Posted November 2, 2021 10:41pm by Donny McPherson
    Donny McPherson
    257 Points
    • CSS
    • CSS Basics
    • Basic Selectors
    • ID and Class Selectors

    1 Answer

  • Jonte Golson
    Jonte Golson
    1,253 Points

    Make sure you're including a 'font-size' property and setting the value to '72px'.

    Posted August 4, 2021 4:05pm by Jonte Golson
    Jonte Golson
    1,253 Points
    • CSS
    • CSS Basics
    • Basic Selectors
    • ID and Class Selectors

    1 Answer

  • Angelica Islas
    Angelica Islas
    4,082 Points

    I thought that I had already completed this challenge successfully...

    Posted July 14, 2021 9:43pm by Angelica Islas
    Angelica Islas
    4,082 Points
    • CSS
    • CSS Basics
    • Basic Selectors
    • ID and Class Selectors

    1 Answer

  • Thiago Moura
    Thiago Moura
    6,981 Points

    Hi there, the error message still repeating but I'm pretty sure that this code is correct. Can someone check?

    Posted July 14, 2021 7:01pm by Thiago Moura
    Thiago Moura
    6,981 Points
    • CSS
    • CSS Basics
    • Basic Selectors
    • ID and Class Selectors

    1 Answer

  • Angelica Islas
    Angelica Islas
    4,082 Points

    Not sure how to solve this one

    Posted July 13, 2021 3:42am by Angelica Islas
    Angelica Islas
    4,082 Points
    • CSS
    • CSS Basics
    • Basic Selectors
    • ID and Class Selectors

    3 Answers

  • ROBERT BUTLER
    ROBERT BUTLER
    2,010 Points

    In the HTML file, give the h1 element the class main-heading

    Posted May 6, 2021 3:07am by ROBERT BUTLER
    ROBERT BUTLER
    2,010 Points
    • CSS
    • CSS Basics
    • Basic Selectors
    • ID and Class Selectors

    2 Answers

  • ROBERT BUTLER
    ROBERT BUTLER
    2,010 Points

    header element question

    Posted May 4, 2021 3:15am by ROBERT BUTLER
    ROBERT BUTLER
    2,010 Points
    • CSS
    • CSS Basics
    • Basic Selectors
    • ID and Class Selectors

    3 Answers

  • ROBERT BUTLER
    ROBERT BUTLER
    2,010 Points

    I am stuck on this.

    Posted May 2, 2021 3:04pm by ROBERT BUTLER
    ROBERT BUTLER
    2,010 Points
    • CSS
    • CSS Basics
    • Basic Selectors
    • ID and Class Selectors

    3 Answers

  • ROHITH KAYERKER
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    ROHITH KAYERKER
    Front End Web Development Techdegree Student 1,265 Points

    Finally, target experience with an ID selector. Add a background-color property and set the value to lightsteelblue.

    Posted April 30, 2021 2:35am by ROHITH KAYERKER
    .a{fill-rule:evenodd;}techdegree
    ROHITH KAYERKER
    Front End Web Development Techdegree Student 1,265 Points
    • CSS
    • CSS Basics
    • Basic Selectors
    • ID and Class Selectors

    2 Answers

  • Elliott Nichols
    Elliott Nichols
    1,815 Points

    heeeelppppp im so stuck on this

    Posted April 29, 2021 4:57am by Elliott Nichols
    Elliott Nichols
    1,815 Points
    • CSS
    • CSS Basics
    • Basic Selectors
    • ID and Class Selectors

    1 Answer

  • ROBERT BUTLER
    ROBERT BUTLER
    2,010 Points

    Give the header element a class attribute. Then, set the class value to main-header.

    Posted April 24, 2021 8:08pm by ROBERT BUTLER
    ROBERT BUTLER
    2,010 Points
    • CSS
    • CSS Basics
    • Basic Selectors
    • ID and Class Selectors

    1 Answer

  • Grama Iulian
    Grama Iulian
    2,623 Points

    Give the header element a class attribute. Then, set the class value to main-header.

    Posted April 12, 2021 2:48pm by Grama Iulian
    Grama Iulian
    2,623 Points
    • CSS
    • CSS Basics
    • Basic Selectors
    • ID and Class Selectors

    1 Answer

  • Ishmael Phiri
    Ishmael Phiri
    5,967 Points

    what am i missing here ?

    Posted April 2, 2021 12:30pm by Ishmael Phiri
    Ishmael Phiri
    5,967 Points
    • CSS
    • CSS Basics
    • Basic Selectors
    • ID and Class Selectors

    2 Answers

  • Shivon Kunondjo Hindjou
    Shivon Kunondjo Hindjou
    1,402 Points

    in HTML file give the section element an ID name of experience i did but it says its wrong !!.......help please

    Posted March 30, 2021 1:24pm by Shivon Kunondjo Hindjou
    Shivon Kunondjo Hindjou
    1,402 Points
    • CSS
    • CSS Basics
    • Basic Selectors
    • ID and Class Selectors

    1 Answer

  • Shivon Kunondjo Hindjou
    Shivon Kunondjo Hindjou
    1,402 Points

    in the css basic challenge task 1

    Posted March 29, 2021 8:14am by Shivon Kunondjo Hindjou
    Shivon Kunondjo Hindjou
    1,402 Points
    • CSS
    • CSS Basics
    • Basic Selectors
    • ID and Class Selectors

    1 Answer

  • Abdulrahman Jamal
    Abdulrahman Jamal
    1,739 Points

    In the HTML file, give the section element an ID name of experience i did but its says wrong , can someone explain pls

    Posted February 9, 2021 2:50pm by Abdulrahman Jamal
    Abdulrahman Jamal
    1,739 Points
    • CSS
    • CSS Basics
    • Basic Selectors
    • ID and Class Selectors

    1 Answer

  • Ernest Booth
    Ernest Booth
    5,646 Points

    class attribute for h1 is not working properly

    Posted February 4, 2021 2:54am by Ernest Booth
    Ernest Booth
    5,646 Points
    • CSS
    • CSS Basics
    • Basic Selectors
    • ID and Class Selectors

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord