const getData = async () => {
try {
const response = await axios.get(`https://randomuser.me/api/`);
console.log("1", response);
} catch (error) {
console.log(error);
}
try {
const response = await axios.get(`https://randomuser.me/api/`);
console.log("2", response);
} catch (error) {
console.log(error);
}
console.log("hi");
};
getData();
This Pen doesn't use any external CSS resources.