-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
154 lines (144 loc) · 4.98 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="developer" content="Ali Zain" />
<!-- LINKEDIN : https://www.linkedin.com/in/al%C3%ACzain/ -->
<meta
name="description"
content="Random Quotes generator web app For Dom practice."
/>
<!-- StyleSheet / FavIcon -->
<link rel="stylesheet" href="styles/styles.css" />
<link rel="shortcut icon" href="images/favIcon.png" type="image/x-icon" />
<title>Random Quotes</title>
</head>
<body>
<!-- Header -->
<header>
<!-- User_Welcome -->
<div class="userWelcome">
<h2 class="greetings">Hello_</h2>
<p class="displayUserName"></p>
</div>
<div class="navIcon">
<button>
<img
src="images/show_nav.png"
alt="navigation Icon"
class="displayNav"
/>
</button>
</div>
</header>
<!-- Hey! If you are reviewing code and thinking about why I didn't put Nav in
header according to semantic tag, So I am giving a short ans:
Ans: I get this idea from Awwward's website where people are trying to do some magic on
web Design, I tried, As a beginner I get just this solution from my
knwoledge. Now don't change it Thanks. -->
<!-- Navigation -->
<nav class="nav">
<!-- Attention again:
First I forget to add button tag on this icon, added all style functionallity. Then I thought about semantic but after adding it was destroying the icon's style. I removed again, If you can handle it, you can add.
-->
<img src="images/hide_nav.png" alt="navigation Icon" class="hideNav" />
<p class="logo">qUOTES</p>
<ul class="navItems">
<li class="navLink">
<span> / LinkedIn </span>
<span
><a href="https://www.linkedin.com/in/al%C3%ACzain/" target="_blank"
><span class="additional_Info"
>Follow on LinkedIn
<img src="images/arrow.png" alt="" class="arrow" /> </span></a
></span>
</li>
<li class="navLink">
/ Discord
<span
><a
href="https://discord.com/users/880574885263441941"
target="_blank"
>
<span class="additional_Info"
>Let's chat on Discord
<img src="images/arrow.png" alt="" class="arrow" />
</span> </a
></span>
</li>
<li class="navLink">
/ Github
<span
><a href="https://github.com/alizainaslam/Random-Quotes.git" target="_blank"
><span class="additional_Info diff_child"
>Visit if you need code
<img src="images/arrow.png" alt="" class="arrow" /> </span></a
></span>
</li>
<li class="navLink learn">
/ Learn
<div class="childNav">
<a href="https://developer.mozilla.org/en-US/" target="_blank"
>/ JS
<img src="images/arrow.png" alt="" class="arrow" />
</a>
<a href="https://www.awwwards.com/" target="_blank"
>/ Design
<img src="images/arrow.png" alt="" class="arrow" />
</a>
</div>
</li>
</ul>
<!-- Api refence link -->
<div class="apiUses">
<a href="https://github.com/lukePeavey/quotable" target="_blank"
>Visit Quotes Api</a
>
<img src="images/arrow.png" alt="" class="arrowApi" />
</div>
</nav>
<!-- Main Sturcture (Api's data plus images) -->
<main>
<!-- Api_Data -->
<section class="apiSection">
<p class="apiResponse"></p>
<p class="author"></p>
<div class="apiBtn">
<button class="copy">Copy</button>
<button class="nextQuote">See Next</button>
</div>
</section>
<section class="imgSection">
<img src="" alt="artImg" class="imgTop tryImg imgDOM" />
<img src="" alt="artImg" class="imgBottom tryImg imgDOM" />
</section>
<!-- LOG_IN -->
<section class="logIn">
<div class="loginForm">
<img src="images/favIcon.png" alt="" class="formImg" />
<p class="info">Enter your name for access multiple Quotes</p>
<form class="form">
<label for="userName" id="userNameLabel"
>Let's Enter Your Nick Name!</label
>
<input
type="text"
name="userName"
id="userName"
class="userNameInput"
placeholder="Enter now!"
required
/>
</form>
<div class="formBtn">
<button class="backBtn">Go Back</button>
<button class="submitBtn">Submit</button>
</div>
</div>
</section>
</main>
<!-- JavaScript -->
<script src="js/main.js"></script>
</body>
</html>