Closed brian-ai-assistant[bot] closed 1 year ago
go:
Implement task #3 - Style the web page
Files content for task: { "index.html": "<!DOCTYPE html>\n\n
\n <meta charset=\"utf-8\" />\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\ngo: create a .css file that would style the page
Implement task #3 - Style the web page
In order to style the web page, I have added the following CSS rules to the main.css file:
body {
font-family: Arial, sans-serif;
background-color: #f2f2f2;
margin: 0;
padding: 20px;
}
h1 {
color: #333;
font-size: 36px;
text-align: center;
margin-top: 50px;
}
a {
color: #337ab7;
text-decoration: none;
}
@media (max-width: 768px) {
h1 {
font-size: 24px;
margin: 30px 0;
}
}
In this subtask, you will use CSS to style the web page and make it visually appealing. Consider using responsive design techniques to ensure that the page looks good on different devices and screen sizes.