HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URL's added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by Skypack, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ES6 import
usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<!DOCTYPE html>
<html>
<head>
<title>Hyun Chae's Portfolio Page</title>
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
</head>
<body>
<main>
<section id="welcome-section">
<nav id="navbar">
<a href="#welcome-section">About</a>
<a href="#projects">Work</a>
<a href="#contact">Contact</a>
</nav>
<h1>Hi, my name is <span class="redish">Hyun Chae</span>.<br><span id="welcome-desc">I am a <span class="redish">full-stack</span> developer.</span>
</h1>
<div class="topoff">
<div id="skillSet-cont">
<div id="skill">Skill Set</div>
<div class="skillSet">
<i class="fab fa-html5"></i>
<div>Front-end Developer</div>
<ul>
<li>HTML</li>
<li>CSS</li>
<li>JavaScript</li>
<li>Bootstrap</li>
</ul>
</div>
<div class="skillSet">
<i class="fas fa-server"></i>
<div>Back-end Developer</div>
<ul>
<li>NodeJS</li>
<li>MongoDB</li>
</ul>
</div>
</div>
</div>
</section>
<section id="introduction">
<h2>Coding is an art!</h2>
<p>Until I started working for an IT company, I was never into technology.</p>
<p>However, working as an IT consuntant and getting exposed to IT technology, changed my perspective.</p>
<p>I see coding as art form and way to express my creativity.</p>
<p>All of my work is artwork coming from pure passion.</p>
<p>I love coding and will continue this journey!</p>
</section>
<section id="projects">
<div id="gridArea">My recent projects</div>
<a class="project-tile" href="https://codepen.io/daniel-chae/full/YRqwrg">
<iframe src="https://codepen.io/daniel-chae/full/YRqwrg" frameborder="0" class="frame"></iframe>
</a>
<a class="project-tile" href="https://codepen.io/daniel-chae/full/RqVeRZ">
<iframe src="https://codepen.io/daniel-chae/full/RqVeRZ" frameborder="0" class="frame"></iframe>
</a>
<a href="https://codepen.io/daniel-chae/full/YRqwrg" class="project-title" target="_blank">Tribute Page</a>
<a href="https://codepen.io/daniel-chae/full/RqVeRZ" class="project-title" target="_blank">Survey Page</a>
<a class="project-tile" href="https://codepen.io/daniel-chae/full/WYEzKe">
<iframe src="https://codepen.io/daniel-chae/full/WYEzKe" frameborder="0" class="frame"></iframe>
</a>
<a class="project-tile" href="https://codepen.io/daniel-chae/full/dwybPE">
<iframe src="https://codepen.io/daniel-chae/full/dwybPE" frameborder="0" class="frame"></iframe>
</a>
<a href="https://codepen.io/daniel-chae/full/WYEzKe" class="project-title" target="_blank">Product Landing Page</a>
<a href="https://codepen.io/daniel-chae/full/dwybPE" class="project-title" target="_blank">Technical Documentation Page</a>
</section>
<section id="contact">
<h2>Please feel free to contact me</h2>
<div class="channel">
<a href="https://www.linkedin.com/in/danichae/" target="_blank"><i class="fab fa-linkedin"></i></a>
<a href="#"><i class="fab fa-github"></i></a>
<a href="https://www.freecodecamp.org/fccb1ba1a81-065a-4125-ae57-c7179478a8e6" id="profile-link" target="_blank"><i class="fab fa-free-code-camp" target="_blank"></i></a>
</div>
<footer>Made by Hyun Chae<br><br>Made with pure <i class="fab fa-css3"></i></footer>
</section>
</main>
</body>
</html>
@media(min-width: 700px){
body {
font-family: futura, "Arial Black";
margin: 0 !important;
}
main {
margin:0;
width: 100%;
}
#welcome-section {
text-align: center;
background-color: white;
padding-top: 180px;
}
h1 {
font-size: 40px !important;
color: #333333;
font-weight: 900 !important;
}
#welcome-desc {
font-size: 30px;
font-weight: lighter;
color:#636363;
}
#projects {
display: grid;
grid-column-gap: 10px;
grid-row-gap: 10px;
grid-template-columns: repeat(2, 400px);
grid-template-rows: auto 300px 40px 300px 40px;
justify-content: center;
align-content: center;
}
nav {
text-align: right;
padding: 20px 100px;
background-color: #39123C;
position: fixed;
top:0;
left:0;
width: 100%;
box-sizing: border-box;
z-index: 100;
}
.redish {
color:#39123C;
}
nav a {
margin-left: 25px;
font-size: 20px;
color: white;
text-decoration: none;
}
#introduction {
background-color: #39123C;
color: white;
height: 300px;
text-align: center;
padding-top: 130px;
margin-bottom: 100px;
}
#skillSet-cont {
display: grid;
grid-column-gap: 2px;
grid-template-columns: repeat(2, 300px);
grid-template-rows: 40px auto;
justify-content: center;
}
.skillSet {
position: relative;
height: 300px;
color: #39123C;
background-color: white;
border: solid 1px #EEEEEE;
border-radius: 5%;
padding-top: 40px;
font-size: 20px;
}
.fa-html5, .fa-server {
font-size: 50px;
color: #EA4752;
margin-bottom: 20px;
}
ul {
list-style:none;
padding: 0;
font-size: 15px;
color:#787871;
}
.project-tile {
border: 1px solid #EEEEEE;
border-radius: 5%;
}
.project-tile {
width: 100%;
height: 100%;
padding: 0;
overflow: hidden;
}
.frame {
width: 400%;
height: 400%;
border: 0;
-ms-transform: scale(0.25);
-moz-transform: scale(0.25);
-o-transform: scale(0.25);
-webkit-transform: scale(0.25);
transform: scale(0.25);
-ms-transform-origin: 0 0;
-moz-transform-origin: 0 0;
-o-transform-origin: 0 0;
-webkit-transform-origin: 0 0;
transform-origin: 0 0;
}
.project-title {
color:inherit;
text-decoration: none;
margin-bottom: 20px;
text-align:center;
}
#contact {
background-color:#39123C;
height: 300px;
margin-top: 100px;
color: white;
text-align: center;
padding: 50px;
}
.fa-linkedin, .fa-github, .fa-free-code-camp{
font-size: 40px
}
.channel {
display: flex;
justify-content: center;
margin-top: 50px;
text-decoration: none;
}
.channel a {
color: white;
margin: 0 20px;
}
footer {
margin-top: 100px;
}
#gridArea {
grid-area: 1 / 1 / 2 / 3;
text-align: center;
margin-bottom: 20px;
font-size: 25px;
}
#skill {
grid-area: 1 / 1 / 2 / 3;
text-align: center;
margin-bottom: 30px;
font-size: 25px;
color: #39123C;
font-size: 25px;
}
.topoff {
position: relative;
top: 100px;
}
}
Also see: Tab Triggers