Placeholder Portfolio

Developer
Size
7,180 Kb
Views
14,168

How do I make an placeholder portfolio?

Portfolio for Free Code Camp with a flexable projects section when clicked. What is a placeholder portfolio? How do you make a placeholder portfolio? This script and codes were developed by Adam on 28 November 2022, Monday.

Placeholder Portfolio Previews

Placeholder Portfolio - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Placeholder Portfolio</title> <link href="https://fonts.googleapis.com/css?family=Ultra" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Slabo+13px" rel="stylesheet">
<script src="https://use.fontawesome.com/c86b9e8ca1.js"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <header id="nav"> <nav> <div><a href="#home">Portfolio</a></div> <ul> <li><a href="#about">About</a></li> <li><a href="#projects">Projects</a></li> <li><a href="#skills">Skills</a></li> <li><a href="#contact">Contact</a></li> </ul> </nav>
</header>
<div id="home" class="title"> <div> <h2>Portfolio</h2> <h3>A simple template portfolio</h3> </div>
</div>
<div class="about" id="about"> <h2>About</h2> <div> <img src="https://www.dropbox.com/s/ypcdcweu9v3586a/dogonlaptop.png?raw=1"> <div class="text"> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Vitae unde architecto fuga cum ipsam natus soluta in quos adipisci voluptatibus vel officia dolore facilis reprehenderit laboriosam placeat laborum officiis quia.</p> </div> </div>
</div>
<div class="project-container" id="projects"> <h2>Projects</h2> <div class="projects"> <div class="project calculator"> <a href="https://codepen.io/rzencoder/full/aBRZbZ">JQuery Calculator</a> </div> <div class="project pomodoro"> <a href="#https://codepen.io/rzencoder/full/aBXGKW">Pomodoro Timer</a> </div> <div class="project solar"> <a href="#https://codepen.io/rzencoder/full/ObrrWd">CSS Solar System</a> </div> <div class="project keyboard"> <a href="https://codepen.io/rzencoder/full/VmBeLZ" target="_blank">Audio API Keyboard</a> </div> </div>
</div>
<div class="skills" id="skills"> <div> <h2>Skills</h2> <ul> <li><span><i class="fa fa-html5" aria-hidden="true"></i></span> HTML5 </li> <li><span><i class="fa fa-css3" aria-hidden="true"></i></span> CSS3 </li> <li><span>JS</span>Javascript</li> </ul> <ul> <li><img src="https://www.dropbox.com/s/jyodgr2dng6dvps/jquery-icon-17841.png?raw=1">JQuery</li> <li><img src="https://www.dropbox.com/s/zmcdsbo25vgqhva/logo-b6e1ef6e.png?raw=1">Sass</li> <li><img src="https://www.dropbox.com/s/hvgumih0brffze6/react-logo-1000-transparent.png?raw=1">React</li> </ul> </div>
</div>
<footer id="contact"> <h4>Contact</h4> <div> <a href="#nav"><i class="fa fa-twitter" aria-hidden="true"></i></a> <a href="#nav"><i class="fa fa-github" aria-hidden="true"></i></a> <a href="#nav"><i class="fa fa-codepen" aria-hidden="true"></i></a> <a href="#nav"><i class="fa fa-free-code-camp" aria-hidden="true"></i></a> </div>
</footer> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Placeholder Portfolio - Script Codes CSS Codes

* { box-sizing: border-box;
}
html { font-size: 20px;
}
@media (max-width: 900px) { html { font-size: 16px; }
}
@media (max-width: 750px) { html { font-size: 14px; }
}
@media (max-width: 550px) { html { font-size: 12px; }
}
body { color: #ffffff; font-family: "Slabo 13px", serif; text-align: center;
}
a { color: inherit; text-decoration: none;
}
ul { list-style-type: none;
}
h2 { font-family: "Ultra", serif;
}
/*Header*/
header { display: flex; position: fixed; justify-content: center; background-color: #542300; height: 60px; border-bottom: 3px solid #0b8983; align-items: center; width: 100%; font-size: 1.5rem; z-index: 2;
}
@media (max-width: 400px) { header { font-size: 1.3rem; }
}
nav { display: flex; width: 100%; font-weight: bold;
}
nav div { display: inline-block; float: left; text-align: left; font-family: "Ultra", serif; padding: 2%; font-size: 2rem;
}
@media (max-width: 750px) { nav div { display: none; }
}
nav ul { width: 80%; display: flex; justify-content: flex-end; align-items: center;
}
@media (max-width: 750px) { nav ul { width: 100%; justify-content: center; }
}
nav ul li { padding: 3%;
}
nav ul li:hover { color: #0b8983;
}
/*Title*/
.title { text-align: left; font-size: 4rem; display: flex; border-bottom: 3px solid #542300; align-items: center; background-color: #542300; width: 100%; height: 500px; background: linear-gradient(rgba(84, 35, 0, 0.9), rgba(84, 35, 0, 0.2)), url("https://images.unsplash.com/photo-1477238134895-98438ad85c30?dpr=1.25&auto=format&fit=crop&w=1500&h=1001&q=80&cs=tinysrgb&crop="); background-attachment: fixed; background-repeat: no-repeat; background-size: cover; background-position: center;
}
@media (max-width: 750px) { .title { height: 400px; }
}
@media (max-width: 550px) { .title { height: 300px; }
}
@media (max-width: 400px) { .title { font-size: 3rem; }
}
.title div { display: flex; flex-direction: column; margin-left: 5%;
}
.title h3 { font-size: 1.5rem;
}
/*About*/
.about { background-color: #0b8983; border-bottom: 3px solid #542300;
}
.about h2 { color: #542300; font-size: 2.5rem; padding-top: 3%;
}
.about > div { display: flex; max-width: 1000px; margin: 5% auto;
}
@media (max-width: 550px) { .about > div { flex-direction: column; align-items: center; }
}
.about img { width: 200px; height: 200px; background-color: white; border-radius: 50%;
}
@media (max-width: 750px) { .about img { width: 150px; height: 150px; }
}
.about .text { font-size: 1.5rem; width: 100%; margin: 4%; display: flex; justify-content: center; align-items: center;
}
/*Projects*/
.project-container { width: 100%; height: 500px; border-bottom: 3px solid #542300; position: relative;
}
.project-container h2 { left: 40%; font-size: 2.5rem; padding: 1% 0; position: absolute;
}
@media (max-width: 450px) { .project-container h2 { left: 30%; }
}
.projects { display: flex; height: 100%;
}
@media (max-width: 600px) { .projects { flex-direction: column; }
}
.project { display: flex; align-items: center; justify-content: center; height: 100%; flex: 1; font-family: "Ultra", serif; font-size: 0rem; background-position: center; transition: background 0.5s, flex 1s cubic-bezier(0.6, -0.2, 0.73, -0.09), font-size 1s cubic-bezier(0.6, -0.2, 0.73, -0.09);
}
.show { flex: 4; font-size: 2.5rem; background-position: center;
}
.calculator { background: linear-gradient(rgba(51, 21, 0, 0.9), rgba(51, 21, 0, 0.8)), url("https://www.dropbox.com/s/4oqnyhb1nvy9rwr/calculator.png?raw=1"); background-size: cover;
}
.pomodoro { background: linear-gradient(rgba(77, 32, 0, 0.9), rgba(77, 32, 0, 0.9)), url("https://www.dropbox.com/s/jcvi15lcks92edt/pomodoro.png?raw=1"); background-size: cover;
}
.solar { background: linear-gradient(rgba(84, 35, 0, 0.9), rgba(84, 35, 0, 0.8)), url("https://www.dropbox.com/s/oi13m5hkg36b9nk/solar.png?raw=1"); background-size: cover;
}
.keyboard { background: linear-gradient(rgba(102, 43, 0, 0.9), rgba(102, 43, 0, 0.9)), url("https://www.dropbox.com/s/heb0ckmxnpp8268/keyboard.png?raw=1"); background-size: cover;
}
/*Skills*/
.skills { display: flex; width: 100%; background: linear-gradient(rgba(84, 35, 0, 0.9), rgba(84, 35, 0, 0.2)), url("https://images.unsplash.com/photo-1452421822248-d4c2b47f0c81?dpr=1.25&auto=format&fit=crop&w=1300&h=600&q=80&cs=tinysrgb&crop="); background-attachment: fixed; border-bottom: 3px solid #542300;
}
.skills h2 { font-size: 2.5rem; margin: 15px 0;
}
.skills div { display: flex; flex-direction: column; margin: 0 auto; width: 90%; align-items: center;
}
.skills ul { width: 100%; display: flex; align-items: center; justify-content: space-around;
}
.skills ul li { margin: 10px 0px; font-weight: bold; font-size: 1.5rem;
}
.skills ul li:hover { animation-name: scale; animation-duration: 2s;
}
.skills img { display: block; width: 100px; height: 100px; margin-bottom: 10px;
}
@media (max-width: 750px) { .skills img { width: 70px; height: 70px; }
}
@media (max-width: 550px) { .skills img { width: 60px; height: 60px; }
}
.skills span { display: block; color: #0b8983; font-size: 4rem; text-align: center; margin-bottom: 10px;
}
@keyframes scale { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); }
}
/*Footer*/
footer { display: flex; align-items: center; height: 60px; background-color: #0b8983; font-size: 2rem;
}
footer h4 { font-family: "Ultra", serif; margin-left: 40px; width: 50%; text-align: left;
}
@media (max-width: 550px) { footer h4 { display: none; }
}
footer div { display: flex; justify-content: space-around; width: 50%;
}
@media (max-width: 550px) { footer div { width: 100%; }
}
footer i { padding: 5px; margin: 0 10px; color: #542300;
}
footer i:hover { animation-name: spin; animation-duration: 1s; color: #ffffff;
}
@keyframes spin { 100% { transform: rotate(360deg); }
}

Placeholder Portfolio - Script Codes JS Codes

'use strict';
/*Portfolio for Free Code Camp. Flexible projects when clicking each project and smooth scrolling on navigation links* Responsive. Tested on Firefox, Chrome and Edge. CSS needs tidying*/
//Had to add as Edge browser doesn't have the forEach method on the nodeList object
NodeList.prototype.forEach = Array.prototype.forEach;
//Smooth Scrolling function adapted from css tricks https://css-tricks.com/snippets/jquery/smooth-scrolling/
$(function () { $('a[href*="#"]:not([href="#"])').click(function () { if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) { var target = $(this.hash); target = target.length ? target : $('[name=' + this.hash.slice(1) + ']'); if (target.length) { $('html, body').animate({ scrollTop: target.offset().top - 60 }, 1000); return false; } } });
});
//Flex project container
var projects = document.querySelectorAll('.project');
function projectToggle() { this.classList.toggle('show');
}
projects.forEach(function (project) { project.addEventListener('click', projectToggle);
});
Placeholder Portfolio - Script Codes
Placeholder Portfolio - Script Codes
Home Page Home
Developer Adam
Username rzencoder
Uploaded November 28, 2022
Rating 3
Size 7,180 Kb
Views 14,168
Do you need developer help for Placeholder Portfolio?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Adam (rzencoder) Script Codes
Create amazing blog posts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!