Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

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.

+ add another resource


Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

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.

+ add another resource


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


<div class="container-fluid">
		<h1> Programming Quotes</h1>
		<div class="row">
				<p id="quoteDisplay"> First, solve the problem. Then, write the code</p>
				<strong><footer id="authorDisplay">John Johnson</footer></strong>

		<div class="row buttons">
			<a id='tweetLink' href="" class="btn"><i class="fa fa-twitter-square fa-3x" aria-hidden="true"></i></a>
			<button type="button" id="getQuote" class="btn">Get Quote</button>
	<footer> Designed by Freddie <span>
<a class="github-button" href="" aria-label="Follow @FreddieFO on GitHub" target="_blank"></a></span> <br> Thanks to <span><a href="" target="_blank">Storm consultancy</a> for the API.</span> </footer>


                @import url(,500);

body {
  margin:8% auto auto auto;
  padding:40px 50px;
	background-image: url(;
	background-size: cover;
	font-family: 'Raleway', sans-serif;
	text-align: center;
h1 {
	color: #404040;
	text-align: center;
	font-weight: 1000;
blockquote {
  background: #f9f9f9;
	position: relative;
  width: 60%;
  margin: 1.5em auto;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
blockquote p {
  display: inline;
	color: #404040;
	font-weight: 400;
#authorDisplay {
	text-align: right;
.buttons {
	text-align: center;
#getQuote {
	background-color: black;
	color: white;
#tweetLink {
	color: black;



                $(document).ready(function () {
	var author;
	var msg;

	$("#getQuote").on("click", function(){
		$.getJSON("", function(json){ 

			author =;
			msg = json.quote;




	$("#tweetLink").on("click", function(){

		$(this).attr({ href: "" + msg + " - " + author, target: "_blank" });