<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Simple YouTube Clone</title>
<!-- <link rel="stylesheet" href="style.css"> -->
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f0f0f0;
}
header {
background-color: #fff;
padding: 20px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.logo {
display: flex;
align-items: center;
}
.logo h1 {
margin: 0;
color: #ff6f61;
font-size: 24px;
}
nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
}
nav li {
margin-right: 20px;
}
nav a {
text-decoration: none;
color: #333;
font-weight: bold;
}
.profile {
display: flex;
align-items: center;
}
.profile img {
width: 40px;
height: 40px;
border-radius: 50%;
}
main {
padding: 20px;
}
.featured-video {
display: flex;
align-items: center;
margin-bottom: 20px;
}
.video-thumbnail {
width: 300px;
height: 200px;
margin-right: 20px;
}
.video-thumbnail img {
width: 100%;
height: 100%;
object-fit: cover;
}
.video-info {
display: flex;
flex-direction: column;
}
.video-info h2 {
margin: 0;
font-size: 18px;
}
.recommended-videos {
margin-bottom: 20px;
}
.video-grid {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.video-item {
width: 200px;
margin-bottom: 20px;
}
.video-item img {
width: 100%;
height: 150px;
object-fit: cover;
}
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 10px;
}
</style>
</head>
<body>
<header>
<div class="logo">
<h1>MyTube</h1>
</div>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Trending</a></li>
<li><a href="#">Subscriptions</a></li>
<li><a href="#">Library</a></li>
</ul>
</nav>
<div class="profile">
<img src="https://codezillaye.com/wp-content/uploads/2024/06/profile.png" alt="Profile Icon">
</div>
</header>
<main>
<section class="featured-video">
<div class="video-thumbnail">
<img src="https://codezillaye.com/wp-content/uploads/2024/06/codezillaye.mp4" alt="Video Thumbnail">
</div>
<div class="video-info">
<h2>Featured Video Title</h2>
<p>Channel Name</p>
</div>
</section>
<section class="recommended-videos">
<h2>Recommended Videos</h2>
<div class="video-grid">
<div class="video-item">
<img src="https://codezillaye.com/wp-content/uploads/2024/06/codezillaye.mp4" alt="Video Thumbnail 1">
</div>
<div class="video-item">
<img src="https://codezillaye.com/wp-content/uploads/2024/06/codezillaye.mp4" alt="Video Thumbnail 2">
</div>
</div>
</section>
</main>
<footer>
<p>© 2023 MyTube</p>
</footer>
</body>
</html>