-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
112 lines (109 loc) · 3.77 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge#3b82f6" />
<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=Coiny&family=Montserrat&family=Open+Sans&family=Sono:wght@400;600;700&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="style.css" />
<title>Today I Learned!</title>
</head>
<body>
<div class="container">
<header class="header">
<div class="logo">
<img src="logo.png" alt="Today I Learned Logo" />
<h1>Today I Learned</h1>
</div>
<button class="btn btn-large btn-open">Share a fact</button>
</header>
<form class="fact-form hidden">
<input type="text" placeholder="Share a fact with the world..." />
<span>200</span>
<input type="text" placeholder="Trustworthy source..." />
<select>
<option value="">Choose category:</option>
<option value="technology">Technology</option>
<option value="science">Science</option>
<option value="finance">Finance</option>
</select>
<button class="btn btn-large">Post</button>
</form>
<main class="main">
<aside>
<ul>
<li class="category">
<button class="btn btn-all-categories">All</button>
</li>
<li class="category">
<button
class="btn btn-category"
style="background-color: #3b82f6"
>
Technology
</button>
</li>
<li>
<button
class="btn btn-category"
style="background-color: #16a34a"
>
Science
</button>
</li>
</ul>
</aside>
<section>
<ul class="facts-list">
<!-- <li class="fact">
<p>
React is being developed by Meta (formerly facebook)
<a
class="source"
href="https://opensource.fb.com/"
target="_blank"
>(Source)</a
>
</p>
<span class="tag" style="background-color: #3b82f6"
>#technology#</span
>
<div class="vote-buttons">
<button>👍 <strong>24</strong></button>
<button>🤯 <strong>9</strong></button>
<button>⛔️ <strong>4</strong></button>
</div>
</li>
<li class="fact">
<p>
Millennial dads spend 3 times as much time with their kids than
their fathers spent with them. In 1982, 43% of fathers had never
changed a diaper. Today, that number is down to 3%
<a
class="source"
href="https://www.mother.ly/parenting/millennial-dads-spend-more-time-with-their-kids"
target="_blank"
>(Source)</a
>
</p>
<span class="tag" style="background-color: #eab308"
>#society#</span
>
<div class="vote-buttons">
<button>👍 <strong>11</strong></button>
<button>🤯 <strong>2</strong></button>
<button>⛔️ <strong>0</strong></button>
</div>
</li> -->
</ul>
</section>
</main>
</div>
<script src="script.js"></script>
</body>
</html>