Skip to content

Commit 70679cb

Browse files
committed
completed quote-generator app
1 parent d621038 commit 70679cb

2 files changed

Lines changed: 39 additions & 1 deletion

File tree

‎Sprint-3/quote-generator/index.html‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>Quote generator app</title>
77
<script defer src="quotes.js"></script>
8+
<link href="style.css" rel="stylesheet" />
89
</head>
910
<body>
10-
<h1>hello there</h1>
11+
<h1>Hello There</h1>
1112
<p id="quote"></p>
1213
<p id="author"></p>
1314
<button type="button" id="new-quote">New quote</button>

‎Sprint-3/quote-generator/style.css‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,38 @@
11
/** Write your CSS in here **/
2+
h1 {
3+
color: blueviolet;
4+
font-style: normal;
5+
font-size: 48px;
6+
}
7+
#quote {
8+
font-size: 32px;
9+
font-style: italic;
10+
margin-left: 10px;
11+
margin-bottom: 3px;
12+
}
13+
#author {
14+
font-size: 30px;
15+
margin-top: 20px;
16+
}
17+
#quote::before {
18+
content: '"';
19+
}
20+
21+
#quote::after {
22+
content: '"';
23+
}
24+
#author::before {
25+
content: "---";
26+
}
27+
28+
body {
29+
background-color: #fff8e7;
30+
display: grid;
31+
place-items: center;
32+
}
33+
#new-quote {
34+
font-size: 28px;
35+
font-family: serif;
36+
background-color: white;
37+
box-shadow: 5px 5px 2px 1px black;
38+
}

0 commit comments

Comments
 (0)