I'm new to JavaScript. I'm trying to do the following could someone help please
- Fetch the list of people from the above URL
- Print the name of the youngest female
import "./styles.css";
const url = "https://randomuser.me/api/?results=10&seed=10&inc=name,gender,dob";
fetch(url)
.then((response) => {
return response.json();
})
.then((myJson) => {
console.log(myJson);
});
document.getElementById("app").innerHTML = `
<p>
Youngest female:
</p>
`;