marinafink / noshcuisine

Nosh Cuisine is a semester project by Marina Fink which includes an interactive website where users can create a profile, search for recipes and upload their own recipes.
1 stars 0 forks source link

error message not styled when recipe id is missing #27

Open marinafink opened 1 year ago

marinafink commented 1 year ago

Description: If no recipe ID is sent with the recipe detail page (recipe_detailview.php) via the URL, an error message is displayed, but the style is missing.

Steps to Reproduce:

  1. Visit https://mars.iuk.hdm-stuttgart.de/~mf177/recipe_detailview.php (username: mf177, password: M5fFm67#ar). (You don't see a recipe because no recipe ID was sent via the URL!)
  2. look at the error message

Expected Result: The styled error message "Whoops! Something went wrong here!" should show up at the center of the page and an image should be displayed below the message.

Actual Result: The error message "Something went wrong here!" is displayed (browser style) at the top left of the page and there is no image.

Image

Configuration:

marinafink commented 1 year ago

Style and Image have been added to the error message.