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 trialBilly Gibson Jr
Courses Plus Student 679 PointsI am also having trouble with the variable challenge. Here's my solution but the code isn't running. Please help
var noun = prompt( "Insert a noun here"); var verb = prompt( "Insert a verb here"); var adjective = prompt( "Insert a adjective here"); alert( " Your learnng Javascript "); document.write( " I see great things in your future " + noun + verb + "Keep it up" + adjective);
1 Answer
Steven Parker
231,268 PointsYou could make the output look a bit prettier, but the code runs just fine as-is.
How are you running it? If you're using the workspaces, you can make a snapshot of your workspace and post the link to it here to facilitate a more complete analysis.
Billy Gibson Jr
Courses Plus Student 679 PointsBilly Gibson Jr
Courses Plus Student 679 PointsOk here's the link https://w.trhou.se/p1unz1gier
Steven Parker
231,268 PointsSteven Parker
231,268 PointsAha! The workspace filesystem is case-sensitive, and your script tag is looking for "story.js" (with lower-case "s") but your actual filename is "Story.js" (with capital "S").
Billy Gibson Jr
Courses Plus Student 679 PointsBilly Gibson Jr
Courses Plus Student 679 PointsIt worked thanks so much Steven