JSFiddle - React, Tailwind, and code Playground

by dibyaranjan3177

HTML

<html>
<body onload = "function1()">
<script>
    function function1(){
    document.write("hello");
}
function prev(){
    document.write("hi");
}
function next(){
    docment.write("bye");
}
    </script>    
<input type = "submit" value = "previous" onClick = "prev()"/>
<input type = "submit" value = "next" onClick = "next()"/>
</body>
</html>