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 DOM Scripting By Example Editing and Filtering Names Moving to an Editing State

Aakash Srivastav
seal-mask
.a{fill-rule:evenodd;}techdegree
Aakash Srivastav
Full Stack JavaScript Techdegree Student 11,638 Points

Moving to an edit state

I use input.setAttrubute instead of input.type , the result seems different. Looks like , CSS doesn't applied in here. Here is the image- Image

Steven Parker
Steven Parker
229,786 Points

The image appears to show styling, but I'm not seeing the input box I would expect while in edit mode.

To facilitate analysis of the issue, make a snapshot of your workspace and post the link to it here.

Ben Antino
Ben Antino
15,699 Points

I tried, both ways and it works! Share the code so we can give you more info and reason why it's not working.