Search⌘ K
AI Features

Project Challenge: Create Dynamic Route for Pet Details

Explore how to create a dynamic route in Flask that shows detailed information for pets based on their ID. Understand error handling with 404 responses and update homepage images to link to pet details, enhancing user navigation in web apps.

Problem statement

In this challenge, you are expected to create a new route in your application. This route should be at the URL: "/details/pet_id", where pet_id is a valid pet’s id. It should return a web page containing all info regarding that pet. ...