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 / setup-sass.md
Last active June 4, 2025 15:08
Setting up SASS & Using post-css to auto prefix your css

Setting up SASS/SCSS & Prefixing with POSTCSS

Hey 👋,

There are two parts to this gist and the first is independant.

For the second part you need to have completed the first part.

You do not need both just if you want them they are below.

Setting up SASS/SCSS

@Charlie-robin
Charlie-robin / github-profile.md
Last active August 31, 2021 14:49
A list of useful links to create you GitHub profile readme.md
@Charlie-robin
Charlie-robin / artist.ts
Last active March 21, 2024 11:12
A mock response from the audio db.
const artist = {
"idArtist": "111247",
"strArtist": "The Beatles",
"strArtistStripped": null,
"strArtistAlternate": "Beatles",
"strLabel": "EMI",
"idLabel": "43827",
"intFormedYear": "1957",
"intBornYear": null,
"intDiedYear": "1970",
@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",
@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 / 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 / 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 / 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,
<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 {