Skip to content

Instantly share code, notes, and snippets.

View yusuf-saif's full-sized avatar
🏠
Working from home

Yusuf yusuf-saif

🏠
Working from home
View GitHub Profile
@bradtraversy
bradtraversy / claude_crash_snippets.md
Last active September 15, 2026 20:46
Claude Crash Course Snippets

CLI Project Prompt

Create a Node script(index.js) that fetches the top 5 crypto prices from the CoinGecko API and prints them in a clean table — name, current price, 24-hour change. Keep the code clean and organized.

Readability Refactor

Refactor this for readability and maintainability. Split it into
focused ES modules: an api module for the CoinGecko fetch, a format
module for the price and change helpers, and a table module for the
@amantheroot
amantheroot / dom.js
Created February 1, 2019 19:19
JavaScript DOM Manipulation cheat sheet by Traversy Media
// EXAMINE THE DOCUMENT OBJECT //
// console.dir(document);
// console.log(document.domain);
// console.log(document.URL);
// console.log(document.title);
// //document.title = 123;
// console.log(document.doctype);
// console.log(document.head);
// console.log(document.body);