File tree Expand file tree Collapse file tree 2 files changed +11
-23
lines changed Expand file tree Collapse file tree 2 files changed +11
-23
lines changed Original file line number Diff line number Diff line change 2
2
text-align : center;
3
3
}
4
4
5
- .App-logo {
6
- height : 40vmin ;
7
- pointer-events : none;
8
- }
9
-
10
- @media (prefers-reduced-motion : no-preference) {
11
- .App-logo {
12
- animation : App-logo-spin infinite 20s linear;
13
- }
14
- }
15
-
16
5
.App-header {
17
6
background-color : # 282c34 ;
18
- min-height : 100 vh ;
7
+ min-height : 10 vh ;
19
8
display : flex;
20
9
flex-direction : column;
21
10
align-items : center;
24
13
color : white;
25
14
}
26
15
27
- . App-link {
28
- color : # 61dafb ;
16
+ # points-display {
17
+ font-weight : bold ;
29
18
}
30
19
31
- @keyframes App-logo-spin {
32
- from {
33
- transform : rotate (0deg );
34
- }
35
- to {
36
- transform : rotate (360deg );
37
- }
38
- }
20
+ p {
21
+ line-height : 120% ;
22
+ }
Original file line number Diff line number Diff line change @@ -7,7 +7,11 @@ function App() {
7
7
}
8
8
return (
9
9
< div className = "App" >
10
- Points: { points } < br />
10
+ < header className = "App-header" >
11
+ Endless Simple Idle Game
12
+ </ header >
13
+ < p > Click the button to add points!</ p >
14
+ Points: < div id = "points-display" > { points } </ div > < br />
11
15
< button onClick = { ( ) => addPointsFromClick ( ) } > Click to Add Points</ button >
12
16
</ div >
13
17
) ;
You can’t perform that action at this time.
0 commit comments