Skip to content

Instantly share code, notes, and snippets.

@mikejhoff22
mikejhoff22 / fortnitetracker.js
Created June 8, 2018 18:07
Fortnite Tracker
$(function(){
var submitBtn = $('#submit');
var platfromDropDownBtn = $('#platform a');
var epicNickName = $('#epicNickName');
var results = $('#results');
// default values
var dropDownValue = 'pc';
submitBtn.click(function(){
@mikejhoff22
mikejhoff22 / hfcontstyle.css
Last active June 4, 2018 16:24
Hartford Spotlight On
.content-body{
max-width:75%;
margin:auto;
}
.main-img-banner{
padding:70px 0px 8px 0px;
}
.art-flex{
display:flex;
@mikejhoff22
mikejhoff22 / FASPFunctions.js
Last active June 7, 2018 16:46
FA-Mag Splash Page css
/*$(document).ready(function(){
$('#contToSite').trigger('click');
}, 5000);*/
let bgs = ['url("https://imgur.com/yLQP8cw.jpg") no-repeat center', 'url("https://imgur.com/JB1mxE7.jpg") no-repeat center', 'url("https://imgur.com/Pw9x0Cc.jpg") no-repeat center', 'url("https://imgur.com/Zl8jsTb.jpg") no-repeat center', 'url("https://imgur.com/9s69b52.jpg") no-repeat center', 'url("https://imgur.com/ffKXRld.jpg") no-repeat center', 'url("https://imgur.com/rnHeUgl.jpg") no-repeat center', 'url("https://imgur.com/q83YQWU.jpg") no-repeat center', 'url("https://imgur.com/GCL0QbR.jpg") no-repeat center', 'url("https://imgur.com/tn6fNl4.jpg") no-repeat center', 'url("https://imgur.com/raWPXtD.jpg") no-repeat center'];
const bgmode = () => {
let bgcolor = bgs[Math.floor(Math.random()*bgs.length)];
document.getElementById("chatBgColor").style.background = bgcolor;
@mikejhoff22
mikejhoff22 / confLP.js
Last active May 10, 2018 20:33
Conference Splash Page
$(document).ready(function(){
$("#iiwHS").click(function(){
$("#iiwContent").toggle(500);
});
});
$(document).ready(function(){
$("#altsHS").click(function(){
$("#altsContent").toggle(500);
});
});
@mikejhoff22
mikejhoff22 / printshuttle.js
Created March 19, 2018 16:12
JS File for FA Print Shuttle
let userEmail = "#";
const sendEmail = () => {
if(document.getElementById("emailInput").value === ""){
//pops an alert saying some sassy shit
alert("Please enter a valid email address.");
}