Skip to content

Instantly share code, notes, and snippets.

View Charlie-robin's full-sized avatar
🍩

Charlie Richardson Charlie-robin

🍩
View GitHub Profile
@Charlie-robin
Charlie-robin / team.js
Created December 22, 2020 14:49
Mock data for Ticket tracker project.
const team = [
{
id: 1,
name: "Alima Miller",
role: "Junior Software Developer"
},
{
id: 2,
name: "Evelyn Rodgers",
role: "Junior Software Developer"
<html>
<head>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link href="https://fonts.googleapis.com/css2?family=Lato&family=Poppins&display=swap" rel="stylesheet" />
<style>
h1,
h2,
h3,
h4,
h5 {
const companies = [
{name: "Company One", industry: "Finance", start: 1981, end: 2004},
{name: "Company Two", industry: "Retail", start: 1992, end: 2008},
{name: "Company Three", industry: "Auto", start: 1999, end: 2007},
{name: "Company Four", industry: "Retail", start: 1989, end: 2010},
{name: "Company Five", industry: "Technology", start: 2009, end: 2014},
{name: "Company Six", industry: "Finance", start: 1987, end: 2010},
{name: "Company Seven", industry: "Auto", start: 1986, end: 1996},
{name: "Company Eight", industry: "Technology", start: 2011, end: 2016},
{name: "Company Nine", industry: "Retail", start: 1981, end: 1989}
<html>
<head>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link href="https://fonts.googleapis.com/css2?family=Lato&family=Poppins&display=swap" rel="stylesheet" />
<style>
h1,
h2,
h3,
h4,
h5 {
<html>
<head>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link href="https://fonts.googleapis.com/css2?family=Lato&family=Poppins&display=swap" rel="stylesheet" />
<style>
h1,
h2,
h3,
h4,
h5 {
@Charlie-robin
Charlie-robin / cardDeck.js
Created April 11, 2021 21:06
Its a deck of Cards with charCodes
const cardDeck = [
{
suit: "spades",
value: "A",
charCode: 9824,
},
{
suit: "spades",
value: "2",
charCode: 9824,
@Charlie-robin
Charlie-robin / placeholder.md
Last active August 17, 2023 09:51
Profile Placeholder

Hey 👋,

Copy the URL below for the profile picture placeholder.

"https://via.placeholder.com/250"
@Charlie-robin
Charlie-robin / updateConsole.md
Last active August 18, 2023 02:44
Chrome console.log() update

Hello 👋,

Chrome has slightly changed the output you get when you are logging a HTML element to the console. You will not get the same output if you log the element the same way as the video.

const itemIWantToLog = document.querySelector("#item");
console.log(itemIWantToLog);
@Charlie-robin
Charlie-robin / beatles.js
Created July 28, 2021 10:07
Beatles Data from the AudionDB
const artist = {
idArtist: "111247",
strArtist: "The Beatles",
strArtistAlternate: "Beatles",
intFormedYear: "1957",
intDiedYear: "1970",
strDisbanded: "Yes",
strStyle: "Rock/Pop",
strGenre: "Rock",
strMood: "Happy",
@Charlie-robin
Charlie-robin / albums.js
Last active August 5, 2021 14:13
A mock response from the audio db.
const albums = [
{
idAlbum: "2109680",
idArtist: "111247",
idLabel: "43827",
strAlbum: "The Beatles",
strAlbumStripped: "The Beatles",
strArtist: "The Beatles",
strArtistStripped: "The Beatles",