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 Express Basics Serving Static Files in Express Merging the Design Files

Sheila Anguiano
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Sheila Anguiano
Full Stack JavaScript Techdegree Graduate 35,234 Points

Unable to get hint button to appear

My app works mostly like Andrew's except for the yellow hint button. And at this point I'm not entirely sure where is the problem. if it's in the JS or Pug files.

My code is in this repo

3 Answers

Disregard my previous answer. I totally missed the teacher's notes!

Sheila Anguiano it looks like the code on your repo is working now. Were you able to work it out?

If needed, my solution is here

Sheila Anguiano
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Sheila Anguiano
Full Stack JavaScript Techdegree Graduate 35,234 Points

Hello Mike Straw,

I think I solved it, inside the card.pug view, and you can see it working here:

Flash Cards Live Version

I used Heroku for the live version, and it was a pretty good challenge getting to work there, but is a good starting project for a Personal Portfolio

I'll try testing your solution, just to see how it works out, and I'd be a nice refresher, because it's been a while since I used Express

I'm actually completely confused by the whole hint button thing. The first time I knew anything about it was when he casually mentioned it in the video. The design files don't have one, and other solutions talk about a /public/js/app.js file, but I see nothing like that in the design files, and there's never been a mention of it anywhere outside this video.

Any insights anyone has would be helpful.