Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Level 11 lesson 5 url not accepted

Even after passing the url given ,after clicking on the submit btn an error is displayed stating"call the makeHTTPCall function with the correct url"

code used:
function makeHTTPCall(url)
{
console.log("Making HTTP call: ", url);
setTimeout(processResponse,3000);
}

function processResponse()
{
console.log("response received...");
console.log("Processing response...");
}
makeHTTPCall(given url);
by

2 Answers

sam5epi0l
Hi Dikshita, Try passing the URL like this:


makeHTTPCall("https://studytonight.com/");


Let me know if you still face any errors.
AmosGloria
Hello, please how did you answer level 9, lesson 9? I'm stuck

Login / Signup to Answer the Question.