Sky020
21
When I say browser console, I am talking about the one you open with Ctrl + Shift + I
.
- Go to: https://www.freecodecamp.org/learn/apis-and-microservices/apis-and-microservices-projects/timestamp-microservice
- Open the browser console:
- Paste your app link into the solution box
- Click the “I’ve completed this challenge” button
- Look for errors in the browser console
Hope this clarifies
Sky020
23
Yes.
This is the test code:
$.get(getUserInput('url') + '/api/05 October 2011').then(
(data) => {
assert(
data.unix === 1317772800000 &&
data.utc === 'Wed, 05 Oct 2011 00:00:00 GMT'
);
},
(xhr) => {
throw new Error(xhr.responseText);
}
);
Is your system (computer) time incorrect?
Sky020
25
Suggestion: Change your clock to be 5.5hrs ahead
i changed my clock to be 5.5 hrs ahead but the responce still same
Sky020
27
Then, the last thing I can think of is you should host your app somewhere - you need to anyway, in order to be able to submit it.
I do not know if you have a provider in mind, but here are common options:
- Replit
- Glitch
- CodeSandbox
- Heroku
Hope this helps
system
Closed
28
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.