Please don’t post screen shots unless you use Photoshop to edit your code. Copy and paste the code and use the
</> button to format it as code. Don’t forget to use the Preview tab to check that it looks okay.
You can’t have
What Steven said and probably the second
if-else needs all to be indented one more notch.