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

Moving to an editing state

We could insert an elementBefore even if we haven't apended it to the dom before? I mean the span element has been created and appended but the input element haven't been appended and he was able to insert it before another element???

If you want more information, watch the video moving to an editing state in the dom scripting by example.

Hey Vic, did you have a specific question or was this supposed to be a response to another thread? :)