A Pen by Greg J Bales

Thumbnail
This awesome code was written by -Infamous, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright -Infamous ©

Technologies

  • HTML
  • JavaScript
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>A Pen by  Greg J Bales</title>
  
  
  
  
  
</head>

<body>

  <div id="app">
  <span>{{ arrayThree }}</span>
  <button @click="createConjoinedArray()"></button>
</div>
  <script src='https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.3/vue.min.js'></script>

  

    <script  src="js/index.js"></script>




</body>

</html>

/*Downloaded from https://www.codeseek.co/-Infamous/a-pen-by-greg-j-bales-JvxvoE */
new Vue({
  el: '#app',
  data: {
    arrayOne: [
      5, 1, 1
    ],
    arrayTwo: [
      "Home Care - Specialized Care - Hospice Care",
      "Tutor - Computer Skills - QuickBooks",
      "Tutor - Crafts & Hobies - Quilting"
    ],
    arrayThree: null
  }, 
  methods: {
    getRawSkill() {
      
    },
    createConjoinedArray() {
      conjoinedArray  = this.arrayOne.concat(this.arrayTwo);
      this.arrayThree = conjoinedArray;
    } 
  }
});

Comments