Euler Problem #13

by gcarino

HTML

<div id='header'><h1>Project Euler Problem 4:</h1></div>
<div id='container'><h4>Work out the first ten digits of the sum of the following one-hundred 50-digit numbers. (<a href='http://projecteuler.net/problem=13'>See Project Euler Website for actual numbers)</a></h4>
<p id='ans'></p>
</div>

CSS

h1{
    text-align:center;
    color:#FFFFFF;
}

#header {
    height:80px;
    width:400px;
    background-color: #1E90FF;
    border-radius:20px;
    margin:auto;
    border:solid 4px #008B8B;
}

#container {
    background-color:gainsboro;
    height:130px;
    padding: 10px;
    margin-top:15px;
    border:solid 4px grey;
    border-radius: 5px;

}

JavaScript

var nums =...