JSFiddle - React, Tailwind, and code Playground

by dibyaranjan3177

HTML

<html>
<body>
            
<input type = "submit" value = "previous" onClick = "prev()"/>
<input type = "submit" value = "next" onClick = "next()"/>
</body>
</html>

JavaScript

function default(){
    var i=7;
    j=15;
    document.write(i+j);
    }
    function prev(){
    document.write("The name is bond");
    }
    function next(){
    document.write("Some message");
    }