Untitled

 avatar
unknown
plain_text
a month ago
3.2 kB
1
Indexable
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Pizza Shop 2.0</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f0f0f0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
        }
        .form-container {
            background-color: #fff;
            border: 1px solid #ccc;
            padding: 20px;
            width: 300px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
        .form-container h2 {
            text-align: center;
            margin-bottom: 20px;
        }
        .form-container label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
        }
        .form-container input[type="text"],
        .form-container select,
        .form-container textarea {
            width: 100%;
            padding: 8px;
            margin-bottom: 15px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }
        .form-container input[type="radio"],
        .form-container input[type="checkbox"] {
            margin-right: 10px;
        }
        .form-container .submit-btn {
            width: 100%;
            padding: 10px;
            background-color: #007bff;
            color: #fff;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        .form-container .submit-btn:hover {
            background-color: #0056b3;
        }
    </style>
</head>
<body>
    <div class="form-container">
        <h2>Pizza Shop 2.0</h2>
        <form action="#">
            <label for="name">Name</label>
            <input type="text" id="name" name="name" required>

            <label>Pizza Topping</label>
            <input type="radio" id="supreme" name="topping" value="Supreme" required>
            <label for="supreme">Supreme</label>
            <input type="radio" id="vegetarian" name="topping" value="Vegetarian">
            <label for="vegetarian">Vegetarian</label>
            <input type="radio" id="hawaiian" name="topping" value="Hawaiian">
            <label for="hawaiian">Hawaiian</label>

            <label for="sauce">Pizza Sauce</label>
            <select id="sauce" name="sauce" required>
                <option value="Tomato">Tomato</option>
                <option value="BBQ">BBQ</option>
                <option value="Garlic">Garlic</option>
            </select>

            <label>Optional Extras</label>
            <input type="checkbox" id="extra-cheese" name="extras" value="Extra Cheese">
            <label for="extra-cheese">Extra Cheese</label>
            <input type="checkbox" id="gluten-free" name="extras" value="Gluten Free Base">
            <label for="gluten-free">Gluten Free Base</label>

            <label for="instructions">Delivery Instructions:</label>
            <textarea id="instructions" name="instructions" rows="4"></textarea>

            <button type="submit" class="submit-btn">Send my order</button>
        </form>
    </div>
</body>
</html>
Leave a Comment