We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fb66ca commit a20fdefCopy full SHA for a20fdef
src/App.js
@@ -18,9 +18,10 @@ function App() {
18
Endless Simple Idle Game
19
</header>
20
<p>Click the button to add points!</p>
21
- {/*display current points value*/}Points:{" "}
22
- <div id="points-display">{points}</div>
23
- <br />
+ {/*display current points value*/}
+ <p>
+ Points: <div id="points-display">{points}</div>
24
+ </p>
25
{/*increase points from clicking a button*/}
26
<button onClick={() => addPointsFromClick()}>Click to Add Points</button>
27
</div>
0 commit comments