• Home
  • Free Trial
  • Sign In
  • Techdegree
  • Tracks
  • Library
  • Community
  • Support
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Go
      • • HTML
      • • iOS
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • Ruby
      • • Security
      • • Swift
  • Doron Geyer
    Doron Geyer
    Full Stack JavaScript Techdegree Student 7,547 Points

    small queries with the first video

    Posted October 9, 2019 8:26am by Doron Geyer
    Doron Geyer
    Full Stack JavaScript Techdegree Student 7,547 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Registering Names

    2 Answers

  • Siddharth Pandey
    Siddharth Pandey
    4,184 Points

    How is the parameter of a function an event object?

    Posted July 14, 2019 5:31pm by Siddharth Pandey
    Siddharth Pandey
    4,184 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Registering Names

    1 Answer

  • Siddharth Pandey
    Siddharth Pandey
    4,184 Points

    Why doesn't my code work?

    Posted July 12, 2019 3:16am by Siddharth Pandey
    Siddharth Pandey
    4,184 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Registering Names

    2 Answers

  • Amandeep Pasricha
    Amandeep Pasricha
    14,928 Points

    Shouldn't li have been 'let' as opposed to 'const' because we altered one of its properties (textContent)?

    Posted June 16, 2019 1:02pm by Amandeep Pasricha
    Amandeep Pasricha
    14,928 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Registering Names

    1 Answer

  • Amandeep Pasricha
    Amandeep Pasricha
    14,928 Points

    Would the code have worked if we didn't put e as a parameter in the beginning, and proceeded to write input.target?

    Posted June 16, 2019 12:37pm by Amandeep Pasricha
    Amandeep Pasricha
    14,928 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Registering Names

    1 Answer

  • Crystal Morrison
    Crystal Morrison
    11,076 Points

    Console error on my web site...

    Posted October 23, 2018 12:05pm by Crystal Morrison
    Crystal Morrison
    11,076 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Registering Names

    3 Answers

  • baderbouta
    baderbouta
    7,802 Points

    ul.appendChild(li)? Shouldn't it be this instead?

    Posted October 8, 2018 12:12pm by baderbouta
    baderbouta
    7,802 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Registering Names

    1 Answer

  • Peter Retvari
    Peter Retvari
    Full Stack JavaScript Techdegree Student 8,392 Points

    Submit vs. Click event

    Posted August 11, 2018 8:07am by Peter Retvari
    Peter Retvari
    Full Stack JavaScript Techdegree Student 8,392 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Registering Names

    1 Answer

  • Tuan Phan
    Tuan Phan
    10,824 Points

    input.value = ``; //This make empty string instead of the following things in the video.

    Posted June 28, 2018 2:58pm by Tuan Phan
    Tuan Phan
    10,824 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Registering Names

    3 Answers

  • Greg Schudel
    Greg Schudel
    4,090 Points

    Cannot read property 'querySelector' of null -- No idea why

    Posted March 15, 2018 8:35pm by Greg Schudel
    Greg Schudel
    4,090 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Registering Names

    5 Answers

  • Rosario Dawson
    Rosario Dawson
    400 Points

    Uncaught ReferenceError: inputText is not defined

    Posted November 18, 2017 1:50pm by Rosario Dawson
    Rosario Dawson
    400 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Registering Names

    3 Answers

  • Mike John
    Mike John
    3,182 Points

    What is the (e) parameter in the EventListener.?? I couldnt get my head around it.

    Posted November 13, 2017 8:37am by Mike John
    Mike John
    3,182 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Registering Names

    3 Answers

  • ywang04
    ywang04
    6,735 Points

    document.querySelector('input'); VS form.querySelector('input');

    Posted September 11, 2017 4:17am by ywang04
    ywang04
    6,735 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Registering Names

    1 Answer

  • Ryan Schmelter
    Ryan Schmelter
    9,710 Points

    Clearing the input field leaves the field completely empty instead of with the "Invite Someone" text.

    Posted August 6, 2017 6:57pm by Ryan Schmelter
    Ryan Schmelter
    9,710 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Registering Names

    2 Answers

  • Peter Larson
    Peter Larson
    6,411 Points

    In the event listener, what is the "e" parameter?

    Posted August 1, 2017 11:50pm by Peter Larson
    Peter Larson
    6,411 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Registering Names

    1 Answer

  • Diego Palma
    Diego Palma
    12,653 Points

    I'm getting the following error in the console (my code is exactly the same as the one in the video)

    Posted July 24, 2017 12:44pm by Diego Palma
    Diego Palma
    12,653 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Registering Names

    2 Answers

  • erika harvey
    PRO
    erika harvey
    Pro Student 14,540 Points

    does not show up on for the manipulating the dom

    Posted May 30, 2017 8:12pm by erika harvey
    erika harvey
    Pro Student 14,540 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Registering Names

    7 Answers

  • Justin Hicks
    Justin Hicks
    14,290 Points

    I have question on if there is any unforeseen issue with how I did Registering Names

    Posted May 1, 2017 2:39am by Justin Hicks
    Justin Hicks
    14,290 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Registering Names

    1 Answer

  • Mike Gugliuzza
    Mike Gugliuzza
    6,595 Points

    Javascript data to a server.

    Posted April 21, 2017 1:40am by Mike Gugliuzza
    Mike Gugliuzza
    6,595 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Registering Names

    1 Answer

  • Primadonna Javier
    Primadonna Javier
    iOS Development Techdegree Student 4,236 Points

    ul.createElement is not a function error?

    Posted March 31, 2017 5:46pm by Primadonna Javier
    Primadonna Javier
    iOS Development Techdegree Student 4,236 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Registering Names

    2 Answers

  • abdos essamas
    abdos essamas
    Front End Web Development Techdegree Student 477 Points

    function Text() { [native code] }, showed me that in li value??

    Posted March 27, 2017 7:33am by abdos essamas
    abdos essamas
    Front End Web Development Techdegree Student 477 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Registering Names

    1 Answer

  • Kevin Dunn
    Kevin Dunn
    6,623 Points

    creating const inside of event handler

    Posted March 25, 2017 1:41pm by Kevin Dunn
    Kevin Dunn
    6,623 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Registering Names

    4 Answers

  • Jonathan Grieve
    MOD
    Jonathan Grieve
    Treehouse Moderator 83,944 Points

    Dom Scripting and Memory Usage

    Posted January 23, 2017 5:26pm by Jonathan Grieve
    Jonathan Grieve
    Treehouse Moderator 83,944 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Registering Names

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Our mission is to bring affordable technology education to people everywhere in order to help them achieve their dreams and change the world.
Our Company
About Us
Contact Us
Community
Treehouse Stories
Student Perks
Treehouse Blog
Affiliate Program
Careers
Topics
HTML
CSS
Design
JavaScript
Ruby
PHP
iOS
Android
Development Tools
Business
Tracks
Web Design
Web Development
Rails Development
PHP Development
iOS Development
Android Development
Starting a Business
  • Treehouse Blog
  • About Treehouse
  • Privacy Policy
  • Terms & Conditions
  • © 2019 Treehouse Island, Inc.

Sign in

I forgot my password