Skip to content

Commit 3b9b433

Browse files
committed
add dropdown (no function yet)
1 parent b1f6057 commit 3b9b433

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

src/problems-by-company/company.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,10 @@ a:hover {
8282
#score {
8383
color: lightgreen;
8484
font-weight: bold;
85+
}
86+
87+
select {
88+
background-color: #373737;
89+
color: #fff;
90+
padding: 5px;
8591
}

src/problems-by-company/company.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,15 @@
99
<body>
1010
<nav id="navbar">
1111
</nav>
12-
<select id="companySelect"></select>
12+
<div class="row">
13+
<select id="companySelect"></select>
14+
<select id="dateSelect">
15+
<option value="freq_6months">6 months</option>
16+
<option value="freq_1year">1 year</option>
17+
<option value="freq_2years">2 years</option>
18+
<option value="freq_alltime">All time</option>
19+
</select>
20+
</div>
1321
<h1 id="title">Amazon</h1>
1422
<p>
1523
<span id="score">Score</span> = The number of times the question was asked between 2021-2023
@@ -22,7 +30,6 @@ <h1 id="title">Amazon</h1>
2230
<!-- <th id="Score" class="header">Score</th> -->
2331
<!-- <th id="Acceptance" class="header">Acceptance</th> -->
2432
<th id="Frequency" class="header">Frequency</th>
25-
2633
</tr>
2734
</table>
2835
<script src="../../dist/problems-by-company/company.js"></script>

0 commit comments

Comments
 (0)