Conditionals Logic - else if

Added parent into the mix of the code, with height