The navigate function can receive a number. Calling navigate(-1) moves back one entry in the history stack.
Question 5 of 20 in useNavigate Quiz