Programming Exercises

Use CSS Grid to create a layout with a header, sidebar, main content, and footer.

Medium

Problem Statement

Use CSS Grid to create a layout with a header, sidebar, main content, and footer.

Sample Output

The sections are arranged in a grid layout.

Limits

Time: 2s · Memory: 256 MB

Code Editor
00:00
<!DOCTYPE html> <html> <head> <style> /* Add CSS here to style the grid layout */ </style> </head> <body> <div class="container"> <header>Header</header> <aside>Sidebar</aside> <main>Main Content</main> <footer>Footer</footer> </div> </body> </html>
Log in or sign up to run or submit your code.Log inSign up
Expected Output
The sections are arranged in a grid layout.