HTML and CSS Recipe Card: Assignment-6

Create a styled recipe card for a “Simple Omelette” using HTML and CSS, replicating the provided code structure and styling.

Simple Omelette

Simple Omelette Recipe

An easy and quick dish, perfect for any meal. This classic omelette combines beaten eggs cooked to perfection, optionally filled with your choice of cheese, vegetables, or meats.

Preparation time

  1. Total: Approximately 10 minutes
  2. Preparation: 5 minutes
  3. Cooking: 5 minutes

Ingredients

  • 2-3 large eggs
  • Salt, to taste
  • Pepper, to taste
  • 1 tablespoon of butter or oil
  • Optional fillings: cheese, diced vegetables, cooked meats, herbs

Instructions

  1. Beat the eggs in a bowl...
  2. Heat the pan over medium heat...
  3. Cook the omelette until golden brown...
  4. Add fillings (optional) and fold the omelette...
  5. Remove from heat and serve immediately...
  6. Enjoy with additional salt and pepper to taste...

Nutrition

The table below shows how much of each nutrient is in this recipe.

Calories277kcal
Carbs0g
Protein20g
Fat22g

Specifications:

  • Page Background Color: #f1e8e8
  • Card Background Color: #ffffff
  • Title Font Size: 28px
  • Subtitle Font Size: 22px
  • Body Text Color: #666666
  • Subtitle Text Color: #d7932d
  • Preparation Time Background Color: #f5f2f2
  • Preparation Time Text Color: #d53f99
  • Image Source: https://i.postimg.cc/Z5vMmSRv/assignment-burger.jpg
  • Border Radius for Image and Card: 20px

Deliverable:

  • A .html file containing the markup for the recipe card.
  • An accompanying .css file (or <style> block in the HTML file) with the styles applied.
updatedupdated2024-02-062024-02-06
comments powered by Disqus