Spaces:
Runtime error
Runtime error
| /* styles.css */ | |
| /* Resetting default margin and padding */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| /* Global styles */ | |
| body { | |
| font-family: Arial, sans-serif; | |
| background-color: #f0f0f0; | |
| color: #333; | |
| } | |
| .container { | |
| max-width: 600px; | |
| margin: 20px auto; | |
| padding: 20px; | |
| background-color: #fff; | |
| border-radius: 8px; | |
| box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | |
| } | |
| h1 { | |
| font-size: 24px; | |
| margin-bottom: 20px; | |
| } | |
| p { | |
| margin-bottom: 20px; | |
| } | |
| form { | |
| margin-bottom: 20px; | |
| } | |
| label { | |
| display: block; | |
| margin-bottom: 5px; | |
| } | |
| input[type="text"] { | |
| width: 100%; | |
| padding: 10px; | |
| margin-bottom: 10px; | |
| border: 1px solid #ccc; | |
| border-radius: 4px; | |
| } | |
| input[type="submit"] { | |
| background-color: #007bff; | |
| color: #fff; | |
| border: none; | |
| padding: 10px 20px; | |
| border-radius: 4px; | |
| cursor: pointer; | |
| } | |
| input[type="submit"]:hover { | |
| background-color: #0056b3; | |
| } | |
| /* Result container styles */ | |
| #result-container #result { | |
| background-color: #f9f9f9; | |
| padding: 20px; | |
| border-radius: 8px; | |
| box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); | |
| } | |
| #result h3 { | |
| font-size: 18px; | |
| margin-bottom: 10px; | |
| } | |
| #result p { | |
| margin-bottom: 10px; | |
| } | |