I would be grateful if someone can assess my code for JSON skill test. plus I had a doubt -
- Why are the
para1.textContent = motherInfo;and
para2.textContent = kittenInfo;lines inside the
displayCatInfo()function, and not at the end of the script? This has something to do with async code.
I did not understand this part in mdn article