×
×
Correct!
Complete this statement to keep track of a "count" variable using the useState Hook.
import { useState } from "react";
function KeepCount() {
const [@(5), @(8)] = useState(0);
}
import { useState } from "react";
function KeepCount() {
const [count, setCount] = useState(0);
}
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 24 exercises.
Are you sure you want to continue?