Skip to content

Commit 195e99e

Browse files
committed
some select css
1 parent 3a6fc4e commit 195e99e

File tree

3 files changed

+23
-11
lines changed

3 files changed

+23
-11
lines changed

homework/index.html

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,20 @@
1616
<link href="https://fonts.googleapis.com/css?family=Roboto:400,700" rel="stylesheet" />
1717
<link rel="stylesheet" href="./style.css" />
1818
</head>
19-
20-
<body>
21-
<!--<div id="root"></div>
22-
<script src="./index.js"></script> -->
23-
24-
<label>Choose a Repository:</label>
19+
<header>
20+
<label>HYF Repositories </label>
2521
<select>
2622
<option value="0">alumni</option>
2723
<option value="1">angular</option>
2824
<!-- etc -->
2925
</select>
26+
</header>
27+
28+
<body>
29+
<!--<div id="root"></div>
30+
<script src="./index.js"></script> -->
31+
32+
<p>The repositories will be displayed here</p>
33+
3034
</body>
3135
</html>

homework/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
/* //getting the names
4848
repositories.forEach(repo => {
4949
console.log(repo.name);
50-
createAndAppend('div', root, { text: repo.name });
51-
}); */
50+
createAndAppend('div', root, { text: repo.name });*/
51+
});
5252
});
5353
}
5454

homework/style.css

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1+
header {
2+
background-color: rgb(116, 56, 13);
3+
color: white;
4+
padding: 1rem;
5+
}
6+
17
body {
2-
background-color: seagreen;
3-
color: whitesmoke;
8+
background-color:rgb(197, 197, 197);
9+
color: black;
410
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
511
font-size: 1rem;
612
padding-right: 10px;
@@ -12,5 +18,7 @@ body {
1218

1319
select {
1420
font-size: .9rem;
15-
padding: 2px 5px;
21+
padding: 4px 25px;
22+
margin-left: 25px;
23+
border-radius: 20px;
1624
}

0 commit comments

Comments
 (0)