{{theTime}}

Search This Blog

Total Pageviews

InnerHTML example

<!DOCTYPE html>
<html>
<body>

<h2>4+5=?</h2>

<p id="demo"></p>

<button type="button" onclick ='document.getElementById("demo").innerHTML = "Correct Answer!!"'>9</button>
<button type="button" onclick='document.getElementById("demo").innerHTML = "Wrong Answer!!"'>5</button>
<button type="button" onclick='document.getElementById("demo").innerHTML = "Wrong Answer!!"'>4</button>

<button type="button" onclick='document.getElementById("demo").innerHTML = "Wrong Answer!!"'>7</button>
</body>
</html>

No comments:

Cucumber Eclipse sample program

Cucumber Eclipse SetupCreate Eclipse Maven Project Open pom.xml Goto Dependencies Add GroupId: info.cukes, Artifact Id: cucumber-java, Versi...