Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript JavaScript and the DOM (Retiring) Making Changes to the DOM Appending Nodes

Richard Preske
PLUS
Richard Preske
Courses Plus Student 4,356 Points

get input not defined at line 7

https://w.trhou.se/esp9x180yd

Adding new elements on input and button yet error of input not defined at line 7.

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there, Richard Preske ! I took the liberty of forking the workspace and that wasn't the error I got. But in the fork that I made, the problem is that it's looking for a paragraph with the class name "description", but there isn't one. The second paragraph there (the one that says "Things that are purple") is meant to have class="description" in the HTML for that paragraph. After adding the class, it works as expected :tada:

Hope this helps! :sparkles: