Put in order · Vibe coding with Claude Code course · Module 9: Discord clone
Ordering: The path of a weather request
Arrange the path of the weather request from the click to the screen:
Items to put in order
- The widget shows the weather
- The route checks res.ok and returns the temperature with the description
- The route checks that the port is on the list
- The widget calls /api/weather?city=nassau
- The route takes the key from process.env and asks OpenWeather
You can check the correct answer by solving this task in the CodeWorlds game.