JSFiddle - React, Tailwind, and code Playground

by Serhat Uzuncavdar

HTML

<button onclick="myFunction()">Example 1 Answer</button>
<br>
<button onclick="myFunction2()">Example 2 Answer</button><br>
<button onclick="myFunction3()">Example 3 Answer</button><br>
<button onclick="myFunction4()">Example 4 Answer</button>

JavaScript

function myFunction() {
  alert("10/63");
}
function myFunction2() {
  alert("13/10");
}
function myFunction3() {
  alert("37/30");
}function myFunction4() {
  alert("4/21");
}