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
Jonathan Pettitt
Courses Plus Student 2,609 PointsHere's what I came up with for my variable challenge. what do you think?
Really I'm just curious on if i messed this up royally or did it come together for others?
Jonathan Pettitt
Courses Plus Student 2,609 Pointsvar adj = prompt ("Describe with one word your job");
var feeling = prompt ("How does this Job make you Feel?");
alert ("One More and Your Done!!!");
var result = prompt ("What is the result of that word? " +"Make sure this is also one word. " + " (Also Helps If It Rhymes)");
var word = prompt ("How about typing a curse word?");
alert ("you're done!!".toUpperCase());
document.write ("I have a " + adj + " Kind of work. " + "Makes me " + feeling + " When I work. " + "I'm " + result + " When I work." + word + " THATS WORK!!!");
1 Answer
Omprakash Panigrahi
9,632 Points var adj = prompt ("Describe with one word your job");
var feeling = prompt ("How does this Job make you Feel?");
alert ("One More and Your Done!!!");
var result = prompt ("What is the result of that word? " +"Make sure this is also one word. " + " (Also Helps If It
Rhymes)"); var word = prompt ("How about typing a curse word?");
alert ("you're done!!".toUpperCase());
document.write ("I have a " + adj + " Kind of work. " + "Makes me " + feeling + " When I work. " + "I'm " + result + " When I
work." + word + " THATS WORK!!!");
3 backticks <new line> < code goes here> <new line> 3 backticks
Kieran Barker
15,028 PointsKieran Barker
15,028 PointsHi, Jonathan! Please can you post your code here so we can have a look? If you put three backtick (`) characters before and after, itβll output as code.