Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solve Tugas Muhammad Ivan Ardianadi Afiat #42

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 46 additions & 0 deletions Muhammad Ivan Ardianadi Afiat/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<title>Interstellar Movie Landing</title>
</head>
<body>
<header>
<h1>I n t e r s t e l l a r</h1>
</header>

<section id="main-content">
<div class="movie-info">
<h2>Synopsis</h2>
<p>"Interstellar" is a masterpiece science fiction film directed by Christopher Nolan.</p>
<p>In Earth's future, a global crop blight and second Dust Bowl are slowly rendering the planet uninhabitable. Professor Brand (Michael Caine), a brilliant NASA physicist, is working on plans to save mankind by transporting Earth's population to a new home via a wormhole. But first, Brand must send former NASA pilot Cooper (Matthew McConaughey) and a team of researchers through the wormhole and across the galaxy to find out which of three planets could be mankind's new home.</p>
<div class="cta-buttons">
<a href="https://www.youtube.com/watch?v=2LqzF5WauAw" target="_blank" class="cta-button">Watch Trailer</a>
<a href="https://www.youtube.com/watch?v=kpK4cDk2bRs" target="_blank" class="cta-button">Listen Soundtrack 1</a>
<a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" target="_blank" class="cta-button">Listen Soundtrack 2</a>
</div>
</div>
<div class="movie-image">
<img src="image/Interstellar-poster.jpg" alt="Interstellar Movie Scene" class="movie-scene">
</div>
</section>

<section id="sub-content">
<div class="additional-image">
<img src="image/Interstellar-poster2.jpg" alt="Additional Image 1">
</div>
<div class="additional-image">
<img src="image/Interstellar-poster1.jpg" alt="Additional Image 2">
</div>
<div class="additional-image">
<img src="image/Interstellar-poster3.jpg" alt="Additional Image 3">
</div>
</section>

<footer>
<p>&copy; 2023 Interstellar Movie Fan Page</p>
</footer>
</body>
</html>
113 changes: 113 additions & 0 deletions Muhammad Ivan Ardianadi Afiat/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
/* Reset some default styles */
body, h1, h2, p, a, img {
margin: 0;
padding: 0;
}

body {
background-image: url('image/Interstellar-background.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
font-family: Arial, sans-serif;
line-height: 1.6;
}

/* Basic styling */
header {
background-color: rgba(0, 0, 0, 0);
color: white;
text-align: center;
padding: 1rem;
}

#main-content {
background-color: rgba(255, 255, 255, 0.7);
display: flex;
align-items: center;
justify-content: center;
padding: 2rem;
margin-top: 20px;
}

.movie-info {
flex: 1;
padding: 1rem;
}

.movie-info h2 {
font-size: 1.5rem;
margin-bottom: 1rem;
}

.movie-info p {
margin-bottom: 1rem;
text-align: justify;
}

.cta-button {
display: inline-block;
padding: 10px 20px;
background-color: #000000;
color: white;
text-decoration: none;
border-radius: 8px;
margin-top: 1rem;
}

.cta-buttons {
text-align: left;
}

.cta-buttons .cta-button {
display: inline-block;
margin: 1 5px;
}

.movie-image {
flex: 1;
text-align: center;
padding: 1rem;
}

.movie-image img {
max-width: 100%;
height: auto;
border: 2px solid #ddd;
border-radius: 5px;
}

.movie-scene {
max-width: 100%;
height: auto;
max-height: 350px;
border: 2px solid #ddd;
border-radius: 5px;
}

#sub-content {
display: flex;
justify-content: center;
align-items: center;
padding: 1rem;
}

.additional-image {
flex: 1;
padding: 0rem;
text-align: center;
}

.additional-image img {
width: 100%;
height: 300px;
object-fit: scale-down;
border-radius: 5px;
}

footer {
text-align: center;
padding: 1rem;
background-color: #000000;
color: white;
}