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
Jake Stapley
501 PointsI need to create a function call myFavPizza that accepts on parameter food. But when passed with pizza it should return.
create a function called "myFavFood" that accepts one parameter, "food" When passed 'pizza' myFavFood should return 'I love pizza'. When 'hot pockets' is passed, return 'hot pockets woo'. Finally, if food matches neither 'pizza' nor 'hot pockets', return 'I have bad taste in foods'
Jake Stapley
501 Pointsvar loop = 1; while ( ) { document.write("<p>Now in loop #" + counter + "</p>"); counter += 1; }
Jake Stapley
501 PointsI just need someone to teach me.
Kelly von Borstel
28,880 PointsHi, Jake. Could you tell me which lesson you're on... maybe post a link to the page? I'll see if I can help.
Kelly von Borstel
28,880 PointsHi, Jake. Do you still need help?
1 Answer
Tiffany McAllister
25,806 PointsIf you need someone to teach you, this is the perfect place to start:
Jake Stapley
501 PointsI passed that already.
jobbol
Full Stack JavaScript Techdegree Student 19,117 Pointsjobbol
Full Stack JavaScript Techdegree Student 19,117 PointsFirst, show proof that you've made an effort yourself. Then if you get stuck somewhere come back for help. Getting all your answers by being a help-vampire doesn't improve your skills.