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

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

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

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • 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
  • 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,526 Points

    How to optimised this code on step 5

    Posted June 2, 2020 10:18pm by Shung Chen
    Shung Chen
    6,526 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.

    Treehouse

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

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.