Skip to content

Commit

Permalink
merge second with main
Browse files Browse the repository at this point in the history
  • Loading branch information
farahmahfouz committed Jul 16, 2024
2 parents 3bd0e3b + 4295877 commit fa54661
Show file tree
Hide file tree
Showing 3 changed files with 151 additions and 0 deletions.
117 changes: 117 additions & 0 deletions css/landing page.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
* {
margin: 0;
padding: 0;
list-style: none;
text-decoration: none;
}

.logo {
order: 1;
font-size: 2rem;
font-weight: 800;
}

nav {
display: flex;
justify-content: space-between;
align-items: center;
height: 64px;
margin-left: 50px;
margin-right: 50px;

}

nav ul {
display: flex;
order: 2;
}

nav ul a {
color: #000000;
font-size: 1.6rem;
margin-left: 2rem;
z-index: 5;
}

.container {
height: 600px;
padding: 20px;
margin-left: 40px;
margin-right: 40px;
display: flex;
flex-direction: row-reverse;
justify-content: space-between;
align-items: center;
gap: 40px;
}

.container img {
width: 100%;
/* height: 500px; */
z-index: -1;
}

.hero-text {
width: 80%;
}

.hero-text h1 {
font-size: 3.3rem;
margin-bottom: 12px;
color: #8b4513;
}

.hero-text p {
font-size: 1.4rem;
margin-bottom: 12px;
}

button {
padding: 1em 2.1em 1.1em;
border-radius: 4px;
margin: 8px;
border: none;
background-color: #e2e273;
color: #000000;
font-weight: 800;
font-size: 0.85em;
text-transform: uppercase;
text-align: center;
box-shadow: 0em -0.2rem 0em #e2e273 inset;
transition: color 3s ease-in-out;
}

button:hover {
background-color: transparent;
color: #8b4513;
border: 3px solid #e2e273;
cursor: pointer;
}

/* Media queries */

@media (max-width: 884px) {
.container {
margin-top: 10px;
flex-direction: column;
}
.hero-text {
width: 100%;
text-align: center;
}
.hero-text h1 {
font-size: 3rem;
}
}

@media (max-width: 678px) {
.hero-text h1 {
font-size: 2rem;
}
}
@media (max-width: 428px) {
nav ul {
display: none;
}
}

1 change: 1 addition & 0 deletions exams-animate.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Responsive Hero</title>
<link rel="stylesheet" href="css/landing page.css">
</head>
<body>
<header>
<nav>
<ul>
<li><a href="login.html">Login</a></li>
<li><a href="register.html">Registration</a></li>
</ul>
<h1 class="logo">Exam Evolved</h1>
</nav>
</header>
<main>
<div class="container">
<!-- <img src="res-img.png" alt=""> -->
<img src="exams-animate.svg" alt="">
<div class="hero-text">
<h1>Unleash Exam Potential</h1>
<p>Sharpen your skills with a variety of question formats on our secure online testing platform !
</p>
<button>Get Started</button>
</div>
</div>
</main>
</body>
</html>

0 comments on commit fa54661

Please sign in to comment.