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.
<!--<html>-->
<head>
<title>My Portfolio 1</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--Need this for icons-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/css?family=Playball" rel="stylesheet"
type="text/css">
</head>
<body data-spy="scroll" data-target="navbarMjbs" data-offset="10">
<div class="container-fluid">
<nav class="navbar navbar-toggleable-md navbar-inverse bg-inverse fixed-top">
<div class="navbar-head">
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarMjbs" aria-controls="navbarMjbs" aria-expanded="false" aria-label="toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
</div>
<a class="navbar-brand" href="#">MJBS</a>
<div class="collapse navbar-collapse justify-content-center">
<ul class="navbar-nav">
<li><a class="nav-item nav-link active"
href="#about">About</a></li>
<!--<li> <a class="nav-item nav-link" href="#about">About</a></li>-->
<li> <a class="nav-item nav-link" href="#portfolio">Portfolio</a></li>
<li> <a class="nav-item nav-link" href="#contact">Contact</a></li>
</ul>
</div>
</div>
</nav>
</div>
<!--Leave Above Alone for now - Need fonts and some other but do sections first-->
<div id="about" class="jumbotron container-fluid">
<div class="row">
<div class="col-md-12">
<h1 class="text-center">About</h1>
<hr size="6" width="80%" color="black">
<br>
<img img style="float:right; margin: 0px 75px 15px 15px;" src="https://avatars0.githubusercontent.com/u/29001583? v=3&u=4122a365836807b13527e225d48c9e473b96e571&s=400" alt="me" class="img-responsive rounded-circle width="20%" height="20%" img-thumbnail">
<p id="name" style="float:right; margin: 25px;">Jane Schad</p>
<p id="stuff"><Strong> Aspiring Front-End Web Developer:</strong></p>
<p> Tools: HTML5 / CSS3/ Bootstrap 4 / Responsive Design / Java Script <br>
More to Come!</p>
<p> Check Out My Portfoilo for Samples</p>
<p id="stuff"><strong>Accountant-Division Controller:</strong><br><br>
Cash / Accrual / Modified Accrual >> Manufacturing / Retail / Wholesale/Government <br>
Operation / Cost /Financial Accounting >> Financial Statements / budgets /variance analysis <br>
Inventory /Fixed Assets / Construction Projects <br>
Remote / Conversions / Mid-size corporate ERP systems / MS Office Suite / Crystal Reports / Quickbooks on-line certified</p> <br><br>
<p> Background:<br>
A few years ago some severe medical issues resulted in the necessity to leave my career and position as a Division Controller and leaving me mobility challenged.
During my "down time" I have tested and kept my mind sharp by taking on-line coding courses offered by Khan Academy, Codecademy, Solo Learn and obtaining my Quickbooks On-Line certification. <br>
At this point I am pursing my coding experience and learning through FreeCodeCamp
looking to future employment opportunities.
</div>
</div>
</div>
</div>
</div>
<!--<div id="about" class="jumbotron container-fluid">
<div class="row">
<div class="col-md-12">
<h1 class="text-center">About</h1>
<hr size="6" width="80%" color="black">
<br>
<p>Coding Stuff</p>
<p>Accounting Stuff</p>
<p> stuff</p>
<p> stuff</p>
<p> stuff</p>
</div>
</div>
</div>
-->
<div class=" jumbotron container-fluid text-center " id="portfolio">
<div class="row">
<div class="col-md-12">
<h1>Portfolio</h1>
<hr size="6" width="80%" color="black">
<br>
</div>
</div>
<div class="row">
<div class=" col-sm-6 ">
<img src="http://via.placeholder.com/320x240/248f24/ffffff?text=Under+Construction" alt="placeholder image" class="img-responsive img-thumbnail">
<div class="caption">
<h4>Project 1</h4>
<p> HTML5 CSS</p>
</div>
</div>
<div class="col-sm-6">
<img src="http://via.placeholder.com/320x240/248f24/ffffff ? text=Under+Construction" alt="placeholder image" class="image-responsive img-thumbnail" >
<div class="caption">
<h4>Project 2</h4>
<p>xxxx</p>
</div>
</div>
<div class="col-sm-6">
<img src="http://via.placeholder.com/320x240/66ccff/ffffff ? text=Coming+Soon " alt="placeholder image" class="image-responsive img-thumbnail">
<div class="caption">
<h4>Project 3</h4>
<p>xxxx</p>
</div>
</div>
<div class="col-sm-6">
<img src="http://via.placeholder.com/320x240/66ccff/ffffff ? text=Coming+Soon " alt="placeholder image" class="image-responsive img-thumbnail">
<div class="caption">
<h4>Project 4</h4>
<p>xxxx</p>
</div>
</div>
<div class="col-sm-6">
<img src="http://via.placeholder.com/320x240/66ccff/ffffff ? text=Coming+Soon " alt="placeholder image" class="image-responsive img-thumbnail">
<div class="caption">
<h4>Project 5</h4>
<p>xxxx</p>
</div>
</div>
<div class="col-sm-6">
<img src="http://via.placeholder.com/320x240/66ccff/ffffff ? text=Coming+Soon " alt="placeholder image" class="image-responsive img-thumbnail">
<div class="caption">
<h4>Project 6</h4>
<p>xxxx</p>
</div>
</div>
</div>
</div>
</div>
<div id="contact" class="jumbotron container-fluid">
<h1 class= "text-center">Contact</h1>
<h6 class="text-center"> Invalid Links (07 06 2017 8:47 am)</h6>
<hr size="6" width="80%" color="black">
<br>
<div class="row">
<div class="offset-3 col-sm-6">
<form>
<div class="form-group">
<label for="Name_Input">Name</label>
<input type="text" class="form-control" id="Input_Name">
</div>
<div class="form-group">
<label for="emailMe"> Your Email</label>
<input class="form-control" id="emailMe" type="email" placeholder="Type your email address here" required>
</div>
<div class="form-group">
<label for="Phone_Input">Phone Number</label>
<input type="text" class="form-control" id="Input_Phone">
</div>
<div class="form-group">
<label for="Message_Input">Message</label>
<textarea placeholder="Type your message to me here" class="form-control" rows="6" id="messageMe"></textarea>
</div>
<button type="submit" class="btn btn-basic">Send</button><br><br>
</form>
<div class="row">
<div class= "col-md-12">
<p class="text-center"> Around the Web</p>
</ul>
<ul class="list-inline list-unstyled text-center">
<a class="btn btn-default social-link" href="https://www.facebook.com/mj50" role="button" target="_blank"><i class="fa fa-facebook" aria-hidden="true"></i> Facebook</a>
<a class="btn btn-default social-link" href="https://twitter.com/mj50" role="button" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i> Twitter</a>
<a class="btn btn-default social-link" href="https://www.linkedin.com/in/mj50/" role="button" target="_blank"><i class="fa fa-linkedin" aria-hidden="true"></i> Linkedin</a>
<a class="btn btn-default social-link" href="https://github.com/mj50" role="button" target="_blank"><i class="fa fa-github" aria-hidden="true"></i> GitHub</a>
<a class="btn btn-default social-link" href="https://www.freecodecamp.com/mj50" role="button" target="_blank"><i class="fa fa-free-code-camp" aria-hidden="true"></i> Free Code Camp</a>
</ul>
</div>
</div>
</div>
</div>
</div>
<footer class="text-center">
Coded by Jane Schad <br>
All Rights Reserved 07/2017
</footer>
</div>
</div>
</body>
body {
position: relative;
padding-left: 20px;
padding-right: 20px;
background: linear-gradient(to bottom, #666699 0%, #ff6666 100%);
}
.jumbotron{
background: linear-gradient(to top, #666699 0%, #ff6666 100%);
/* font-family: 'Montserrat', Roboto;*/
}
#about {padding-top: 80px; /*leave alone!*/
color: black;
}
/* #about {
padding-top: 50px; /*leave alone!!*/
/* color: black;
}*/
#portfolio {
padding-top: 50px; /*leave alone!!*/
color: black;
}
#contact {
padding-top: 50px; /*leave alone!!*/
padding-bottom: 20px; /*leave alone!!*/
color: black;
}
p {
font-size: 20px;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
}
li{
list-style-type:none;
}
.btn-default {
color: #cccccc;
}
.form-group{
font-family: 'Montserrat', Roboto;
font-size: 20px;
}
#name{
font-family:'Playball', regular;
font-size: 50px
}
Also see: Tab Triggers