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 trialEli Levit
4,482 Pointsdoesn't work
is' working in workspace but exactly same thing writes me error in this test
const https = require('https');
const request = https.get(`https://teamtreehouse.com/chalkers.json`, response=>{
console.dir(response);
});
1 Answer
Steven Parker
231,236 PointsThis is pretty different from the instructions.
Did you actually follow the instructions, or just cut this from somewhere and paste it in? Some of the issues are:
- the challenge did not ask for a variable "request" to be created
- the accents around the string are used for template interpolation, regular quotes will do here
- the challenge does not ask for the entire response object to be logged
- the challenge does ask for just the result code to be logged
Remember that the challenges are not just duplicates of work done in the video projects. Always read and follow the directions carefully.