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.


Auto Save

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 lang="ja">
  <meta charset="UTF-8">
  <title>Bitcoin Dashboard</title>
  <!--CSSスタイルシートの読み込み  -->
  <link rel="stylesheet" href="css/main.css">

  <div id="app">
    <h1>Bitcoin Price Index</h1>
      v-for="currency in info"
      {{ currency.description }}:
      <span class="lighten">
        <span v-html="currency.symbol"></span>{{ currency.rate_float | currencyDecimal }}

  <!-- Vue.jsの読み込み -->
  <script src="[email protected]/dist/vue.js"></script>
  <!-- axiosの読み込み -->
  <script src="[email protected]/dist/axios.min.js"></script>
  <script src="js/main.js"></script>


                body {
  display: flex;
  justify-content: center;
  background: #7E8D85;
  font-family: 'Roboto Slab', serif;
  line-height: 1.4;

#app {
  margin-top: 20px;
  width: 300px;
  padding: 0 40px 40px;
  background: #2F242C;
  border-radius: 5px;
  color: #B3BFB8;

h1 {
  color: #F0F7F4;

.lighten {
  color: white;


                new Vue({
  el: '#app',
  data () {
    return {
      info: null,
  mounted () {
     .then(response => ( =
  filters: {
    currencyDecimal(value) {
       //   小数点以下2桁表示
      return value.toFixed(2)