Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
104 changes: 104 additions & 0 deletions moviesite/Style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
body {
background-color: #000000;
color: #ffa500;
align-items: center;
}

.hero-section {
background-color: #ffa500;
border: 5px solid #000000;
animation: wave 5s linear infinite;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 1s ease-in-out;
}

@keyframes wave {
0% {
background-position: 0 0;
}
50% {
background-position: 50% 0;
}
100% {
background-position: 100% 0;
}
}

.hero-section h1 {
color: black;
}

.movies-section {
background-color: #000000;
}

.movies-section h2 {
color: #ffa500;
}

.movie-card {
background-color: #ffa500;
color: black;
box-shadow: 0 0 5px rgba(255, 165, 0, 0.5);
align-items: center;
}

.footer {
background-color: #000000;
color: #ffa500;
}
.nav {
background-color: black;
border-bottom: 5px solid #00ff00;
transition: all 0.2s ease-in-out;
}

.nav a {
color: white;
text-decoration: none;
padding: 10px 20px;
display: inline-block;
}

.nav a:hover {
color: #00ff00;
text-shadow: 0 0 10px #00ff00;
}
.btn-watch-now {
background-color: black;
border: 5px solid #ffa500;
color: white;
text-decoration: none;
padding: 10px 20px;
display: inline-block;
text-align: center;
transition: all 0.2s ease-in-out;
}

.btn-watch-now:hover {
color: #ff8000;
text-shadow: 0 0 10px #e2e2e2;
}
.btn-watch-now:hover {
animation: wave 1s linear infinite;
}

@keyframes wave {
0% {
background-position: 0 0;
}
50% {
background-position: 50% 0;
}
100% {
background-position: 100% 0;
}
}
img{
block-size: 100%;
align-items: center;
}
Binary file added moviesite/extraction-2-movie-review-2023.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions moviesite/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<!DOCTYPE html>
<html>
<head>
<title>Movie Landing Page</title>
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
</head>
<body>
<nav class="nav">
<a href="#">Home</a>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should link back to /index.html for ese of navigation throught the project, and add your information to the root index.html so that your site can be viewed

<a href="#">Movies</a>
<a href="#">TV Shows</a>
<a href="#">Contact</a>
</nav>
<div class="hero-section" style="align-items: center;">

<img src="https://rb.gy/r406e" alt="Movie Background 2">

</div>
<h1>Coming Soon to Theaters</h1>
<a href="#" class="btn btn-watch-now">Watch Now</a>
<div class="movies-section">
<h2>Popular Movies</h2>
<div class="movies-grid">
<div class="movie-card">
<img src="https://rb.gy/i4nuq" style="align-items: center;" alt="Movie Poster 2">
<h3>Tejas</h3>
</div>
<div class="movie-card">
<img src="https://rb.gy/gnxrw" alt="Movie Poster 3">
<h3>Movie Title 3</h3>
</div>
<div class="movie-card">
<img src="https://rb.gy/guard" alt="Movie Poster 4">
<h3>Movie Title 4</h3>
</div>
<div class="movie-card">
<img src="https://rb.gy/guard" alt="Movie Poster 5">
<h3>Movie Title 5</h3>
</div>
</div>
</div>

<footer class="footer">
<p>Copyright &copy; 2023 Movie Landing Page</p>
</footer>

</body>
</html>
17 changes: 17 additions & 0 deletions moviesite/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Fade in the hero section when the page loads
window.addEventListener("load", function() {
document.querySelector(".hero-section").style.opacity = 1;
});

// Add a hovering effect to the movie cards
const movieCards = document.querySelectorAll(".movie-card");

movieCards.forEach((movieCard) => {
movieCard.addEventListener("mouseover", () => {
movieCard.style.transform = "scale(1.1)";
});

movieCard.addEventListener("mouseout", () => {
movieCard.style.transform = "scale(1)";
});
});