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

🤑 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

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

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

    #Task8 Hope this will work

    Posted on Jul 26, 2022 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 on Jul 17, 2022 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 on Jun 15, 2022 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 on Apr 5, 2022 by 2pd
    2pd
    8,123 Points
    • JavaScript
    • One Solution

    2 Answers

  • Charlie Bird
    Charlie Bird
    7,277 Points

    append or appendChild?

    Posted on Nov 2, 2021 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 on Oct 22, 2021 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 on Apr 30, 2021 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 on Dec 25, 2020 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 on Dec 4, 2020 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 on Sep 20, 2020 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 on Jun 2, 2020 by Shung Chen
    Shung Chen
    6,526 Points
    • JavaScript
    • One Solution

    1 Answer

  • newwebcoder
    newwebcoder
    13,061 Points

    Const in DOM

    Posted on May 20, 2020 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 on Apr 19, 2020 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 on Feb 23, 2020 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 on Aug 18, 2019 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 on Aug 5, 2019 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 on Jun 15, 2019 by vamosrope14
    vamosrope14
    14,932 Points
    • JavaScript
    • One Solution

    1 Answer

  • Siddharth Pande
    Siddharth Pande
    9,046 Points

    Review my Code Please

    Posted on Jun 3, 2019 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 on Apr 4, 2019 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 on Feb 7, 2019 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 on Nov 14, 2018 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 on Jul 30, 2018 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 on Jan 16, 2018 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.