fetch(`https://api.github.com/users/id)
.then(response => response.json())
.then(console.log)
.catch(console.error)
async function requestGithubUser(id) {
try {
const response = await fetch(`https://api.github.com/users/${id}`);
const userData = await response.json();
console.log(userData)
} catch(error) {
console.log(error)
}
}