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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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.


      <title>Airtable example</title>
      <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
      <p>All work from <strong>Ryan Hayden</strong> | <a href="">A basic introduction to the Airtable API</a>.</p>
      <link rel="stylesheet" href="" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<script src="" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
<div id="app">
  <div class="container-fluid">
        <div class="card-body" v-for="item, index in items" :key:="items">
          <img src="" class="card-img-top" class="img-fluid" alt="MM" style="width: 18rem;">
              <div class="card text-BLACK bg-primary mb-3 text-right" style="width: 18rem;">
                <div class="card-header">
                    <a href="#" class="btn btn-secondary" class="text-left">{{ index+1 }}</a>
                            <div class="card text-black bg-success mb-3" style="max-width: 18rem;">
                             <div class="card border-primary mb-1" style="max-width: 18rem;">
     <!-- lavorare su questo per approfondire la struttura su JSON
this.posts = => {
        return {id:, title: post.attributes.title, body: post.attributes.body};
      }) -->
                    <p class="price"><strong>DATA INIZIO: </strong>{{ item['fields']['DATA_INIZIO'] }}</p>   
                     <p class="category"><strong>DETTAGLI ATTIVITA': </strong>{{ item['fields']['Attivita'] }}</p>
                    <p class="category"><strong>PRIORITA': </strong>{{ item['fields']['PRIORITA'] }}</p>
                               <p class="category"><strong>ORGANIZZAZIONE/INDIRIZZO: </strong>{{ item['fields']['Organizzazione_Indirizzo'].join(', ') }}</p>
                               <!--{{ item['fields']['Kingdoms'].join(', ') }}!-->
                                <p class="category"><strong>ORGANIZZAZIONE / NOME: </strong>{{ item['fields']['ORGANIZZAZIONE']['Nome_Organizzazione']}}</p>
                               <p class="category"><strong>ORGANIZZAZIONE / TIPOLOGIA: </strong>{{ item['fields']['ORGANIZZAZIONE']['TIPOLOGIA']}}</p>
                    <img :src="item['fields']['Photo'][0]['thumbnails']['large']['url']" alt="" v-if="item['fields']['Photo']" width="150">
        <!-- Include Dependancy Scripts -->
        <script type="text/javascript" src=""></script>
        <script type="text/javascript" src=""></script>




                /*body {
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif; 
  color: #333;

ul {
  list-style: none;
  margin-left: -2em;
li {
  width: 100%;
  max-width: 400px;
  height: 200px;
  overflow: hidden;
  dixplay: inline-block;
  float: left;
  padding: 0 1em 1em 1em;
  margin: 0 1em 1em 0;
  border: 2px solid #cccccc;
  border-radius: 8px;
  background-color: gray;

img {
  margin-bottom: 1em;
  max-width: 100px;
.description {
  margin-top: -1em;
  margin-bottom: -.5em;
  font-size: .875em;
.price {
  display: inline-block;
  float: left

.category {
  margin-top: -.125em;
  margin-left: 7em;


                           new Vue({
                el: '#app',
                data: {
                  saluti:'Saluti da Mauro',
                    items: []
                mounted: function(){
                methods: {
                    loadItems: function(){
                        // Init variables
                        var self = this
                        var app_id = "apppCqmyJHPmfDTLr"; <!-- base --> 
                        var app_key = "keyVlcaKuzEw8QuXO"; 
                        this.items = []
                                headers: { Authorization: "Bearer "+app_key } 
                            self.items =

var app_id = "apppCqmyJHPmfDTLr";
var app_key = "key8S2tx7NINXaZzZ";
this.items = []
  "" + app_id + "/DASHBOARD?api_key=" + app_key, {
    headers: {
      Authorization: "Bearer " + app_key
).then(function(response) {
  // here get ORGANIZZAZIONE for each record
  for (let record of {
    // here the first ORGANIZZAZIONE on array
    let ORGANIZZAZIONE = record.fields.ORGANIZZAZIONE[0];

    //call Airtable api again
      "" + app_id + "/DASHBOARD/" + ORGANIZZAZIONE + "?api_key=" + app_key, {
        headers: {
          Authorization: "Bearer " + app_key
    ).then(function(response2) {
      // Replace  ORGANIZZAZIONE on first response to the the data in response2
      record.fields.ORGANIZZAZIONE =;
      this.items =; // You can set each time is getted

    }).catch(function(error) {
}).catch(function(error) {
}) */