It's elsif, not elseif.
elsif
elseif
Slightly confusing when you're new, probably.
Try with elsif (no second e).
e
Source