-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
118 lines (113 loc) · 3.38 KB
/
index.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!--Links-->
<link rel="icon" href="img/jolly.svg" />
<link rel="stylesheet" href="style/style.css" />
<!--Script-->
<script defer type="module" src="js/script.js"></script>
<title>Art Helper</title>
</head>
<body>
<main>
<div id="Page1">
<img
src="img/jolly.svg"
alt="Art Helper Logo"
class="arthelper__logo"
data-tilt
data-tilt-reverse="true"
data-tilt-max="30"
data-tilt-speed="5000"
/>
<div class="title">
<span>Art Helper</span>
</div>
<h2>Is it fake?</h2>
<form class="form" action="" method="post">
<input
type="text"
class="input__search"
placeholder="Type here the art name."
required
/>
<button
type="submit"
class="button button__search"
name="Search Button"
>
</form>
<div class="button__area">
Search
</button>
</div>
</div>
<div
id="Page2"
style="display: none"
data-tilt
data-tilt-reverse="true"
data-tilt-max="5"
data-tilt-speed="3000"
>
<h1 class="art__data">
<span class="art__author"></span>'s -
<span class="art__name"></span>
</h1>
<div class="row">
<div class="images">
<img
src="#"
loading="lazy"
alt="Real Art Miniature"
class="art__real"
/>
<img
src="#"
loading="lazy"
alt="Fake Art Miniature"
class="art__fake"
/>
</div>
<div class="realfake"><span>Real</span> <span class="span__fake">Fake</span></div>
<div class="art__details">
<div class="art__authenticity"></div>
<div class="art__description"></div>
<div class="selling">
Buying Price: <span class="art__price"></span
><img src="img/bell.png" alt="" />
</div>
</div>
</div>
<div class="button__area">
<button
class="button"
onclick="show('Page1','Page2')"
name="Search Button"
>
Go Back
</button>
</div>
</div>
</main>
<footer>
Made with ❤️ by
<a href="https://github.com/iuripaiva" target="_blank">Iuri Paiva</a>
</footer>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/vanilla-tilt/1.7.2/vanilla-tilt.js"
integrity="sha512-5RPueBRwDHxZ362heK/fya6Azw6ayHtn7nTqZnIoGFjiXdGAEvAjKco/FvzpTEIbfJI2Qxirl0/g21qizV/a/g=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script>
function show(shown, hidden) { // Function used to hide or show the second window with the art info
document.getElementById(shown).style.display = "block";
document.getElementById(hidden).style.display = "none";
return false;
}
</script>
</body>
</html>