Certainly! Here's an example of HTML and CSS code that you can use as a starting point for your study-themed website:
```html
Study Website
```
And here's an example of CSS code (styles.css) to style the website:
```css
/* Reset default styles */
body, h1, h2, h3, p, ul, li {
margin: 0;
padding: 0;
}
/* Header styles */
header {
background-color: #f2f2f2;
padding: 20px;
}
nav ul {
list-style-type: none;
}
nav ul li {
display: inline;
margin-right: 10px;
}
nav ul li a {
text-decoration: none;
color: #333;
}
/* Hero section styles */
.hero {
background-image: url('hero-bg.jpg');
background-size: cover;
background-position: center;
text-align: center;
padding: 100px;
color: #fff;
}
.hero h1 {
font-size: 36px;
margin-bottom: 20px;
}
.hero p {
font-size: 18px;
margin-bottom: 30px;
}
.btn {
display: inline-block;
padding: 10px 20px;
background-color: #333;
color: #fff;
text-decoration: none;
border-radius: 5px;
}
/* Courses section styles */
.courses {
padding: 50px;
}
.course-card {
background-color: #f2f2f2;
padding: 20px;
margin-bottom: 20px;
}
.course-card img {
width: 100%;
margin-bottom: 10px;
}
.course-card h3 {
font-size: 24px;
margin-bottom: 10px;
}
.course-card p {
font-size: 16px;
margin-bottom: 10px;
}
/* Study materials section styles */
.study-materials {
background-color: #f2f2f2;
padding: 50px;
}
.study-materials ul {
list-style-type: none;
}
.study-materials ul li {
margin-bottom: 10px;
}
.study-materials ul li a {
text-decoration: none;
color: #333;
}
/* Footer styles */
footer {
background-color: #333;
color: #fff;
padding: 20px;
text-align: center;
}
```
Please note that this is just a basic example to
Welcome to our Study Website
Explore a wide range of courses and study materials to enhance your learning experience.
Get Started
Post a Comment