Align center

This commit is contained in:
2019-05-13 14:24:09 +02:00
parent 2de0807ca8
commit 6a66e44433

View File

@@ -2,10 +2,11 @@
<head>
<title>Min-Max</title>
</head>
<body>
<body style="text-align: center;">
<script>
let arr = Array.from({length: 10}, () => Math.random().toFixed(2));
document.write("<h1>Min-Max-Finder</h1>");
document.write(arr);
document.write("Minimum: " + Math.min(...arr));
document.write("Maximum: " + Math.max(...arr));