Web Development
Published: 2023-10-08 01:34:10

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Economic Crisis Survey</title>
    <style>
        body {
            background-color: #f2f2f2;
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
        }
        header {
            background-color: #333;
            color: #fff;
            padding: 10px;
            text-align: center;
        }
        h1 {
            margin-top: 0;
        }
        .container {
            background-color: #fff;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            margin: 20px auto;
            padding: 20px;
            width: 80%;
            max-width: 600px;
        }
        label {
            display: block;
            font-weight: bold;
            margin-top: 10px;
        }
        input[type="text"],
        input[type="email"],
        input[type="number"],
        select,
        textarea {
            width: 100%;
            padding: 10px;
            margin-top: 5px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }
        textarea {
            height: 100px;
        }
        button {
            background-color: #333;
            border: none;
            color: #fff;
            padding: 10px 20px;
            margin-top: 10px;
            border-radius: 4px;
            cursor: pointer;
        }
    </style>
</head>
<body>
    <header>
        <h1>Economic Crisis Survey</h1>
    </header>
    <div class="container">
        <form action="#">
            <label for="name">Full Name:</label>
            <input type="text" id="name" name="name" required>
            
            <label for="email">Email:</label>
            <input type="email" id="email" name="email" required>
            
            <label for="age">Age:</label>
            <input type="number" id="age" name="age" required>
            
            <label for="gender">Gender:</label>
            <select id="gender" name="gender" required>
                <option value="male">Male</option>
                <option value="female">Female</option>
                <option value="other">Other</option>
            </select>
            
            <label for="impact">How has the economic crisis impacted you:</label>
            <textarea id="impact" name="impact" required></textarea>
            
            <label for="government-response">Opinion on government response:</label>
            <textarea id="government-response" name="government-response" required></textarea>
            
            <label for="solutions">Suggestions for economic recovery:</label>
            <textarea id="solutions" name="solutions" required></textarea>
            
            <label for="support">Do you think more support is needed:</label>
            <input type="radio" id="support-yes" name="support" value="Yes" required>
            <label for="support-yes">Yes</label>
            <input type="radio" id="support-no" name="support" value="No" required>
            <label for="support-no">No</label>
            
            <label for="newsletter">Subscribe to our newsletter:</label>
            <input type="checkbox" id="newsletter" name="newsletter" value="Yes">
            
            <button type="submit">Submit</button>
        </form>
    </div>
</body>
</html>