Home / Javascript Tips Generated By ChatGPT / Understanding else and else if in Javascript Provide alternate paths in conditional logic. Source Code let score = 75; if (score > 80) { console.log("Great job!"); } else if (score > 60) { console.log("Good job!"); } else { console.log("Try again!"); }