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.
<head>
<title>Tribute Page</title>
</head>
<div class="container-fluid">
<div class="jumbotron">
<div class="row">
<div class="col-xs-12">
<h1 class="text-center animated slideInLeft">Back to the Future</h1>
<h3 class="text-center text-primary animated flash">The film that marked an entire generation.</h3>
<img src="https://sliptalk.s3.amazonaws.com/wp-content/uploads/2014/12/19041633/back22.jpg" class=" img-responsive center-block img-rounded" >
<div class="caption text-center"><em>Distributed by Universal Pictures</em>
</div>
<div class="row">
<div class="col-xs-8">
<br><br>
<regular>Back to the Future is a 1985 American science fiction adventure comedy film directed by <a href="https://en.wikipedia.org/wiki/Robert_Zemeckis" target="_blank"><strong>Robert Zemeckis</strong></a> and written by Zemeckis and <a href="https://en.wikipedia.org/wiki/Bob_Gale" target="_blank"><strong>Bob Gale</strong></a>.<br><br>
It stars:</regular><ul><li><a href="https://en.wikipedia.org/wiki/Michael_J._Fox" target="_blank">Michael J. Fox</a> as teenager Marty McFly.</li>
<li><a href="https://en.wikipedia.org/wiki/Christopher_Lloyd" target="_blank">Christopher Lloyd</a> as Dr. Emmett "Doc" Brown.</li>
<li><a href="https://en.wikipedia.org/wiki/Crispin_Glover" target="_blank">Crispin Glover</a> as George McFly.</li>
<li><a href="https://en.wikipedia.org/wiki/Lea_Thompson" target="_blank">Lea Thompson</a> as Lorraine McFly.</li>
<li><a href="https://en.wikipedia.org/wiki/Thomas_F._Wilson" target="_blank">Thomas F. Wilson</a> as Biff Tannen.</li>
<li><a href="https://en.wikipedia.org/wiki/Claudia_Wells" target="_blank">Claudia Wells</a> as Jennifer Parker.</li>
<li><a href="https://en.wikipedia.org/wiki/James_Tolkan" target="_blank">James Tolkan</a> as Mr. Strickland.</li></ul><br>
<regular><strong><mark>Plot Summary:</mark></strong><br>Marty McFly, a typical American teenager of the Eighties, is accidentally sent back to 1955 in a plutonium-powered DeLorean "time machine" invented by a slightly mad scientist. During his often hysterical, always amazing trip back in time, Marty must make certain his teenage parents-to-be meet and fall in love - so he can get back to the future.<br><br><a href="http://www.imdb.com/title/tt0088763/" target="_blank"><em>IMDb: <span class="glyphicon glyphicon-star"></span><span class="glyphicon glyphicon-star"></span><span class="glyphicon glyphicon-star"></span><span class="glyphicon glyphicon-star"></span><span class="glyphicon glyphicon-star-empty"></span>: 8,5/10</em></a><br>
<a href="https://www.rottentomatoes.com/m/back_to_the_future/?search=back%20to%20the%20futu" target="_blank"><em>Rotten Tomatoes: 96%</em></a>
</regular><br><br>
</div>
<div class="col-xs-4">
<br><br>
<img src="https://upload.wikimedia.org/wikipedia/commons/6/6a/Back_left.JPG" class="img-responsive center-block img-rounded" class="caption text-center "><em>DeLorean DMC-12</em>
</div>
<div class="row">
<div class="col-xs-12">
<button class="btn btn-info btn-block" data-toggle="collapse" data-target="#demo">
Facts that will make you say <em>"Great Scott!"</em>
</button>
<div id="demo" class="collapse"><br><ol><li>The Back to the Future script was rejected 40 times before Universal bought it. Disney declined after saying it was a “movie about incest” referring to the 1955 scene in which Marty kisses the 18-year-old version of his mother. (It didn’t seem to stop Disney from buying the Star Wars films in which siblings Luke and Leia share a kiss.)</li><br><li>In early drafts of BTTF the time machine was a refrigerator, a gag that George Lucas and Steve Spielberg finally got to use years later in an Indiana Jones movie.</li><br><li>After tinkering with the idea, writer Bob Gale realized he hit gold when he decided a DeLorean should be the time machine, especially given the car’s troubled history and the carmaker’s even more troubled history (John DeLorean, who later wrote Gale and director Bob Zemeckis a thank-you note for using his car, was busted in 1982 in a $24 million cocaine deal). But, once filming began, Universal’s product placement team got an offer from Ford that would have paid $75,000 (about $171,000 today) if the time machine was switched to a Mustang. Gale’s iconic response: “Doc Brown doesn’t drive a Mustang!”</li><br><li> Speaking of Old Man Peabody’s farm, this isn’t the worst movie continuity error ever, but when you watch a film 100 times, it jumps out. As Marty first hits 1955, he plows into a scarecrow on the Peabody property. In the first cut, the scarecrow clearly flies over the head of the car. But in the next cut, the scarecrow’s face is directly on the windshield. I’ve never felt like such a dork in my life. Now I know what all those Star Wars fans were feeling on Monday night.</li><br><li>Ronald Reagan loved the film, especially when 1955 Doc was in disbelief that Reagan was the president in Marty’s 1985. “The actor? Who’s the vice president? Jerry Lewis? I suppose Jane Wyman’s [Reagans’ first wife] is first lady!” He evidently laughed so hard that the projectionist had to rewind the film because Reagan wanted to see it again. Later, in his 1986 State of the Union, Reagan quoted the final line from the first film — “roads, where we’re going, we don’t need roads.”</li><br><li>When Marty returned to 1985 at the end of the original, he encountered a bum sleeping on sidewalk. “Red, you look great,” Marty said, just in general, happy to be back to his normal time. That Red was Mayor Red Thomas from 1955, whose campaign car Marty saw earlier in the movie and used it to tell busboy Goldie Wilson that he’d one day be mayor.</li><br><li>When Marty returned to 1985 at the end of the original, he encountered a bum sleeping on sidewalk. “Red, you look great,” Marty said, just in general, happy to be back to his normal time. That Red was Mayor Red Thomas from 1955, whose campaign car Marty saw earlier in the movie and used it to tell busboy Goldie Wilson that he’d one day be mayor.</li><br><li>In 1885, there was a Hill Valley horse salesman named Jeb Statler. In 1985, Marty Fines for a custom 4×4 from Statler Toyota.</li><br><li>15. In 1885, there was a Hill Valley horse salesman named Jeb Statler. In 1985, Marty Fines for a custom 4×4 from Statler Toyota.</li><br><li>During the scene in front of the covered DeLorean that will send Marty back to the future courtesy the 1.21 jigawatts of electricity coming through the lightning strike at the clocke tower, the focus is on Marty putting Doc’s warning note in his jacket. But behind him, Doc is getting away without having a permit for his “weather experiment” by giving the policeman a bribe.</li>
</ol>
</div>
</div>
</div>
<br><br>
<div class="row">
<div class="col-xs-4">
<figure>
<img src="https://2.bp.blogspot.com/-VvAH_nPTUlI/Vie8CiSIBWI/AAAAAAAAA4M/Mlw3mrqqZYg/s1600/part%2B1.jpg" class="img-rounded img-responsive center-block">
<figcaption><em>Box office: $389.1 million.</em></figcaption>
</figure>
</div>
<div class="col-xs-4">
<figure>
<img src="http://www.coverwhiz.com/content/Back-To-The-Future-Part-II.jpg" class="img-rounded img-responsive center-block">
<figcaption><em>Box office: $332.1 million.</em></figcaption>
</figure>
</div>
<div class="col-xs-4">
<figure>
<img src="http://orig11.deviantart.net/8b4e/f/2014/216/c/0/back_to_the_future_part_iii_1990_movie_poster_by_expofever-d7toroi.jpg" class="img-rounded img-responsive center-block" <figcaption><em>Box office: $244.5 million.</em></figcaption>
</figure>
</div>
</div><br><br>
<div class="row">
<div class="col-xs-12">
<a class="btn btn-info btn-block" href="https://www.youtube.com/watch?v=BH0BNbwqNK8" target="_blank">Back to the Future 25th Anniversary's Trailer</a>
</div>
</div><br><br>
<div class="row">
<div class="col-xs-6">
<img src="https://media.livenation.com/artists/41615/41615-show-93187.jpg?1376581964" class="img-rounded img-responsive center-block">
<div class="caption text-left"><em>Huey Lewis and the News</em></div>
</div>
<div class="col-xs-6">
<a href="https://en.wikipedia.org/wiki/Huey_Lewis_and_the_News" target="_blank">Huey Lewis and the News</a> is an American pop rock band based in San Francisco, California. They had a run of hit singles during the 1980s and early 1990s.<br><br>Their greatest success was in the 1980s, their worldwide fame expanded when the song <a href="https://www.youtube.com/watch?v=ymMyhqSrsG8" target="_blank">"The Power of Love"</a> was featured as a key track in the film Back to the Future.
</div>
<div class="col-xs-4">
<br><br>
<div class="dropdown">
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">Versions
<span class="caret"></span></button>
<ul class="dropdown-menu">
<li><a href="https://www.youtube.com/watch?v=WNtmITE5GpU" target="_blank">By Marty McFly</a></li>
<li><a href="https://www.youtube.com/watch?v=v0HEZ8HY3Qw" target="_blank">By Huey Lewis and the News</a>
</ul>
</div>
</div>
</div><br>
<div class="row">
<div class="col-xs-6"
<br><br>
<img src="http://img.wennermedia.com/social/chuckberry-7f44b444-41fd-472d-a907-200cb187bdc6.jpg" class="img-rounded img-responsive" width="800">
<div class="caption text-left"><em>Chuck Berry</em></div>
</div><br>
<div class="col-xs-6">
<a href="https://en.wikipedia.org/wiki/Chuck_Berry" target="_blank">Chuck Berry</a> is an American guitarist, singer and songwriter and is one of the pioneers of rock and roll music.<br><br><a href="https://www.youtube.com/watch?v=ZFo8-JqzSCM" target="_blank">"Johnny B. Goode"</a> was the signature song performed by Marty McFly and the <a href="http://backtothefuture.wikia.com/wiki/Marvin_Berry_and_the_Starlighters" target="_blank">Starlighters</a> in the film.<br><br><br>
</div>
<div class="col-xs-4">
<div class="dropdown">
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">Versions
<span class="caret"></span></button>
<ul class="dropdown-menu">
<li><a href="https://www.youtube.com/watch?v=S1i5coU-0_Q" target="_blank">By Marty McFly</a></li>
<li><a href="https://www.youtube.com/watch?v=rVT65M4mRnM" target="_blank">By Chuck Berry</a>
</ul>
</div>
</div>
</div><br><br>
<div class="row">
<div class="col-xs-12">
<button class="btn btn-info btn-block" data-toggle="collapse" data-target="#demo2">
Bloopers</button><br>
<div id="demo2" class="collapse">
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/P4b5SQg0Sv0"></iframe>
</div><br>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/qX1IYf7kx0o"></iframe>
</div><br>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/m39zDMX_7ro"></iframe>
</div><br>
</div>
</div>
</div><br>
<div class="row">
<div class="col-xs-12">
<img id="myImg" src="https://www.bfi.org.uk/sites/bfi.org.uk/files/styles/full/public/image/back-to-the-future-1985-002-robert-zemechis-michael-j-fox-steven-spielberg-00m-o08.jpg?itok=ui66gfGO" class="img-rounded img-responsive center-block ">
<div class="caption text-center"><em>Robert Zemeckis, actor Michael J. Fox, producer Steven Spielberg and crew during production of Back to the Future (1985)</em><br><br> </div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<p class="text-center">Written and coded by <a href="https://www.freecodecamp.com/atalaa" target="_blank">Aata-allah Rchidi.</a></p>
</div>
body{
margin-top:60px;
}
.slideInLeft{
-moz-animation-duration: 3s;
-webkit-animation-duration: 3s;
}
.flash{
-moz-animation-duration: 5s;
-moz-animation-delay: 2s;
-webkit-animation-duration: 5s;
-webkit-animation-delay: 2s;
}
Also see: Tab Triggers