Square Root of 128

HTML
<div class="well well-sm container"> <button onClick="test()" class="btn btn-primary btn-block">Solve for √128</button> <p id="test"></p> </div>
CSS
.well { margin-top: 10px; } p { font-size: 5em; text-align: center; }
JAVASCRIPT
function test() { document.getElementById("test").innerHTML = Math.sqrt(128); }
Expand for more options Login