Creating Grocery List with Conditional Statements

Was trying to create a grocery list with conditional statements. I was having trouble with the line 4 conecting eith the line 2 command