if(condition) { // code to run if condition is true } else { // code to run if condition is false }
This Pen is owned by Abhishek Nagekar on CodePen.
See more by @abhn on CodePen
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.