Skip to main content

🚀 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
  • Nicolás Melgarejo
    Nicolás Melgarejo
    15,845 Points

    My solution

    Posted June 8, 2022 5:35am by Nicolás Melgarejo
    Nicolás Melgarejo
    15,845 Points
    • JavaScript
    • One Solution

    1 Answer

  • Kirito Asuna
    Kirito Asuna
    2,329 Points

    I am getting this "Error loading this resource" while playing video.

    Posted April 24, 2022 9:11am by Kirito Asuna
    Kirito Asuna
    2,329 Points
    • JavaScript
    • One Solution

    1 Answer

  • Julieta Dalla Pozza
    Julieta Dalla Pozza
    4,337 Points

    Select elements by id or class

    Posted January 15, 2022 3:01pm by Julieta Dalla Pozza
    Julieta Dalla Pozza
    4,337 Points
    • JavaScript
    • One Solution

    2 Answers

  • JASON PETERSEN
    JASON PETERSEN
    14,266 Points

    My for...in loop isn't working.

    Posted August 23, 2021 8:17pm by JASON PETERSEN
    JASON PETERSEN
    14,266 Points
    • JavaScript
    • One Solution

    2 Answers

  • Isaac Hillaker
    Isaac Hillaker
    9,045 Points

    Question#4 Not Working

    Posted April 16, 2021 9:53pm by Isaac Hillaker
    Isaac Hillaker
    9,045 Points
    • JavaScript
    • One Solution

    1 Answer

  • Thomas Thelen-Clemmons
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Thomas Thelen-Clemmons
    Python Development Techdegree Graduate 13,757 Points

    Best practice question

    Posted July 27, 2020 5:30pm by Thomas Thelen-Clemmons
    .a{fill-rule:evenodd;}techdegree seal-36
    Thomas Thelen-Clemmons
    Python Development Techdegree Graduate 13,757 Points
    • JavaScript
    • One Solution

    3 Answers

  • Joseph Michelini
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Joseph Michelini
    Python Development Techdegree Graduate 18,692 Points

    Confused about when it is necessary to iterate through selections and when it is not?

    Posted May 24, 2020 6:12pm by Joseph Michelini
    .a{fill-rule:evenodd;}techdegree seal-36
    Joseph Michelini
    Python Development Techdegree Graduate 18,692 Points
    • JavaScript
    • One Solution

    1 Answer

  • Joseph Tavinor
    Joseph Tavinor
    8,397 Points

    Why does nth-of-type not work?

    Posted May 12, 2020 11:28am by Joseph Tavinor
    Joseph Tavinor
    8,397 Points
    • JavaScript
    • One Solution

    1 Answer

  • Hamzah Iqbal
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Hamzah Iqbal
    Full Stack JavaScript Techdegree Student 11,145 Points

    Why can I use querySelector to select class, on question 3, but not on number 5?

    Posted December 25, 2019 8:36pm by Hamzah Iqbal
    .a{fill-rule:evenodd;}techdegree
    Hamzah Iqbal
    Full Stack JavaScript Techdegree Student 11,145 Points
    • JavaScript
    • One Solution

    4 Answers

  • fairest
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    fairest
    Full Stack JavaScript Techdegree Graduate 19,303 Points

    Why not always use querySelector or querySelectorAll?

    Posted September 29, 2019 12:12am by fairest
    .a{fill-rule:evenodd;}techdegree seal-36
    fairest
    Full Stack JavaScript Techdegree Graduate 19,303 Points
    • JavaScript
    • One Solution

    3 Answers

  • Vijayalaxmi vastrad
    Vijayalaxmi vastrad
    2,789 Points

    3rd question not working

    Posted September 23, 2019 8:03am by Vijayalaxmi vastrad
    Vijayalaxmi vastrad
    2,789 Points
    • JavaScript
    • One Solution

    2 Answers

  • Doron Geyer
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Doron Geyer
    Full Stack JavaScript Techdegree Student 13,898 Points

    Code for this particular exercise doesnt seem to update the webpage.

    Posted September 13, 2019 12:35pm by Doron Geyer
    .a{fill-rule:evenodd;}techdegree
    Doron Geyer
    Full Stack JavaScript Techdegree Student 13,898 Points
    • JavaScript
    • One Solution

    3 Answers

  • Siddharth Pande
    Siddharth Pande
    9,046 Points

    review my code please

    Posted June 2, 2019 12:59pm by Siddharth Pande
    Siddharth Pande
    9,046 Points
    • JavaScript
    • One Solution

    1 Answer

  • Maren Lilleberre
    Maren Lilleberre
    17,531 Points

    Nothing changes on the webpage

    Posted April 17, 2019 10:07am by Maren Lilleberre
    Maren Lilleberre
    17,531 Points
    • JavaScript
    • One Solution

    3 Answers

  • Javano Collins
    Javano Collins
    9,108 Points

    Why do we need a for loop for change the h2 elements?

    Posted March 13, 2019 11:34pm by Javano Collins
    Javano Collins
    9,108 Points
    • JavaScript
    • One Solution

    4 Answers

  • Scott Miller
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Scott Miller
    Python Development Techdegree Student 7,655 Points

    I thought we had to use the ID (#) and class (.) identifiers when we get elements, but here, we didn't have to.

    Posted March 7, 2019 4:07pm by Scott Miller
    .a{fill-rule:evenodd;}techdegree
    Scott Miller
    Python Development Techdegree Student 7,655 Points
    • JavaScript
    • One Solution

    2 Answers

  • Kishan P
    Kishan P
    9,921 Points

    need help with the second question?

    Posted December 17, 2018 4:56pm by Kishan P
    Kishan P
    9,921 Points
    • JavaScript
    • One Solution

    1 Answer

  • Leo Marco Corpuz
    Leo Marco Corpuz
    18,975 Points

    for loops and class 'card' from Selecting DOM practice workshop

    Posted September 2, 2018 9:19pm by Leo Marco Corpuz
    Leo Marco Corpuz
    18,975 Points
    • JavaScript
    • One Solution

    1 Answer

  • Raul Cisneros
    Raul Cisneros
    7,319 Points

    Hmm..the video does not match the 8 questions I have. Oh well, it was still fun, and great practice.

    Posted August 10, 2018 4:58am by Raul Cisneros
    Raul Cisneros
    7,319 Points
    • JavaScript
    • One Solution

    0 Answers

  • Jonathan Fuentes
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Jonathan Fuentes
    Full Stack JavaScript Techdegree Student 11,191 Points

    Need help understanding querySelectorAll

    Posted July 7, 2018 9:42am by Jonathan Fuentes
    .a{fill-rule:evenodd;}techdegree
    Jonathan Fuentes
    Full Stack JavaScript Techdegree Student 11,191 Points
    • JavaScript
    • One Solution

    2 Answers

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