Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 551107e

Browse filesBrowse files
authored
Merge pull request #2 from AaaaT/homework-week1
some select css
2 parents 7ad7351 + 195e99e commit 551107e
Copy full SHA for 551107e

File tree

Expand file treeCollapse file tree

3 files changed

+23
-11
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

3 files changed

+23
-11
lines changed
Open diff view settings
Collapse file

‎homework/index.html‎

Copy file name to clipboardExpand all lines: homework/index.html
+10-6Lines 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>
Collapse file

‎homework/index.js‎

Copy file name to clipboardExpand all lines: homework/index.js
+2-2Lines 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

Collapse file

‎homework/style.css‎

Copy file name to clipboardExpand all lines: homework/style.css
+11-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.