Skip to content

homework ten#11

Open
ChrissyDev wants to merge 2 commits into
mainfrom
homework-ten
Open

homework ten#11
ChrissyDev wants to merge 2 commits into
mainfrom
homework-ten

Conversation

@ChrissyDev

Copy link
Copy Markdown
Owner

No description provided.

Comment thread promises/task1.js Outdated
@@ -0,0 +1,7 @@
function delayedOutput(text, milliseconds) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

function name should represent an action - "What to do?"

Comment thread promises/task3.js Outdated
Comment on lines +3 to +7
const todoResponse = await fetch('https://jsonplaceholder.typicode.com/todos/1');
const userResponse = await fetch('https://jsonplaceholder.typicode.com/users/1');

const todoData = await todoResponse.json();
const userData = await userResponse.json();

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there should be 2 separated functions for user and todo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants