File tree Expand file tree Collapse file tree 2 files changed +45
-1
lines changed
Expand file tree Collapse file tree 2 files changed +45
-1
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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+
You can’t perform that action at this time.
0 commit comments