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

challenges done #7

Open
wants to merge 1 commit 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.
Binary file added achahid-/images/pexels-cottonbro-8718388.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
73 changes: 73 additions & 0 deletions achahid-/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>achahid-</title>
<link rel="stylesheet" href="style.css">
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"
integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap" rel="stylesheet">
</head>
<body>
<nav>
<a href="#" Title="LOGO"><span>KS.Dev<span></a>
<ul class="nav-menu">
<a href="#"><li>Home</li></a>
<a href="#"><li>Explore</li></a>
<a href="#"><li>Contact</li></a>
<a href="#"><li>About</li></a>
</ul>
<div class="hamburger-button">
<button type="button">Login</button>
<div class="hamburger">
<i class="fa-solid fa-bars"></i>
</div>
</div>
</nav>
<main>
<section id="#first-challenge-done">
<h1>welcome to the <br><span style="color: #03ba92;border-right: 1px solid aliceblue; animation:1.1s anim infinite; padding:4px">matrix<span></h1>
<div id="paragraph">
<p>
Matrix code, also known as Matrix digital rain or sometimes green rain,
is the computer code related to the Matrix franchise. The falling green
code is a way of representing the activity of the virtual reality environment of the Matrix on screen.
All four Matrix movies, as well as the spin-off Animatrix episodes, open with the code. It is considered
a characteristic mark of the franchise, more or less like the opening crawl is for Star Wars.
</p>
</div>
</section>
<section id="second-challenge-done">
<div class="card">
<div class="img-container">
<img src="./images/pexels-cottonbro-8718388.jpg" alt="Matrix-image" />
</div>
<div class="matrix-code">
<h2>Matrix Code</h2>
<p>“You get used to it, I don't even see the code. All I see is a blond, brunette, redhead.”</p>
</div>
</div>
</section>
<form>
<input id="text-input" type="text" placeholder="name" />
<input id="text-input" type="text" placeholder="email"/>
<input id="text-input" type="text" placeholder="messgage"/>
<input id="submit-button" type="submit" value="Submit">
</form>
</div>
</main>

</body>
</html>
Empty file added achahid-/init.js
Empty file.
233 changes: 233 additions & 0 deletions achahid-/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,233 @@
/* Default Styling */

@keyframes anim {
50% {
border-right: 1px solid white
}
100%{
border-right: 0px;
}
}

* {
margin: 0px;
padding: 0px;
color: white;
font-family: "Montserrat", sans-serif;
}

ul {
list-style: none;
}

a {
text-decoration: none;
}

li {
font-size: 1rem;
}

body {
min-width: 100vw;
min-height: 100vh;
background-image: url(./images/mariola-grobelska-h6XihPOkSIY-unsplash.jpg);
background-size: contain;
background-position:top;
background-repeat: round;
}

/* nav styling */

nav {
display: flex;
justify-content: space-around;
width: 80%;
margin: auto;
padding: 2rem;
align-items: center;
}

.nav-menu {
display: flex;
gap: 4rem;
}

nav span {
font-size: 2rem;
font-weight: 900;
}

nav button {
width: 150px;
height: 40px;
font-weight: bold;
font-size: 1rem;
background-color: transparent;
border: 1px #05f1d2 solid;
border-radius: 15px;
transition: 0.7s;
cursor: pointer;
}

nav button:hover {
font-size: larger;
background-color: #03ba9285;
cursor: pointer;
}

.nav-menu li {
transition: 0.6s;
font-weight: bold;
}

.nav-menu li:hover {
font-size: larger;
border-bottom: 2px solid #05f1d2;
}

.hamburger {
display: none;
}

.hamburger-button {
display: flex;
align-items: center;
gap: 2rem;
}

.hamburger i {
font-size: 2rem;
}

/* */

main {
margin-top: 140px;
align-items: center;
}

h1 {
font-size: 120px;
text-align: center;
text-transform: capitalize;
}

#paragraph {
width: 60%;
margin: auto;
text-align: center;
margin-top: 40px;
font-size: 1.8rem;
backdrop-filter: blur(10px);
mix-blend-mode: normal;
padding: 40px;
border-radius: 30px;
}

#paragraph p {
text-wrap: wrap;
}

/* Card styling */

#second-challenge-done {
width: 90%;
margin: 60px auto 0px;
display: flex;
justify-content: center;
}

.card {
display: flex;
height: 550px;
width: 700px;
background-color: transparent;
backdrop-filter: blur(10px);
mix-blend-mode: normal;
border-radius: 30px;
}

.img-container {
width: 50%;
height: 100%;
}

.img-container img {
width: 100%;
height: 100%;
border-radius: 15px;
}

.matrix-code {
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
width: 50%;
}

.matrix-code p {
color: #90a88c;
text-shadow: 10px 10px 20px #90a88c;
}

form {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin-top: 40px;
gap: 30px;
}


#text-input {
background-color: transparent;
border: 1px solid;
color: #90a88c;
text-shadow: 10px 10px 20px #90a88c;
font-weight: bold;
padding: 20px;
font-size: large;
border-radius: 15px;
}

#submit-button {
width: 150px;
height: 40px;
font-weight: bold;
font-size: 1rem;
background-color: transparent;
border: 1px #05f1d2 solid;
border-radius: 15px;
transition: 0.7s;
cursor: pointer;
}

#submit-button:hover {
font-size: larger;
background-color: #03ba9285;
cursor: pointer;
}

@media (max-width: 1000px) {
nav {
justify-content: space-between;
}

.nav-menu {
gap: 2rem;
}

@media (max-width: 800px) {
.nav-menu {
display: none;
}
.hamburger {
display: block;
}
}


}