Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed Asynchronous Programming with JavaScript!
You have completed Asynchronous Programming with JavaScript!
Instruction
Before You Continue
You may have noticed that the generateHTML() function in your project files or Workspace contains an if...else statement that's not shown in the videos. For example:
function generateHTML(data) {
const section = document.createElement('section');
peopleList.appendChild(section);
// Check if the request returns a 'standard' page from Wiki
if (data.type === 'standard') {
// Display ...