Align center
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user