-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
29 lines (29 loc) · 2.02 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@800&display=swap" rel="stylesheet">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<script src="https://cdn.tailwindcss.com"></script>
<title>Frontend Mentor | Advice generator app</title>
</head>
<body class="flex items-center bg-darkBlue justify-center min-h-screen flex-col font-manrope">
<button id="slideshow" class="rounded-lg py-2 px-3 bg-darkGrayishBlue outline-0 text-neonGreen outli text-base fixed top-8 right-8 hover:shadow-3xl hover:shadow-neonGreen">Slideshow</button>
<div class="bg-darkGrayishBlue flex flex-col items-center justify-center rounded-2xl p-6 w-4/5 max-w-xl ">
<p class="text-neonGreen uppercase mb-2 md:text-xl sm:text-xs">Advice #<span id="adviceID">117</span></p>
<h3 class=" md:text-3xl sm:text-xl text-center my-5 text-lightCyan w-11/12 tracking-widest" id="adviceText">"It is easy to sit up and take notice, what's difficult is getting up and taking action."</h3>
<img class="mt-6" src="./images/pattern-divider-desktop.svg" alt="pattern-divider">
<div class="generate-advice translate-y-12 ">
<button class="cursor-pointer bg-neonGreen rounded-full p-5 hover:shadow-3xl hover:shadow-neonGreen" id="generateAdviceButton"><img src="./images/icon-dice.svg" alt="dice"></button>
</div>
</div>
<div class="attribution text-center translate-y-12 text-lightCyan md:text-base sm:text-xs w-4/5">
Challenge by <a class="text-grayishBlue" href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a class="text-grayishBlue" href="https://github.com/michojekunle" target="_blank">AMD</a>.
</div>
<script src="main.js"></script>
</body>
</html>