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 8a4c636 commit 379bcdeCopy full SHA for 379bcde
src/App.js
@@ -5,7 +5,7 @@ function App() {
5
const [points, setPoints] = useState(0); //set initial points to 0
6
function addPointsFromClick() {
7
//add points from clicking a button
8
- setPoints(points + 1); //increase points by 1
+ setPoints(points + 1); //increase points by 1 when button clicked
9
}
10
return (
11
//dynamic app HTML output
0 commit comments