2024-04-02 10:33:30 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>JavaScript Prov WU-2</title>
|
|
|
|
<link rel="stylesheet" href="css/style.css?v=2.1">
|
|
|
|
<link rel="shortcut icon" type="image/png" href="img/favicon.png">
|
|
|
|
<script src="js/script.js"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header>
|
|
|
|
<img src="img/js-logo.svg" alt="js logo">
|
|
|
|
<h1 id="h1-1">Prov i JavaScript</h1>
|
|
|
|
<h2 id="h2-1">Version 2</h2>
|
|
|
|
<nav>
|
2024-05-14 11:28:14 +00:00
|
|
|
<a id="menuBtn" href="#" id="menuBtn">☰ MENY</a>
|
2024-04-02 10:33:30 +00:00
|
|
|
<ul>
|
|
|
|
<li><a href="#">Hem</a></li>
|
|
|
|
<li>Sida 1</li>
|
|
|
|
<li>Sida 2</li>
|
|
|
|
<li>Sida 3</li>
|
|
|
|
<li>Sida 4</li>
|
|
|
|
<li>Sida 5</li>
|
|
|
|
<li>Sida 6</li>
|
|
|
|
<li>Om</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
<main>
|
|
|
|
<section>
|
|
|
|
<h2>Detta om detta</h2>
|
|
|
|
<h3>Ta bort</h3>
|
2024-05-14 11:28:14 +00:00
|
|
|
|
|
|
|
<p>Jan</p>
|
|
|
|
<p>Jansson</p>
|
|
|
|
<p>Lisa</p>
|
|
|
|
<p>Olsson</p>
|
|
|
|
<p>Eva</p>
|
2024-04-02 10:33:30 +00:00
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<h2>Mer om detta</h2>
|
|
|
|
<img src="img/henrik.png" width="150" alt="Bild på Henrik Bygren">
|
|
|
|
|
|
|
|
<p>Gå till <a href="http://dn.se">DN</a> och titta.</p>
|
|
|
|
</section>
|
|
|
|
<section id="country">
|
2024-05-14 11:10:05 +00:00
|
|
|
<h2>Viktiga städer i Sverige</h2>
|
2024-04-02 10:33:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
|
|
<section id="calc">
|
2024-05-14 11:28:14 +00:00
|
|
|
<h3>Klassisk räknare</h3>
|
2024-04-02 10:33:30 +00:00
|
|
|
<fieldset>
|
2024-05-14 11:28:14 +00:00
|
|
|
<legend>Ändra med 1</legend>
|
|
|
|
<button id="dec">-</button><output id="resCalc">0</output><button id="inc">+</button>
|
2024-04-02 10:33:30 +00:00
|
|
|
</fieldset>
|
|
|
|
</section>
|
|
|
|
</main>
|
|
|
|
<footer>
|
|
|
|
<section>Uppgift att lösa!</section>
|
|
|
|
</footer>
|
|
|
|
</body>
|
|
|
|
</html>
|