Modified Code

This commit is contained in:
Muhammad Ibrahim 2024-11-19 09:38:30 +05:30
parent cf5eeb3fd4
commit e6630677c4

View File

@ -5,12 +5,19 @@
<meta charset="UTF-8">
<title>Colors</title>
<style>
/* Write your CSS code here. */
/* 1. Make the background of the webpage "antiquewhite"
2. Make the h1 "whitesmoke"
3. Make the background of the h1 "darkseagreen"
4. Make the h2 #FAF8F1
5. Make the background of the h2 "#C58940" */
body {
background-color: antiquewhite;
}
h1 {
color: whitesmoke;
background-color: darkseagreen;
}
h2 {
color: #FAF8F1;
background-color: #C58940;
}
</style>
</head>