-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (52 loc) · 1.88 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
<!--
===================================================================================
HTML DOCUMENTATION
===================================================================================
File: index.html
Author: Matthew Kuria
Date: 15th November, 2023
Description: This HTML file represents the main structure of the advice-generator-app.
===================================================================================
-->
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta information -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--Favicon image-->
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<!-- Title and Link to the styling sheet file -->
<title>Advice-generator-app | Done by Matthew</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!--Creating a Card inside a container-->
<div class="card" id="card">
<!--App advice title-->
<p class="title">ADVICE #
<span id="adviceId">117</span>
</p>
<!--advice content or text-->
<div class="advice" id="advice--text">
"It is easy to sit up and take notice,what's difficult is getting up and taking action."
</div>
<!--The pattern divider image for the Desktop-->
<picture>
<!--Fetch the image of the pattern-divider depending on the size of the screen-->
<source media="(max-width:479px)" srcset="./images/pattern-divider-mobile.svg">
<source media="(min-width:480px)" srcset="./images/pattern-divider-desktop.svg">
<img
src="./images/pattern-divider-desktop.svg"
alt="pattern-divider"
class="card--divider">
</picture>
<!--Button with the dice image -->
<button id="btn" class="btn">
<img src="./images/icon-dice.svg" alt="">
</button>
</div>
<!--Script file-->
<script src="script.js"></script>
</body>
</html>