it might be easier to see this is in the "if" if you indent this <div>