var arr = new Array(4, 11, 2, 10, 3, 1, 7, 8)
console.log('this is arr\n', arr)
console.log('-------------')
var ASCIIsortedArr = arr.sort()
try it on repl.it
// Constructor function to create "Person" objects
function Person(first, last, age, eye) {
this.firstName = first;
this.lastName = last;
this.age = age;
check out a more detailed version on replit
function shuffle(array) {
let counter = array.length;
// While there are elements in the array
while (counter > 0) {
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="app"> | |
<section class="hero is-primary is-medium"> | |
<router-view></router-view> | |
<div class="hero-foot"> | |
<div class="columns is-mobile"> | |
<div v-for="movieChoice in movieChoices" class="column"> | |
<router-link :to="`/${movieChoice.id}`" tag="li" class="movie-choice"> | |
<i :class="[{ 'fa fa-check-circle favorite-check': movieChoice.favorite }]" aria-hidden="true"></i> | |
<img :src="`${movieChoice.smallImgSrc}`" class="desktop"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>vue-fullscreen-lightbox-slideshow</title> | |
<link rel='stylesheet' href='https://unpkg.com/[email protected]/dist/lightbox.css'> | |
<link rel="stylesheet" href="css/style.css"> |
OlderNewer