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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AD - SBA - HTML/CSS/JavaScript


Link: https://lyoumbi.github.io/sba.javascript_3-page-website/

### Description
* In this Skill-based Assessment, you will be creating a small website and you get to pick what is the website about. The main purpose of this SBA is to test your skills in implementing a clean HTML structure that follows the methodologies of visual design, and styling your site so that it is user-friendly.
Expand Down
72 changes: 72 additions & 0 deletions contact.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Us</title>
<link rel="stylesheet" href="./css/style_contact.css">
</head>

<body>
<div class="main">
<div class="side_nav">
<ion-icon name="close-circle-outline" class="nav_closed"></ion-icon>
<ul>
<li><a href="./index.html">HOME</a></li>
<li><a href="./register.html">NEW MEMBER</a></li>
</ul>
</div>
<div class="container">
<div class="main_section1">
<div class="menu">
<ion-icon name="menu-sharp"></ion-icon><span>MENU</span>
</div>
<h1>CONTACT US</h1>
<img src="./img/pp1.jpg" alt="Lionel Youmbi">
</div>

<div class="main_section2">
<form action="#" method="get">
<table>
<tr>
<td>Object:</td>
<td><input type="text" name="object" id="object" placeholder=" Object"></td>
</tr>
<tr>
<td>Email:</td>
<td><textarea name="email" id="email" cols="50" rows="10"
placeholder="Compose your email"></textarea></td>
</tr>
<tr>
<td></td>
<td><input type="submit" value="Send" class="btn"></td>
</tr>
</table>
</form>
</div>

<div class="main_section3">
<h2>CONTACT ME</h2>
<div class="logo">
<a href="#">
<ion-icon name="call-sharp"></ion-icon>803 238 2671
</a>
<a href="#">
<ion-icon name="send-sharp"></ion-icon> nkyoli@gmail.com
</a>
<a href="https://github.com/lyoumbi">
<ion-icon name="logo-github"></ion-icon>GitHub
</a>
<a href="https://www.linkedin.com/in/lionel-youmbi-9983a3164/">
<ion-icon name="logo-linkedin"></ion-icon> LinkedIn
</a>
</div>
</div>
</div>
</div>
<script src="./js/script.js"></script>
<script src="https://unpkg.com/ionicons@5.1.2/dist/ionicons.js"></script>
</body>

</html>
299 changes: 295 additions & 4 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,300 @@
body {
background-color: navy;
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;1,100;1,200;1,300;1,400;1,500&display=swap');

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

.main {
font-family: 'Roboto', 'sans-serif';
position: relative;
background-color: rgb(211, 211, 211);
}

object {
.menu {
background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
background-color: rgba(34, 230, 181, 0.397);
display: flex;
justify-content: flex-start;
align-items: center;
}

.menu span {
color: white;
font-size: 1em;
}

.menu span:hover {
color: rgb(206, 206, 206);
}

.side_nav {
font-family: 'Roboto', 'sans-serif';
display: none;
position: fixed;
width: 20vw;
height: 100vh;
width: 100vh;
z-index: 1;
background-color: rgba(34, 230, 181);
background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
}

.side_nav ul {
margin-top: 45%;
}

.side_nav ul li {
margin-top: 15%;
}


.side_nav a {
text-decoration: none;
padding: 0 15%;
font-size: 170%;
text-align: right;
color: white;
}

.side_nav a:hover {
color: rgb(221, 221, 221);
}

.container {
font-family: 'Roboto', 'sans-serif';
position: relative;
display: grid;
grid-template-columns: repeat(12/1fr);
}

.main_section1 {
position: relative;
margin: auto;
grid-column: 1 / 11;
}

.main_section1 img {
width: 95vw;
height: 80vh;
}

.main_section1 h1 {
width: 100%;
height: auto;
text-align: center;
background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
background-color: rgba(34, 230, 181, 0.397);
position: absolute;
font-size: 10em;
font-weight: 300;
color: white;
}

.section2 {
width: 95vw;
height: 80vh;
margin: 30px 0;
grid-column: 1 / 11;
display: grid;
grid-template: repeat(2, 1fr)/ repeat(2, 1fr);
}

.main_section2 h2 {
font-size: 3em;
font-weight: 200;
text-align: center;
color: rgb(34, 230, 181);
background-color: rgb(211, 211, 211);
}

.section2 .article {
height: 90%;
width: 70%;
background-color: white;
margin: auto;
border-radius: 10px;
}

.article h3 {
font-family: 'Roboto', 'sans-serif';
font-size: 2em;
font-weight: 100;
text-align: center;
color: white;
border-top-right-radius: 10px;
border-top-left-radius: 10px;
background-color: rgb(34, 230, 181);
}

.article p {
font-family: 'Roboto', 'sans-serif';
height: 90%;
font-size: 1.2em;
text-align: left;
color: black;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
background-color: rgb(245, 245, 245);
padding: 1% 3% 0 3%;
}

.main_section3 {
width: 99vw;
height: 30vh;
margin: auto;
grid-column: 1 / 11;
background-color: rgb(34, 230, 181);
}

.main_section3 h2 {
margin: 1%;
font-size: 3em;
font-weight: 200;
text-align: center;
color: white;

}

.logo {
margin-top: 2%;
display: flex;
justify-content: space-evenly;
align-items: center;
}

.logo a {
text-decoration: none;
}

ion-icon {
color: white;
font-size: 3em;
}

ion-icon:hover {
color: rgb(206, 206, 206);
}

/* Media query */
@media only screen and (max-width: 1650px) {
.main_section2 {
display: flex;
justify-content: space-evenly;
align-items: center;
flex-direction: column;
}

.section2 {
height: 80vh;
display: flex;
justify-content: space-evenly;
align-items: center;
flex-direction: column;
}

.side_nav a {
font-size: 1em;
}
.section2 .article {
height: 80%;
width: 95%;
margin: 1% 0;
}

.article h3 {
width: 100%;
font-size: 1.5em;
}

.article p {
font-size: 1.1em;

}
}

@media only screen and (max-width: 1345px) {
.main_section1 h1 {
font-size: 3em;
}

.main_section1 img {
height: 60vh;
}

.main_section3 {
height: 20vh;
}

.main_section3 h2 {
font-size: 2.5em;
}

.main_section3 ion-icon {
font-size: 2em;
}
}

@media only screen and (max-width: 960px) {
.side_nav {
width: 30vw;
}

.menu span {
font-size: 0.7em;
}

ion-icon {
font-size: 2em;
color: white;
}

.main_section1 {
height: 20vh;
margin-right: 8%;
}

.main_section1 h1 {
font-size: 2em;
}

.section2 {
height: 60vh;
}

.main_section1 img {
width: 90vw;
height: 20vh;
}

.main_section2 h2 {
font-size: 1em;
}

.side_nav a {
font-size: 0.4em;
}

.article h3 {
width: 100%;
font-size: 1.1em;
}

.article p {
font-size: 0.4em;
height: 15%;

}

.main_section3 {
height: 10vh;
}

.main_section3 h2 {
font-size: 1em;
}

.main_section3 ion-icon {
font-size: 1em;
}
}
Loading