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
  • Signe Blackburn
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Signe Blackburn
    Full Stack JavaScript Techdegree Student 528 Points

    #Task8 Hope this will work

    Posted July 26, 2022 9:11am by Signe Blackburn
    .a{fill-rule:evenodd;}techdegree
    Signe Blackburn
    Full Stack JavaScript Techdegree Student 528 Points
    • JavaScript
    • One Solution

    2 Answers

  • Andrea Rios
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Andrea Rios
    Front End Web Development Techdegree Student 10,078 Points

    Practice Manipulating the DOM - did same as teacher and nothing changes on website

    Posted July 17, 2022 4:52am by Andrea Rios
    .a{fill-rule:evenodd;}techdegree
    Andrea Rios
    Front End Web Development Techdegree Student 10,078 Points
    • JavaScript
    • One Solution

    3 Answers

  • Jesse Bayer
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Jesse Bayer
    Front End Web Development Techdegree Graduate 14,702 Points

    Task 8: Just wanted to make sure I wasn't making a mistake.

    Posted June 15, 2022 9:19pm by Jesse Bayer
    .a{fill-rule:evenodd;}techdegree seal-36
    Jesse Bayer
    Front End Web Development Techdegree Graduate 14,702 Points
    • JavaScript
    • One Solution

    1 Answer

  • 2pd
    2pd
    8,123 Points

    Task 8: Remove '.extra' <div> element from DOM when user clicks button

    Posted April 5, 2022 1:48pm by 2pd
    2pd
    8,123 Points
    • JavaScript
    • One Solution

    2 Answers

  • Charlie Bird
    Charlie Bird
    7,277 Points

    append or appendChild?

    Posted November 2, 2021 2:39pm by Charlie Bird
    Charlie Bird
    7,277 Points
    • JavaScript
    • One Solution

    1 Answer

  • LETITA BUZEA
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    LETITA BUZEA
    Full Stack JavaScript Techdegree Student 4,247 Points

    Task #8 : remove the '.extra' <div>

    Posted October 22, 2021 9:33am by LETITA BUZEA
    .a{fill-rule:evenodd;}techdegree
    LETITA BUZEA
    Full Stack JavaScript Techdegree Student 4,247 Points
    • JavaScript
    • One Solution

    1 Answer

  • Kristine Williams
    Kristine Williams
    12,470 Points

    Why is the button too small?

    Posted April 30, 2021 10:52pm by Kristine Williams
    Kristine Williams
    12,470 Points
    • JavaScript
    • One Solution

    1 Answer

  • Sadaf Partovi
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Sadaf Partovi
    Front End Web Development Techdegree Graduate 14,594 Points

    How can we decide which method to use when selecting an element.

    Posted December 25, 2020 8:08pm by Sadaf Partovi
    .a{fill-rule:evenodd;}techdegree seal-36
    Sadaf Partovi
    Front End Web Development Techdegree Graduate 14,594 Points
    • JavaScript
    • One Solution

    2 Answers

  • Kirt Perez
    Kirt Perez
    7,374 Points

    Omitting .add() method from the classList property?

    Posted December 4, 2020 7:33am by Kirt Perez
    Kirt Perez
    7,374 Points
    • JavaScript
    • One Solution

    1 Answer

  • msdsmd sm,dfsadf
    msdsmd sm,dfsadf
    1,124 Points

    When we should declare our variable inside the event handler and when we should declare them global.

    Posted September 20, 2020 1:35am by msdsmd sm,dfsadf
    msdsmd sm,dfsadf
    1,124 Points
    • JavaScript
    • One Solution

    2 Answers

  • Shung Chen
    Shung Chen
    6,527 Points

    How to optimised this code on step 5

    Posted June 2, 2020 10:18pm by Shung Chen
    Shung Chen
    6,527 Points
    • JavaScript
    • One Solution

    1 Answer

  • newwebcoder
    newwebcoder
    13,061 Points

    Const in DOM

    Posted May 20, 2020 12:39pm by newwebcoder
    newwebcoder
    13,061 Points
    • JavaScript
    • One Solution

    1 Answer

  • Darshen Patel
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Darshen Patel
    Front End Web Development Techdegree Student 18,928 Points

    This also seems to work for # 8.

    Posted April 19, 2020 3:46pm by Darshen Patel
    .a{fill-rule:evenodd;}techdegree
    Darshen Patel
    Front End Web Development Techdegree Student 18,928 Points
    • JavaScript
    • One Solution

    1 Answer

  • Michal Majewski
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Michal Majewski
    Full Stack JavaScript Techdegree Graduate 18,941 Points

    For task #1. Why getElementsByTagName doesn't work in this case?

    Posted February 23, 2020 3:00pm by Michal Majewski
    .a{fill-rule:evenodd;}techdegree seal-36
    Michal Majewski
    Full Stack JavaScript Techdegree Graduate 18,941 Points
    • JavaScript
    • One Solution

    1 Answer

  • Ru Song
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Ru Song
    Front End Web Development Techdegree Graduate 13,845 Points

    ul tag name or ul class name

    Posted August 18, 2019 10:28pm by Ru Song
    .a{fill-rule:evenodd;}techdegree seal-36
    Ru Song
    Front End Web Development Techdegree Graduate 13,845 Points
    • JavaScript
    • One Solution

    2 Answers

  • MIHA W.LEE
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    MIHA W.LEE
    PHP Development Techdegree Graduate 25,452 Points

    The inner Html question

    Posted August 5, 2019 3:54am by MIHA W.LEE
    .a{fill-rule:evenodd;}techdegree seal-36
    MIHA W.LEE
    PHP Development Techdegree Graduate 25,452 Points
    • JavaScript
    • One Solution

    1 Answer

  • vamosrope14
    vamosrope14
    14,932 Points

    For number 6, I was hesitant in creating a solution because there was no type attribute for input in the index.html?

    Posted June 15, 2019 10:05pm by vamosrope14
    vamosrope14
    14,932 Points
    • JavaScript
    • One Solution

    1 Answer

  • Siddharth Pande
    Siddharth Pande
    9,046 Points

    Review my Code Please

    Posted June 3, 2019 4:04pm by Siddharth Pande
    Siddharth Pande
    9,046 Points
    • JavaScript
    • One Solution

    1 Answer

  • Anna Astle
    Anna Astle
    13,614 Points

    Remove the '.extra' <div> element: not sure why my solution isn't working. Anyone willing to offer some help?

    Posted April 4, 2019 5:30am by Anna Astle
    Anna Astle
    13,614 Points
    • JavaScript
    • One Solution

    1 Answer

  • Ken Okiebisu
    Ken Okiebisu
    9,673 Points

    Changing text fields to checkboxes

    Posted February 7, 2019 4:24pm by Ken Okiebisu
    Ken Okiebisu
    9,673 Points
    • JavaScript
    • One Solution

    4 Answers

  • Samuel Elbaz
    Samuel Elbaz
    17,142 Points

    My Solutions, is a little bit different since I was doing research when I forgot which method to use.

    Posted November 14, 2018 8:21pm by Samuel Elbaz
    Samuel Elbaz
    17,142 Points
    • JavaScript
    • One Solution

    1 Answer

  • Seth Johnson
    Seth Johnson
    15,200 Points

    It appears to be working not *quite* like it should...

    Posted July 30, 2018 8:17pm by Seth Johnson
    Seth Johnson
    15,200 Points
    • JavaScript
    • One Solution

    1 Answer

  • Andrew LeQuang
    Andrew LeQuang
    4,970 Points

    I notice that the video use querySelector to select tag elements, but when I use it I need to use CSS.

    Posted January 16, 2018 8:41pm by Andrew LeQuang
    Andrew LeQuang
    4,970 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