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

New No-Code Track! 🚀 New videos dropping every week—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
    • Community Projects
    • Live Sessions
    • 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
  • Community Projects Live Sessions 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
  • jason limmm
    jason limmm
    8,009 Points

    anything wrong with this code?

    Posted June 29, 2024 5:25am by jason limmm
    jason limmm
    8,009 Points
    • JavaScript
    • JavaScript and the DOM
    • Getting a Handle on the DOM
    • Select by Tag Name

    1 Answer

  • William Domenech
    William Domenech
    7,259 Points

    i am stuck and i have no idea whats next

    Posted June 28, 2023 1:06am by William Domenech
    William Domenech
    7,259 Points
    • JavaScript
    • JavaScript and the DOM
    • Getting a Handle on the DOM
    • Select by Tag Name

    1 Answer

  • Charlotte Jane Pollard
    PLUS
    Charlotte Jane Pollard
    Courses Plus Student 3,200 Points

    I don't understand the error.. is there a bug because I'm sure I've answered it right??? :/

    Posted October 25, 2022 6:26pm by Charlotte Jane Pollard
    Charlotte Jane Pollard
    Courses Plus Student 3,200 Points
    • JavaScript
    • JavaScript and the DOM
    • Getting a Handle on the DOM
    • Select by Tag Name

    1 Answer

  • Adlan Ilyasov
    Adlan Ilyasov
    2,476 Points

    Cannot read property '1' of null Im not really sure what im doing wrong here. Help would be appriciated

    Posted October 15, 2022 10:37pm by Adlan Ilyasov
    Adlan Ilyasov
    2,476 Points
    • JavaScript
    • JavaScript and the DOM
    • Getting a Handle on the DOM
    • Select by Tag Name

    1 Answer

  • Ali Billow
    Ali Billow
    2,819 Points

    Working with the DOM - Help with challenge!

    Posted September 11, 2022 10:52am by Ali Billow
    Ali Billow
    2,819 Points
    • JavaScript
    • JavaScript and the DOM
    • Getting a Handle on the DOM
    • Select by Tag Name

    3 Answers

  • Tarun Roy
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Tarun Roy
    Python Development Techdegree Student 235 Points

    Cannot read property '1' of null

    Posted September 8, 2022 7:36am by Tarun Roy
    .a{fill-rule:evenodd;}techdegree
    Tarun Roy
    Python Development Techdegree Student 235 Points
    • JavaScript
    • JavaScript and the DOM
    • Getting a Handle on the DOM
    • Select by Tag Name

    1 Answer

  • Bodie Wood
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Bodie Wood
    Full Stack JavaScript Techdegree Student 4,027 Points

    Why doesnt `document.getElementsByTagName('ul');` work?

    Posted July 17, 2022 9:33pm by Bodie Wood
    .a{fill-rule:evenodd;}techdegree
    Bodie Wood
    Full Stack JavaScript Techdegree Student 4,027 Points
    • JavaScript
    • JavaScript and the DOM
    • Getting a Handle on the DOM
    • Select by Tag Name

    1 Answer

  • Sippi Software
    Sippi Software
    6,648 Points

    helpme

    Posted July 9, 2022 8:13am by Sippi Software
    Sippi Software
    6,648 Points
    • JavaScript
    • JavaScript and the DOM
    • Getting a Handle on the DOM
    • Select by Tag Name

    2 Answers

  • Patrick Thomas
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Patrick Thomas
    Full Stack JavaScript Techdegree Student 3,529 Points

    I need help writing this code? So, I use the HTML Collection method, and it is not reading it.

    Posted July 5, 2022 7:31pm by Patrick Thomas
    .a{fill-rule:evenodd;}techdegree
    Patrick Thomas
    Full Stack JavaScript Techdegree Student 3,529 Points
    • JavaScript
    • JavaScript and the DOM
    • Getting a Handle on the DOM
    • Select by Tag Name

    2 Answers

  • Kennedy Malonga
    Kennedy Malonga
    22,856 Points

    Complete the code by setting the variable listItems to refer to an HTMLCollection. The collection should contain all lis

    Posted April 20, 2022 3:28am by Kennedy Malonga
    Kennedy Malonga
    22,856 Points
    • JavaScript
    • JavaScript and the DOM
    • Getting a Handle on the DOM
    • Select by Tag Name

    3 Answers

  • Caleb Newell
    Caleb Newell
    12,562 Points

    Setting variable listItems to refer to an HTMLCollection

    Posted April 7, 2022 6:05pm by Caleb Newell
    Caleb Newell
    12,562 Points
    • JavaScript
    • JavaScript and the DOM
    • Getting a Handle on the DOM
    • Select by Tag Name

    1 Answer

  • Oscar Gonzalez
    Oscar Gonzalez
    7,113 Points

    Javascript and the DOM challenge Task 1/1

    Posted March 24, 2022 1:53am by Oscar Gonzalez
    Oscar Gonzalez
    7,113 Points
    • JavaScript
    • JavaScript and the DOM
    • Getting a Handle on the DOM
    • Select by Tag Name

    1 Answer

  • Ryan Woods
    Ryan Woods
    3,682 Points

    im not sure what it is specifically asking? I had to look deep into the internet to find the solution

    Posted March 16, 2022 10:50pm by Ryan Woods
    Ryan Woods
    3,682 Points
    • JavaScript
    • JavaScript and the DOM
    • Getting a Handle on the DOM
    • Select by Tag Name

    1 Answer

  • Aikins Dwamena
    Aikins Dwamena
    4,423 Points

    Bummer: Cannot read property '1' of null How do i fix this?

    Posted December 25, 2021 3:16pm by Aikins Dwamena
    Aikins Dwamena
    4,423 Points
    • JavaScript
    • JavaScript and the DOM
    • Getting a Handle on the DOM
    • Select by Tag Name

    1 Answer

  • Altug Sahan
    Altug Sahan
    5,695 Points

    Shouldn't this be working?

    Posted November 27, 2021 11:28am by Altug Sahan
    Altug Sahan
    5,695 Points
    • JavaScript
    • JavaScript and the DOM
    • Getting a Handle on the DOM
    • Select by Tag Name

    1 Answer

  • Oleksandra Smith
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Oleksandra Smith
    Front End Web Development Techdegree Student 9,361 Points

    Loop question

    Posted November 10, 2021 4:42pm by Oleksandra Smith
    .a{fill-rule:evenodd;}techdegree
    Oleksandra Smith
    Front End Web Development Techdegree Student 9,361 Points
    • JavaScript
    • JavaScript and the DOM
    • Getting a Handle on the DOM
    • Select by Tag Name

    1 Answer

  • Valeriya Kamenetska
    Valeriya Kamenetska
    15,832 Points

    I am not sure why the code below is not working

    Posted October 28, 2021 11:23am by Valeriya Kamenetska
    Valeriya Kamenetska
    15,832 Points
    • JavaScript
    • JavaScript and the DOM
    • Getting a Handle on the DOM
    • Select by Tag Name

    1 Answer

  • Rafael Singer
    PLUS
    Rafael Singer
    Courses Plus Student 13,161 Points

    Keep getting error message "Cannot read property '1' of null"

    Posted October 18, 2021 3:58am by Rafael Singer
    Rafael Singer
    Courses Plus Student 13,161 Points
    • JavaScript
    • JavaScript and the DOM
    • Getting a Handle on the DOM
    • Select by Tag Name

    1 Answer

  • marin keo
    marin keo
    7,131 Points

    I'm completely lost, can anyone give me a hand?

    Posted October 4, 2021 4:46pm by marin keo
    marin keo
    7,131 Points
    • JavaScript
    • JavaScript and the DOM
    • Getting a Handle on the DOM
    • Select by Tag Name

    1 Answer

  • Valentino Figueroa
    Valentino Figueroa
    4,923 Points

    How is my code broken,,?

    Posted September 17, 2021 3:48am by Valentino Figueroa
    Valentino Figueroa
    4,923 Points
    • JavaScript
    • JavaScript and the DOM
    • Getting a Handle on the DOM
    • Select by Tag Name

    2 Answers

  • Louis Riddle
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Louis Riddle
    Front End Web Development Techdegree Graduate 12,982 Points

    Cannot read property of 1 null

    Posted August 17, 2021 9:03pm by Louis Riddle
    .a{fill-rule:evenodd;}techdegree seal-36
    Louis Riddle
    Front End Web Development Techdegree Graduate 12,982 Points
    • JavaScript
    • JavaScript and the DOM
    • Getting a Handle on the DOM
    • Select by Tag Name

    1 Answer

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.