-
Notifications
You must be signed in to change notification settings - Fork 0
/
ex_09.html
43 lines (43 loc) · 957 Bytes
/
ex_09.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Exercice 9</title>
<link rel="stylesheet" href="style/style.css">
<script src="bonus.js"></script>
<script src="script/ex_09.js"></script>
</head>
<body>
<div class="wrapper">
<div class="exercice">
<header>
9
</header>
<section>
<p>
Make it possible to move (drag'n'drop) the black square inside the white box area.
</p>
<p>
Then in the second white area, display the relative coordinates of the black square.
<p>
</section>
<footer>
<div>
<canvas></canvas>
</div>
<div>
New coordinates => {x:?, y:?}
</div>
</footer>
</div>
<nav>
<a href="ex_08.html" class="btn prev">
← Previous
</a>
<a href="ex_10.html" class="btn next">
Next →
</a>
</nav>
</div>
</body>
</html>