Let's go through their code line by line to find out why it's not working and figure out how to fix it.