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 trialZachary Danz
Front End Web Development Techdegree Graduate 15,024 PointsUncaught TypeError: nameActions[action] is not a function
Hello all, I'm getting this error from line 107. I see someone else posted a similar problem but theirs was a typo. Not able to figure out what's wrong with my own code here... Thanks for taking a look!
2 Answers
Steven Parker
231,269 PointsLooks like your snapshot got fixed!
So the issue is that the button legends are being used as keys to access class methods, but the names don't match. The button legends have capital first letters (like "Edit"), but the method names are all lower case ("edit").
You can use either spelling as long as it's done consistently.
Zachary Danz
Front End Web Development Techdegree Graduate 15,024 PointsIt's amazing how little mistakes like this can get you so caught up - I was so careful earlier in the process to make sure I was paying attention to my own case sensitivity. Thank you so much! I really appreciate it
Steven Parker
231,269 PointsZachary Danz — Glad to help. You can mark the question solved by choosing a "best answer".
And happy coding!
Zachary Danz
Front End Web Development Techdegree Graduate 15,024 PointsSomehow all of my work has disappeared on this... I have no idea why. Maybe something to do with the maintenance? The Workspace has been reset to the original state from when you start the course. Ah well, thanks for looking Steven Parker
Steven Parker
231,269 PointsThe status page now says they're working on it, maybe it will be restored shortly. Keep an eye on it.
Henry Blandon
Full Stack JavaScript Techdegree Graduate 21,521 PointsHello, two things I recommend.
- download the files, they have a start file and final products, that way you can start from where you left.
- download the file and use your own editor, the one are planning to use for work, that way you will get familiarized with the shortcut keys, extensions etc. and also use git and branching just for practice that way you can refer to your previous version if something when wrong.
Steven Parker
231,269 PointsSteven Parker
231,269 PointsThe workspace snapshot seems to be empty (it exists, but has no files in it)! There was scheduled maintenance on workshops today, but the Status page says it has been completed.
In case the maintenance did something to the snapshot, try making a fresh one and posting the new link here.