-
Notifications
You must be signed in to change notification settings - Fork 0
/
backtest.html
37 lines (36 loc) · 975 Bytes
/
backtest.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Profiel</title>
<style>
.profile-picture {
width: 150px;
height: 150px;
background-color: #ccc;
border-radius: 50%;
overflow: hidden;
}
.profile-picture img {
width: 100%;
height: 100%;
object-fit: cover;
}
</style>
</head>
<body>
<h1>Mijn Profiel</h1>
<div class="profile-picture" id="profile-picture">
<img id="profile-image" src="" alt="Profielfoto">
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
const userImage = localStorage.getItem('userimage');
if (userImage) {
document.getElementById('profile-image').src = userImage;
}
});
</script>
</body>
</html>