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<noob />
17,062 PointsHelp with a function in a project that im building
Hi. Im building an app for managing tools. I have a modal which contain alot of functions, such as add a tool, delete a tool and etc..
the yellow button is the EDIT && SAVE button. But i have a wierd problem there, if i click on edit, i got into the edit state and when i hit save all works fine, after that one attempt if i try to add another tool or click on other stuff suddenly the button changes to EDIT state and i dont know what causes this..
this is the snapshot: https://w.trhou.se/k1zi4hds3x
3 Answers
<noob />
17,062 PointsI will update the code for u
<noob />
17,062 PointsSteven Parker steven this is the updated code:
I have problem with 2 things. if u click on the TOOL LIST button ull open a modal with 4 buttons. 1 button for adding tools, 1 button for delete a tool, 1 button for edit&save tools and 1 button to choose a tool to fill automatically the main inputs in the page with the toolName and toolNum.
I have problems in the third and forth button which are the edit&save button and the choose a tool button.
the yellow button is the EDIT && SAVE button. But i have a wierd problem there, if i click on edit, i got into the edit state and when i hit save all works fine, after that one attempt if i try to add another tool or click on other stuff suddenly the button changes to EDIT state and i dont know what causes this..
Steven Parker
231,169 PointsIf I click on "TOOL LIST" I don't see any buttons (other than the same TOOL LIST button).
Instead, I see a white page with this across the top of it:
מגירה 1 מגירה 2 מגירה 3 מגירה 4 מגירה 5 מגירה 6 שונות
<noob />
17,062 PointsSteven Parker
231,169 PointsI was already tagged in the other "answer"!
Steven Parker
231,169 PointsSteven Parker
231,169 PointsTo investigate this, I'd need a bit more instruction on how to operate the page — and a version with legends in English