This commit is contained in:
2020-02-17 22:23:21 +01:00
parent 8e45aba7a3
commit 14232e3225
5 changed files with 71 additions and 76 deletions

View File

@@ -18,7 +18,7 @@ function almostIncreasingSequence(sequence) {
}
/* Test */
console.log("[1,3,2,1]" + " -> " + almostIncreasingSequence([1,3,2,1]));
console.log("[1,3,2]" + " -> " + almostIncreasingSequence([1,3,2]));
console.log("[1,3,2,4,5,6,8]" + " -> " + almostIncreasingSequence([1,3,2,4,5,6,8]));
console.log("[1,3,2,4,5,6,8,2]" + " -> " + almostIncreasingSequence([1,3,2,4,5,6,8,2]));
console.log(`[1,3,2,1] -> ${almostIncreasingSequence([1,3,2,1])}`);
console.log(`[1,3,2] -> " + ${almostIncreasingSequence([1,3,2])}`);
console.log(`[1,3,2,4,5,6,8] -> " + ${almostIncreasingSequence([1,3,2,4,5,6,8])}`);
console.log(`[1,3,2,4,5,6,8,2] -> " + ${almostIncreasingSequence([1,3,2,4,5,6,8,2])}`);

View File

@@ -1,15 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Oppgave X</title>
<link rel="stylesheet" href="../../../../resources/css/main.css">
<link rel="stylesheet" href="../../../../resources/css/main.css" />
<script async src="./script.js"></script>
</head>
<body>
<h1>Oppgave X</h1>
<div class="center">

View File

@@ -1,21 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Test</title>
<link rel="stylesheet" href="./resources/css/main.css">
<link rel="stylesheet" href="./resources/css/main.css" />
<script src="./resources/js/tasksJSON.js"></script>
<script async src="./resources/js/linkConnector.js"></script>
</head>
<body>
<h1>Test</h1>
<div class="center">
<div class="textboxGrid"></div>
</div>
</body>
</html>

View File

@@ -1,20 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Oppgave taskNumber</title>
<link rel="stylesheet" href="../../resources/css/main.css">
<link rel="stylesheet" href="../../resources/css/main.css" />
<script async src="./script.js"></script>
</head>
<body>
<h1>Oppgave taskNumber</h1>
<div class="center">
</div>
</body>
</html>