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

HTML

Mark Grim
Mark Grim
8,014 Points

Foundation for Apps course outdated? Also, front matter blocks aren't working

I noticed that instead of a client folder, you get a src folder, instead of a templates folder, you get a pages folder, and instead of a build folder, you get a dist folder. I was kind of confused by this at first, making me think I didn't install everything properly.

And I can't access the about.html that Guil creates on the Creating Templates video. Doesn't matter if manually type it into the url or if I use the ui-sref attribute he uses in the next video.

1 Answer

David Bath
David Bath
25,940 Points

I noticed some incongruities with the folder names and terminal commands when I took the course, but otherwise I think the course content was valid.

With the about.html page, are you getting any errors in the console? Maybe that would give you a clue as to the problem.

Mark Grim
Mark Grim
8,014 Points

No errors in the console. But I noticed, that on the home page, I get "http://localhost:8000" without "/#!/", while in the videos it's "http://localhost:8000/#!/". Typing "http://localhost:8000/#!/about" in the address bar still puts me on the homepage, and if try typing "http://localhost:8000/about", I just get "Cannot GET /about" on the page.