Skip to content

Instantly share code, notes, and snippets.

View theterrificm's full-sized avatar
💬

Musaf Hanif theterrificm

💬
View GitHub Profile
@theterrificm
theterrificm / typescript-crash.ts
Created August 15, 2023 02:18 — forked from bradtraversy/typescript-crash.ts
Basic intro to TypeScript (From YouTube Crash Course)
// Basic Types
let id: number = 5
let company: string = 'Traversy Media'
let isPublished: boolean = true
let x: any = 'Hello'
let ids: number[] = [1, 2, 3, 4, 5]
let arr: any[] = [1, true, 'Hello']
// Tuple
@theterrificm
theterrificm / media-query.css
Created September 22, 2020 14:34 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS