A Pen by BOULHILT HASSAN on CodePen.
Created
February 20, 2023 00:45
-
-
Save Hassan-Boulhilt/34c5180cbff735e91c45c23ee7d8c20c to your computer and use it in GitHub Desktop.
Portfolio
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script> | |
<!-- | |
Hello Camper! | |
For now, the test suite only works in Chrome! Please read the README below in the JS Editor before beginning. Feel free to delete this message once you have read it. Good luck and Happy Coding! | |
- The freeCodeCamp Team | |
--> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<link | |
href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap"rel="stylesheet"/> | |
<link | |
rel="stylesheet" | |
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css"/> | |
<link rel="stylesheet" href="portfolio.css" /> | |
<title>Document</title> | |
</head> | |
<body> | |
<nav id="navbar"> | |
<ul> | |
<li><a href="#welcome-section">About</a></li> | |
<li><a href="#projects">Work</a></li> | |
<li><a href="#contact">Contact</a></li> | |
</ul> | |
</nav> | |
<section id="welcome-section"> | |
<h1>Hi I'am HASSAN</h1> | |
<p>a web developer</p> | |
</section> | |
<section id="projects"> | |
<div class="project-tile"> | |
<img | |
src="https://i.ibb.co/y44sVr0/tribute.png"alt="tribute page project"/> | |
<h4> | |
<a href="https://codepen.io/hassan1973/full/QWjzgJE">Tribute Page</a> | |
</h4> | |
</div> | |
<div class="project-tile"> | |
<img | |
src="https://i.ibb.co/gFjG4JW/landing.png"alt="product landing page project"/> | |
<h4> | |
<a href="https://codepen.io/hassan1973/full/YzyBaQa">Product Landing Page</a | |
> | |
</h4> | |
</div> | |
<div class="project-tile"> | |
<img | |
src="https://i.ibb.co/S5fynkW/tech.png"alt="technicalpage project"/> | |
<h4> | |
<a href="https://codepen.io/hassan1973/full/BaobKGJ">Technical Document Page</a> | |
</h4> | |
</div> | |
<div class="project-tile"> | |
<img | |
src="https://i.ibb.co/y44sVr0/tribute.png"alt="tribute page project"/> | |
<h4> | |
<a href="https://codepen.io/hassan1973/full/QWjzgJE">Tribute Page</a> | |
</h4> | |
</div> | |
<div class="project-tile"> | |
<img | |
src="https://i.ibb.co/gFjG4JW/landing.png"alt="product landing page project"/> | |
<h4> | |
<a href="https://codepen.io/hassan1973/full/YzyBaQa">Product Landing Page</a> | |
</h4> | |
</div> | |
<div class="project-tile"> | |
<img | |
src="https://i.ibb.co/S5fynkW/tech.png"alt="technicalpage project"/> | |
<h4> | |
<a href="https://codepen.io/hassan1973/full/BaobKGJ">Technical Document Page</a> | |
</h4> | |
</div> | |
<button>Show all ></button> | |
</section> | |
<section id="contact"> | |
<h2>Let's work together...</h2> | |
<p>How do you take your coffee?</p> | |
<div id="groupLink"> | |
<div class="icons"> | |
<a id="profile-link" href="https://github.com/hgiopf" target="_blank"><i class="fab fa-twitter fa-2x"></i>Twitter >></a> | |
</div> | |
<div class="icons"> | |
<a id="profile-link" href="https://github.com/hiofl" target="_blank"><i class="fab fa-github fa-2x"></i>GitHub >></a> | |
</div> | |
<div class="icons"> | |
<a id="profile-link" href="https://github.com/hgiorp" target="_blank"><i class="fab fa-facebook fa-2x"></i>Facebook >></a> | |
</div> | |
</div> | |
</section> | |
<footer> | |
<hr /> | |
<p>**This is just a fake portfolio. All the projects and contact details given are not real.</p> | |
</footer> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// !! IMPORTANT README: | |
// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place. | |
/*********** | |
INSTRUCTIONS: | |
- Select the project you would | |
like to complete from the dropdown | |
menu. | |
- Click the "RUN TESTS" button to | |
run the tests against the blank | |
pen. | |
- Click the "TESTS" button to see | |
the individual test cases. | |
(should all be failing at first) | |
- Start coding! As you fulfill each | |
test case, you will see them go | |
from red to green. | |
- As you start to build out your | |
project, when tests are failing, | |
you should get helpful errors | |
along the way! | |
************/ | |
// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example! | |
// Once you have read the above messages, you can delete all comments. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
box-sizing: border-box; | |
margin: 0; | |
padding: 0; | |
font-family: "Roboto", sans-serif; | |
} | |
#navbar { | |
display: flex; | |
flex-direction: row; | |
justify-content: flex-end; | |
width: 100%; | |
position: fixed; | |
background-color: hsl(210, 14%, 53%); | |
z-index: 1; | |
padding:1rem; | |
} | |
#navbar ul { | |
display: flex; | |
justify-content: center; | |
} | |
#navbar ul li { | |
margin-right: 5em; | |
list-style: none; | |
} | |
#navbar ul li a { | |
text-decoration: none; | |
color:white; | |
} | |
#welcome-section{ | |
height:100vh; | |
background-color:hsl(210, 27%, 44%); | |
display: flex; | |
flex-direction: column; | |
justify-content: center; | |
align-items: center; | |
} | |
#welcome-section > * { | |
font-size:4rem; | |
color:white; | |
} | |
#projects { | |
display: grid; | |
grid-template-areas: "project project project" | |
"project project project" | |
". button ."; | |
grid-template-columns: 1fr 1fr 1fr; | |
grid-template-rows: auto auto auto; | |
background-color: hsl(210, 66%, 38%); | |
} | |
.project-tile { | |
margin: .5rem; | |
text-align: center; | |
padding:10px 10px 0px 10px; | |
background-color: hsl(210, 66%, 38%); | |
} | |
.project-tile img { | |
display:block; | |
max-width: 100%; | |
margin: 0 auto; | |
} | |
.project-tile h4 { | |
margin-top:10px; | |
font-size: 24px; | |
} | |
.project-tile a { | |
text-decoration: none; | |
color:white; | |
} | |
#projects button { | |
color:white; | |
font-size:32px; | |
text-align: center; | |
background-color: black; | |
border:none; | |
margin:30px auto; | |
padding:10px; | |
grid-area: button; | |
cursor: pointer; | |
} | |
#projects button:hover{ | |
background-color: tomato; | |
} | |
#contact { | |
background-color: hsl(210, 79%, 15%); | |
height:50vh; | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
} | |
#contact h2{ | |
margin: 30px; | |
font-size: 2rem; | |
color:white; | |
} | |
#contact p { | |
color:white; | |
} | |
.icons i { | |
color:white; | |
text-align: center; | |
margin-left: 25px; | |
padding:10px; | |
} | |
#groupLink { | |
display: flex; | |
justify-content: space-evenly; | |
} | |
#profile-link { | |
margin-top: 20px; | |
margin-left: 5px; | |
color:white; | |
text-decoration: none; | |
display: inline-block; | |
} | |
#profile-link:hover { | |
animation-name: anime; | |
animation-duration: 1s ; | |
} | |
@keyframes anime { | |
50% { | |
transform: rotate(-45deg); | |
} | |
} | |
footer { | |
padding:20px; | |
background-color: navy; | |
color:white | |
} | |
footer p { | |
margin:20px; | |
} | |
hr { | |
height: 5px; | |
background-color:white; | |
width:100%; | |
} | |
@media (max-width:600px){ | |
#welcome-section > * { | |
font-size:2rem; | |
color:white; | |
} | |
#projects{ | |
display: flex; | |
flex-direction: column; | |
} | |
#navbar ul li { | |
margin-right: 2em; | |
list-style: none; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
a portfolio website