Skip to content

Commit 17893af

Browse files
committed
I have made some few improvments
1 parent 96d077b commit 17893af

File tree

2 files changed

+45
-1
lines changed

2 files changed

+45
-1
lines changed

Sprint-3/quote-generator/index.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,20 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>Title here</title>
6+
<title>Quote generator app</title>
77
<script defer src="quotes.js"></script>
8+
<link rel="stylesheet" href="style.css" />
89
</head>
910
<body>
1011
<h1>hello there</h1>
1112
<p id="quote"></p>
1213
<p id="author"></p>
14+
1315
<button type="button" id="new-quote">New quote</button>
16+
<input id="quote-input" type="text" placeholder="Enter a quote here" />
17+
<input id="author-input" type="text" placeholder="Enter the author here" />
18+
19+
<button type="button" id="add-quote">Add quote</button>
20+
1421
</body>
1522
</html>

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+
body {
3+
font-family: Arial, sans-serif;
4+
background-color: #f0f0f0;
5+
padding: 20px;
6+
}
7+
8+
#quote-container {
9+
background-color: #fff;
10+
padding: 20px;
11+
border-radius: 5px;
12+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
13+
max-width: 600px;
14+
margin: auto;
15+
}
16+
#quote {
17+
font-size: 24px;
18+
font-style: italic;
19+
margin-bottom: 10px;
20+
}
21+
#author {
22+
font-size: 20px;
23+
text-align: right;
24+
margin-bottom: 20px;
25+
}
26+
button {
27+
padding: 10px 20px;
28+
font-size: 16px;
29+
cursor: pointer;
30+
}
31+
#quote-input, #author-input {
32+
padding: 10px;
33+
font-size: 16px;
34+
margin-right: 10px;
35+
}
36+
37+
38+

0 commit comments

Comments
 (0)