Pen Settings

HTML

CSS

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

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

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.

Behavior

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.

HTML

              
                <!-- Read the full post on blockquote and q at https://jen4web.substack.com/p/blockquote-q -->

<h1>Examples for blockquote and q</h1>
<h2>Example 1</h2>
<p>This paragraph is part of a long analysis paper for an English class where we are analyzing a book. The teacher/reader knows we're discussing this book, so a full citation is not required. Now it's time to discuss an extended passage from the book, which is directly quoted: </p>
<blockquote>
  <p>Blockquote is a block-level element and may contain any other elements in it without restriction. I'm still quoting some passage from this book.</p>
  <p>It tends to go on and on as books do.</p>
</blockquote>
<p>My paper is continuing. At this point, I might mention <q>a few choice words from the book</q> as part of this paper.</p>
<p>I've not included a cite element or cite attribute here because we already know that I'm writing an analysis of this book. (What book? Whichever one you want from your high school English class.)</p>

<h2>Example 2</h2>
<p>Here is an example of a blockquote with a citation. Citations are pretty important, but discussing all three elements in one day was too much. That's because citations are really complicated, as you'll see in this example. But let's try an easier one, from <cite>BrainyQuote.com</cite>.</p>
<blockquote cite="https://www.brainyquote.com/quotes/jeffrey_zeldman_722248?src=t_html">
  <p>Validation is easy - you run your site through a <a href="https://validator.w3.org/" target="_blank">validator</a>, and it's either valid or it isn't. The rest of the stuff, such as whether my logo or the biggest headline should be the h1 in my HTML, isn't so easy and is subject to interpretation.</p>
  <cite>&mdash; Jeffrey Zeldman</cite>
</blockquote>


<p>According to <a href="https://html.spec.whatwg.org/multipage/grouping-content.html#the-blockquote-element" target="_blank">WHATWG</a>, I totally got that example wrong. However, the <a href="https://www.w3.org/TR/html52/grouping-content.html#the-blockquote-element" target="_blank">W3C</a> thinks I got it right. More on this tomorrow. Seriously, cite is a trainwreck.</p>
  
<h2>Example 3</h2>
<p>"Remember what I said about conversations?" asked Jen. </p>
  
<p>"Why no, Jen, I don't remember," said the reader.</p>

<p>"This is not an appropriate place for the q element," said Jen, "no matter how much you want those delicious curly quotes."</p>

<p><span class="quote">However,</span> continued Jen, <span class="quote">you can still have awesome curly quotes with a little well-placed CSS.</span></p>

<p>Much love to John Rhea at <a href="https://css-tricks.com/quoting-in-html-quotations-citations-and-blockquotes/" target="_blank">CSS Tricks</a>.
              
            
!

CSS

              
                .quote::before {
  content: "ā€œ";
}
.quote::after {
  content: "ā€";
}

body {
  font-family: Arial, sans-serif;
}
              
            
!

JS

              
                /* 

šŸ’Æ This challenge is certified 100% free of JavaScript. 

ALL THE GOOD STUFF IS IN THE HTML BLOCK :-D

*/
              
            
!
999px

Console