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
Liam Hayes
Full Stack JavaScript Techdegree Student 13,116 PointsQuestion about being in an "editing state"
How's it going guys?
I came across this quiz question and I was wondering if someone could explain it to me. Here's the question:
You will often need to provide the user with one or more HTML input elements when your application is in an "editing state".
And the answer to the question is:
True
Does anyone understand what this question is asking?
Liam Hayes
Full Stack JavaScript Techdegree Student 13,116 PointsThe Quiz is called "Adding and Removing Names Review."
It's inside this course: "DOM Scripting by Example"
1 Answer
Dave StSomeWhere
19,870 Points"Editing State" means making changes to data and one common way to get the data change requests from the user is from HTML input elements.
For example - updating your profile information, aka change your profile information, aka edit your profile information - hence "Editing State". Then, you can use an HTML input textbox to enter a name or other profile info.
Liam Hayes
Full Stack JavaScript Techdegree Student 13,116 PointsOkay, awesome, thank you!
So now I get what "editing state" means.
As far as the rest of the question, why is it that you often need to provide the user with one or more HTML input elements when your application is in "editing state"?
Dave StSomeWhere
19,870 PointsOne common way to get user input is though an HTML form which contains input elements - the fields that the user types the data into - like this comment box.
I am right now in an "Editing State" using the text area (input html element) to post a comment.
Liam Hayes
Full Stack JavaScript Techdegree Student 13,116 PointsThanks man!
I marked your answer as best answer by the way.
Hey, if I could ask you just one more follow up question,
how do I put my application into "editing state"?
Thanks bro
Dave StSomeWhere
19,870 PointsGood deal Liam,
Not sure where you are in your courses but I would check out the HTML Forms Course.
You might also be over thinking the "Editing State" thing a bit... There isn't a editing state command or anything like that . Anything asking for user input is basically an editing state. Just like saying I reading text so I'm in a read only state.
Alexander Davison
65,469 PointsAlexander Davison
65,469 PointsWhich quiz are you taking?