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
  • Michael Rushton
    Michael Rushton
    7,126 Points

    Why is this particular module retiring? Is all the content still up to date?

    Posted October 19, 2021 10:36am by Michael Rushton
    Michael Rushton
    7,126 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • Welcome and Overview

    0 Answers

  • Faith Wong
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Faith Wong
    Full Stack JavaScript Techdegree Student 3,174 Points

    Commands in browser JS console

    Posted February 25, 2021 6:04pm by Faith Wong
    .a{fill-rule:evenodd;}techdegree
    Faith Wong
    Full Stack JavaScript Techdegree Student 3,174 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • Thinking Globally

    2 Answers

  • James Estrada
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    James Estrada
    Full Stack JavaScript Techdegree Student 25,867 Points

    Where do methods and properties of the document object reside?

    Posted April 17, 2020 10:30pm by James Estrada
    .a{fill-rule:evenodd;}techdegree
    James Estrada
    Full Stack JavaScript Techdegree Student 25,867 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • Thinking Globally

    1 Answer

  • Robert O'Toole
    Robert O'Toole
    6,366 Points

    question about parents

    Posted December 30, 2019 3:15pm by Robert O'Toole
    Robert O'Toole
    6,366 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • What is the DOM?

    2 Answers

  • Rushabha Jain
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Rushabha Jain
    Full Stack JavaScript Techdegree Student 11,141 Points

    DOM or HTML Content?

    Posted November 9, 2019 4:37am by Rushabha Jain
    .a{fill-rule:evenodd;}techdegree
    Rushabha Jain
    Full Stack JavaScript Techdegree Student 11,141 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • Recap

    1 Answer

  • vamosrope14
    vamosrope14
    14,932 Points

    If location is a property of the global object window, weren't we supposed to write window.location.href?

    Posted June 14, 2019 1:49pm by vamosrope14
    vamosrope14
    14,932 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • Thinking Globally

    1 Answer

  • vamosrope14
    vamosrope14
    14,932 Points

    Does the "global environment" simply refer to the console in the browser?

    Posted June 14, 2019 1:38pm by vamosrope14
    vamosrope14
    14,932 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • Thinking Globally

    2 Answers

  • vamosrope14
    vamosrope14
    14,932 Points

    Do we refer to the properties of the window object as variables, properties or as objects?

    Posted June 14, 2019 1:33pm by vamosrope14
    vamosrope14
    14,932 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • Thinking Globally

    1 Answer

  • Kevin Ohlsson
    Kevin Ohlsson
    4,559 Points

    Whats the difference between Document and DOM?

    Posted August 5, 2018 5:34pm by Kevin Ohlsson
    Kevin Ohlsson
    4,559 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • The Browser Environment Review

    1 Answer

  • Kevin Ohlsson
    Kevin Ohlsson
    4,559 Points

    DOM & Document not the same?

    Posted July 25, 2018 9:26am by Kevin Ohlsson
    Kevin Ohlsson
    4,559 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • The Browser Environment Review

    1 Answer

  • Tyler Durden
    Tyler Durden
    2,406 Points

    May I recommend a clean, blank, text-editor is used for every new concept introduced?

    Posted June 10, 2018 1:59am by Tyler Durden
    Tyler Durden
    2,406 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • Welcome and Overview

    1 Answer

  • Cordelia Serrano
    Cordelia Serrano
    1,450 Points

    Hello Guil, Are the pre-requisite courses you mention the ones listed on the Teacher's notes?

    Posted April 13, 2018 6:08pm by Cordelia Serrano
    Cordelia Serrano
    1,450 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • Welcome and Overview

    2 Answers

  • Uche Onuekwusi
    Uche Onuekwusi
    18,072 Points

    When i typed document.getElementById("myheading").style.color="green" in my console i received an error

    Posted March 21, 2018 7:56pm by Uche Onuekwusi
    Uche Onuekwusi
    18,072 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • Thinking Globally

    2 Answers

  • wwyattw
    wwyattw
    10,389 Points

    In real practice, how often do you change the design/color via JS?

    Posted February 14, 2018 1:21am by wwyattw
    wwyattw
    10,389 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • Thinking Globally

    2 Answers

  • wwyattw
    wwyattw
    10,389 Points

    In real practice, how often do you change the design/color via JS?

    Posted February 14, 2018 1:20am by wwyattw
    wwyattw
    10,389 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • Thinking Globally

    1 Answer

  • Laurie Schock
    Laurie Schock
    12,129 Points

    Using Microsoft Edge. I receive console error: Object doesn't support property or method 'getElementByID'.

    Posted February 4, 2018 12:29am by Laurie Schock
    Laurie Schock
    12,129 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • Thinking Globally

    2 Answers

  • igorzinken
    igorzinken
    1,284 Points

    document.getElementsByTagName('p').style.background = 'yellow'

    Posted November 3, 2017 10:59am by igorzinken
    igorzinken
    1,284 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • Thinking Globally

    2 Answers

  • Marius Furnica
    Marius Furnica
    9,195 Points

    It;s written that i can use 100 workspaces per account how i can delete the to have new ones...

    Posted October 17, 2017 9:13am by Marius Furnica
    Marius Furnica
    9,195 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • Thinking Globally

    1 Answer

  • Charles Wanjohi
    Charles Wanjohi
    9,235 Points

    What could we say is the difference between document and DOM?

    Posted August 2, 2017 5:55am by Charles Wanjohi
    Charles Wanjohi
    9,235 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • The Browser Environment Review

    1 Answer

  • Devjyoti Ghosh
    Devjyoti Ghosh
    2,422 Points

    Why backgroundColor?

    Posted July 19, 2017 9:54am by Devjyoti Ghosh
    Devjyoti Ghosh
    2,422 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • Thinking Globally

    2 Answers

  • Hugo Paigneau
    Hugo Paigneau
    4,253 Points

    Got an error when i ue the document.getElementById('myHeading').style.color = 'purple' functon

    Posted July 16, 2017 6:07pm by Hugo Paigneau
    Hugo Paigneau
    4,253 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • Thinking Globally

    2 Answers

  • Colin Warn
    Colin Warn
    6,358 Points

    Uncaught TypeError: Cannot read property 'style' of null

    Posted July 13, 2017 2:31am by Colin Warn
    Colin Warn
    6,358 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • Thinking Globally

    2 Answers

  • Richard Brown
    Richard Brown
    6,950 Points

    Error in console, every time i open it.

    Posted June 26, 2017 3:04pm by Richard Brown
    Richard Brown
    6,950 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • Thinking Globally

    1 Answer

  • Wallace Pei
    Wallace Pei
    6,719 Points

    Stream in lower resolution

    Posted May 4, 2017 1:00pm by Wallace Pei
    Wallace Pei
    6,719 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • Thinking Globally

    0 Answers

  • Tomasz Cysewski
    Tomasz Cysewski
    2,736 Points

    Program in console: on click change color of myHeading

    Posted April 25, 2017 2:44pm by Tomasz Cysewski
    Tomasz Cysewski
    2,736 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • Thinking Globally

    1 Answer

  • Prashis Raghuwanshi
    Prashis Raghuwanshi
    477 Points

    Interactivity with JavaScript involves which three basic actions?

    Posted November 28, 2016 9:56pm by Prashis Raghuwanshi
    Prashis Raghuwanshi
    477 Points
    • JavaScript
    • JavaScript and the DOM (Retiring)
    • The Browser Environment
    • The Browser Environment Review

    1 Answer

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