-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
67 lines (59 loc) · 2.35 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Frontend Mentor | Advice generator app</title>
<meta name="title" content="Frontend Mentor | Advice generator app">
<meta
name="description"
content="This is Alberto Raúl José's solution to the Advice generator app challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects."
/>
<meta name="author" content="Alberto Raúl José">
<!-- Favicon -->
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png">
<!-- style -->
<link rel="stylesheet" href="./style.css">
<!-- script -->
<script src="./app.js" defer></script>
</head>
<body>
<!-- advice template start -->
<template id="advice-template">
<div class="card">
<h1 class="heading">Advice #117</h1>
<blockquote class="quote my-1">It is easy to sit up and take notice, what's difficult is getting up and taking action.</blockquote>
<span aria-hidden="true" class="pattern my-1"></span>
<button onclick="fetchAdvice()" aria-label="Generate a new advice" class="btn circle">
<span aria-hidden="true" class="dice"></span>
</button>
</div>
</template>
<!-- advice template end -->
<!-- skeleton template start -->
<template id="skeleton-template">
<div class="card skeleton-width">
<!-- heading -->
<div class="skeleton skeleton-text skeleton-width--1 skeleton-center"></div>
<!-- quote -->
<div class="my-2">
<div class="skeleton skeleton-text skeleton-width"></div>
<div class="skeleton skeleton-text skeleton-width"></div>
<div class="skeleton skeleton-text skeleton-width skeleton-width--2 skeleton-center"></div>
</div>
<!-- pattern-->
<div class="skeleton skeleton-line skeleton-width my-2"></div>
<!-- button -->
<div class="skeleton circle"></div>
</div>
</template>
<!-- skeleton template end -->
<main class="container"></main>
<footer class="attribution">
<p>
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="https://github.com/alberto-rj" target="_blank">Alberto Raúl José</a>.
</p>
</footer>
</body>
</html>