Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ add another resource


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


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.


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 id="app">
<section class="hero is-dark is-medium" class="masthead" role="img" v-bind:aria-label="this.featimgposts[0].title" v-bind:style="{ 'background': 'radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 39%, rgba(0,0,0,0.95) 100%), url(' + this.featimages[0] + ') no-repeat center center scroll' }">
  <!-- Hero head: will stick at the top -->
  <div class="hero-head">
    <nav class="navbar has-background-dark faded">
      <div class="container">
        <div class="navbar-brand">
          <a class="navbar-item is-size-4 has-text-weight-bold" href="#home">
            Joe Steinbring
          <span class="navbar-burger burger has-text-white" data-target="navbarMenuHero" onclick="document.getElementById('navbarMenuHero').classList.toggle('is-active');">
        <div id="navbarMenuHero" class="navbar-menu">
          <div class="navbar-end">
            <a class="navbar-item">
            <a class="navbar-item">
            <a class="navbar-item">
            <a class="navbar-item">

  <!-- Hero content: will be in the middle -->
  <div class="hero-body">

	This merges the bulma-based nav bar that we did with the enhanced hero image.


                /* For the hero image */
.masthead {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 95vh; /* if you don't want it to take up the full screen, reduce this number */
  overflow: hidden;
  background-size: cover;
#app, body{
/* Used to make the navbar slightly faded */
	opacity: 0.8;


                new Vue({
  el: "#app",
  data() {
    return {
      featimgposts: null,
      featimages: []
  mounted() {
    // Get the featured image posts from the blogger site
    // this requires an API key
      .then(response=> (this.featimgposts =;
  watch: {
    // Watch for the value of featimgposts to change
    'featimgposts': function() {
      // Track the array size for UI purposes
      this.arraySize = this.featimgposts.length;
      // Once featimgposts gets updated, this gets executed 
      for (var i = 0; i < this.arraySize; i++) {
        var x = this.featimgposts[i].content.indexOf("href=\"");
        var y = this.featimgposts[i].content.indexOf("\"",x+6);