Skip to content

Commit 1e10e5a

Browse files
committed
update html to link css style and wrote foundation css
1 parent ccc7e21 commit 1e10e5a

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

Sprint-3/quote-generator/index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,18 @@
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>Quote generator app</title>
7+
<link rel="stylesheet" href="style.css">
78
<script defer src="quotes.js"></script>
89
</head>
910
<body>
10-
<section class = "quote">
11+
<section>
12+
<div class = "quote">
1113
<p id="quote"></p>
1214
<p id="author"></p>
1315
<button type="button" id="new-quote">New quote</button>
16+
</div>
1417
</section>
1518
</body>
1619
</html>
1720

21+

Sprint-3/quote-generator/style.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,17 @@
11
/** Write your CSS in here **/
2+
*{
3+
box-sizing: border-box;
4+
}
5+
body{
6+
background-color: orange;
7+
}
8+
.quote{
9+
background-color: white;
10+
text-align: center;
11+
padding: 50px;
12+
margin: 50px;;
13+
}
14+
button{
15+
position: absolute;
16+
right: 120px;
17+
}

0 commit comments

Comments
 (0)