Else if in JavaScript

I have no idea how to go about inserting images into Java script using else if statement.

© 2017 GitHub, Inc.
with by
GitHub Education