EduFlow
Build Mobile Apps with React Native

Checkpoint: Data and the Device

Five questions on this section. Answer all of them, then see your score and why each answer is right or wrong.

Question 1 of 5

Trailhead’s explore screen shows “Could not load trails” even though the API responds. The server logs a 200. Debugging shows res.ok is true but the list is empty. Which state should the screen have shown?

Question 2 of 5

Where should Trailhead keep the user’s chosen units (km or mi)?

Question 3 of 5

A Trailhead user denied location permanently, later enabled it in Settings, and returned to the app. The tracking screen still says location is off. What’s the likely bug?

Question 4 of 5

Trailhead v3 adds a difficulty column to the hikes table. A teammate edits the version 0 block of the migration to include the new column. What happens to existing users?

Question 5 of 5

A tracked hike shows 14 km for a walk the hiker knows was 9 km. The route has many sharp zigzags under forest cover. What’s the best fix?

5 questions unanswered