Skip to content

Instantly share code, notes, and snippets.

View Preshy's full-sized avatar
🏠
Working from home

Mr. P Preshy

🏠
Working from home
View GitHub Profile
function addPackages(count) {
$('#packages').empty();
// console.log(count);
var q = 0;
for ( var i = 0; i < count; i++ ) {
q++;
let num = Math.floor((Math.random() * 10000) + 1);
// This will loop x times
let content = `
<div class="col-xl-12 col-lg-9 col-md-9 col-sm-9 col-12" id="package${q}">
@Preshy
Preshy / 0_reuse_code.js
Created February 15, 2017 09:44
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console