On page 32 where we are adding an alert view controller.
adding the textField line to this controller is missing.
right after the declaration of alert
This line should be there to add a text field to alert
alert.addTextField { (textField) in
textField.placeholder = "Enter Name"
}