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.

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

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

  • 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
  • Jamie Konrad
    Jamie Konrad
    2,301 Points

    I Copied the code from the Video yet the buttons dont show up, what am I doing wrong?

    Posted October 24, 2024 11:27am by Jamie Konrad
    Jamie Konrad
    2,301 Points
    • JavaScript
    • Interacting with the DOM
    • Traversing the DOM
    • Getting All Children of a Node with children

    1 Answer

  • Gal Parselany
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Gal Parselany
    Full Stack JavaScript Techdegree Graduate 26,281 Points

    why to add classname that dosent exist?!?!

    Posted February 22, 2023 9:20pm by Gal Parselany
    .a{fill-rule:evenodd;}techdegree seal-36
    Gal Parselany
    Full Stack JavaScript Techdegree Graduate 26,281 Points
    • JavaScript
    • Interacting with the DOM
    • Traversing the DOM
    • Getting All Children of a Node with children

    1 Answer

  • Samuel Kleos
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Samuel Kleos
    Front End Web Development Techdegree Student 13,728 Points

    Uncaught TypeError: li.appendChild is not a function

    Posted December 9, 2022 2:00am by Samuel Kleos
    .a{fill-rule:evenodd;}techdegree
    Samuel Kleos
    Front End Web Development Techdegree Student 13,728 Points
    • JavaScript
    • Interacting with the DOM
    • Traversing the DOM
    • Getting All Children of a Node with children

    1 Answer

  • Samuel Kleos
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Samuel Kleos
    Front End Web Development Techdegree Student 13,728 Points

    Why can't I add a button to the <li> before adding text content to the same <li>? See my snapshot.

    Posted December 9, 2022 1:51am by Samuel Kleos
    .a{fill-rule:evenodd;}techdegree
    Samuel Kleos
    Front End Web Development Techdegree Student 13,728 Points
    • JavaScript
    • Interacting with the DOM
    • Traversing the DOM
    • Getting All Children of a Node with children

    1 Answer

  • Stephen Cole
    PLUS
    Stephen Cole
    Courses Plus Student 15,811 Points

    Using a for..of loop is cleaner.

    Posted December 1, 2022 1:55am by Stephen Cole
    Stephen Cole
    Courses Plus Student 15,811 Points
    • JavaScript
    • Interacting with the DOM
    • Traversing the DOM
    • Getting All Children of a Node with children

    1 Answer

  • Alexis Hay
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Alexis Hay
    Front End Web Development Techdegree Student 8,693 Points

    Missing WorkSpace Button

    Posted February 19, 2022 5:38pm by Alexis Hay
    .a{fill-rule:evenodd;}techdegree
    Alexis Hay
    Front End Web Development Techdegree Student 8,693 Points
    • JavaScript
    • Interacting with the DOM
    • Traversing the DOM
    • Getting All Children of a Node with children

    5 Answers

  • Keith McGill
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Keith McGill
    Full Stack JavaScript Techdegree Student 6,852 Points

    Line 10, 'remove' class?

    Posted December 7, 2021 1:48pm by Keith McGill
    .a{fill-rule:evenodd;}techdegree
    Keith McGill
    Full Stack JavaScript Techdegree Student 6,852 Points
    • JavaScript
    • Interacting with the DOM
    • Traversing the DOM
    • Getting All Children of a Node with children

    2 Answers

  • Victor Reynaga
    Victor Reynaga
    5,054 Points

    Creating an element in the global scope

    Posted October 2, 2021 1:03am by Victor Reynaga
    Victor Reynaga
    5,054 Points
    • JavaScript
    • Interacting with the DOM
    • Traversing the DOM
    • Getting All Children of a Node with children

    0 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