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 Building a MEAN Application Creating and Editing Data in a MEAN App Create and Update Data in Angular

Code provided in "Follow Along" and in Downloads tab not matching video.

I'm in agreement with others who said that this course started off great, but seems to be falling apart by this point. The code provided for following along should match on git and in the downloads tab. I'm working through this on my own as an exercise but it would be nice to have an explanation in the Teacher's Notes as to why it's different and how to conform it, if the code cannot be updated to match the video for some reason.

1 Answer

Daniel Breen
Daniel Breen
14,943 Points

I didn't try, but I think they may have accidentally edited out more of the video than intended. Did you try pausing the video and getting the code to match, then spinning it up to see if it worked?

If I really wanted to learn this deeply, here's what I would do:

  1. Pause the video and match my code up with Huston's from the beginning.
  2. Follow along for the muscle memory and learning.

Then...

  1. If all else fails, the very next tag has the correct code
git checkout tags/s6v1 -b templating-with-nginclude
npm install

Something similar happened to me in the previous section with Webpack not cooperating.

SOLUTION: Try your best and if all else fails get the code from the next lesson.

It's not ideal, but at least we don't have to quit learning with 20 minutes left to go. :)

Michael Hall
Michael Hall
Courses Plus Student 30,909 Points

this solution is the only thing saving my sanity. When the course is over, I will try to build my own app applying what I learned. I think that is the point anyway.