The useParams hook returns an object of key-value pairs where the key is the parameter name and the value is the parameter value.
Question 2 of 20 in useParams Quiz