Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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,939 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.