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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.
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.
If the stylesheet 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 CSS 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.
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.
<div class='container-fluid'>
<img class="img" src="https://upload.wikimedia.org/wikipedia/commons/3/39/Cloud_banner.jpg">
<nav id="grey">
<a class="simp" href="https://codepen.io/yanhuidiamond/pen/VmMgYw"> Home </a>
<a href="https://codepen.io/yanhuidiamond/pen/xRJdYR"> Why We're Here </a>
<a href="https://codepen.io/yanhuidiamond/pen/PbBmQB"> About Us </a>
<a id="thelink" href="https://codepen.io/yanhuidiamond/pen/qqYJjV"> Team </a>
<a href="https://codepen.io/yanhuidiamond/pen/aBjvgQ"> Services </a>
<a href="https://codepen.io/yanhuidiamond/pen/VmjLBa"> Contact Us </a>
</nav>
<hr class="hr">
<h2> Our Team</h2>
<div class='row'>
<div class= 'col-sm-12 col-lg-3 col-md-6'>
<img class="joshua" src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF0AAADRCAMAAACZ3U5SAAAAbFBMVEX///8AAAD7+/v09PTx8fHPz8/t7e339/fi4uLp6enExMTJycnZ2dmsrKyRkZHV1dVHR0doaGhbW1sjIyO9vb1hYWF2dnZ9fX0ZGRk0NDRvb28TExMdHR2enp6mpqazs7MtLS2JiYlOTk5AQEDQnGTqAAAIIUlEQVR4nLVc2YKiMBAUPPAadcb1xAPk//9xVbqaBAgkndBPq4MldKqrj8QdjWxtvrwfLlEUFb/31cL6U1YWL3+zqLLLdRsQ/N8uqttfKPzFXwP7Y6dxCPDVvhX8vQJzf/C7Aftjz8Dgqf7yXzjw48+/1XT1fPwq7y19wKcVR5Yxv5s8mUNnD9/PmOQ1FyT8TDs5Onywawbn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O/TAcrgFqlv+gHHhFlKc1SxLRfjRau7HQxPrqcPZ/m6wN+wQ3TifYfG7vpwu7RL2umGheot6LtBdgg8hlfbowRjJ0m00i/qjZ6l46O5WBHGEdNYHXMG5tkUIqa744+PcziNryF7Xf4YAOd27d7sIKXPh9yP1y9sSZCmTHvDSiIbtuDXTNi9EvZAVzbvOB+dOVNhPIA5bi2Y+Qi+eyKLVbOvVUDC/xENBFtcmAic7jx8BQg8aKZarZZ9RMnbD6yGVYMFNfYydGapWyITP/2rythhZSnMvd7e+IyOwWvX8BHzx/2HXvomOtRY3zpVRSCn5m0/rh9iyOtaECmfnAv106ZnnqtIggPeBN8a/xn4Z4keSLJzD7HGS12/D/LL20OBQSJsO6JcP/CvKBtqcHf0H1qVXqF/tnFAAAAAASUVORK5CYII='>
</div>
<div class='col-sm-12 col-lg-3 col-md-6'><img class="asher" src="http://oi66.tinypic.com/hvt5yq.jpg"></div>
<div class='col-sm-12 col-lg-3 col-md-6'><img class="ivy" src="http://oi68.tinypic.com/2a63zi8.jpg"> </div>
<div class='col-sm-12 col-lg-3 col-md-6'><img class="parker"src="http://oi67.tinypic.com/303ftw9.jpg"></div>
</div>
<h3> Parker</h4>
<p> Parker Freeman is a devoted 10th grader who is very opinionated about the coat policy at Drew. Parker wants to go to the University of Alabama for a career in sports medicine. She is passionate about others and their helath and cars about health, friends, family, and other living creatures. She has three siblings and because she is the oldest of the four of them, she is a very responsible and protective person. </p>
<h3> Asher</h4>
<p> Asher McGee is a student at Charles R. Drew Charter School. He plays for both Junior Varsity and Varsity basketball teams and hopes to continue his interest in athletics for the duration of his high school career. He is a sophomore who enjoys learning and likes to take every available opportunity to gain new knowledge. Asher believes that one of the most important lessons to be found in sports is that teamwork is a neccesity and tries to employ this idea in his life every day.</p>
<h3> Ivy </h4>
<p> Ivy Diamond is a sophomore at Charter R. Drew Charter School. She enjoys reading and playing tennis, and wants to go to college at the Gerogia Institute of Technology after she graduates from Drew in the 2019. She has been at Drew Charter School since 6th grade, and really enjoys the environment that has been created at Drew because of the fact that so many of the people at the school have been together or years. </p>
<h3> Joshua</h4>
<p> Joshua Clemons is a freshman at Charles R. Drew Charter School. He is highly motivated by his academics and the opportunity to make professional connections that could help him in the future. He is an athlete and plays soccer at Drew Charter School and wants to go to college after he graduates from high school in the year 2020. </p>
</div>
.img {height:100px; width:100%;}
a:link {text-decoration:none;}
a {padding:25px; font-size:19px;color:rgb(168, 223, 237);}
.hr {color:rgb(168, 223, 237);}
h1 {text-align:center; font-size: 30px; font-family:Serif; font-weight: strong;}
.image {width:34%; height: 200px;location:absolute; border:solid;padding:5px;border-width:1px; border-color:grey; float:left; }
p {font-family:Sans-Serif; text-align:center; font-size:13px}
#copy {text-align:center;color:grey; font-size:10px}
#grey {background-color:grey;}
h2 {text-align:center;}
h3 {text-align:center;}
.joshua{height:200px;}
.asher{height:200px;}
.ivy{height:200px;}
.parker{height:200px;}
$("#thelink").click(function(){
console.log("You are already on this page!")
})
Also see: Tab Triggers