JSFiddle - React, Tailwind, and code Playground
by Alex Fogarty
JavaScript
if (5 > 10) {
alert("It is bigger!"); //this code only executes if the condition is TRUE
} else {
alert("It is smaller!"); //this code only runs if the condition is FALSE
}