Skip to content
View DrasticCoder's full-sized avatar
:octocat:
Focusing
:octocat:
Focusing

Block or report DrasticCoder

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this userโ€™s behavior. Learn more about reporting abuse.

Report abuse
DrasticCoder/README.md

Hello, World! ๐ŸŒ
I'm Deep - aka [DrasticCoder] ๐Ÿ‘‹

I'm here to blend code with a sprinkle of fun. Hereโ€™s a bit about me:

type Mood = 'excited' | 'chilled' | 'tired';

interface WorkLifeBalance {
  task: string;
  mood?: Mood;
}

const funEmojis: Record<Mood, string> = {
  excited: '๐Ÿš€',
  chilled: '๐Ÿ˜Ž',
  tired: '๐Ÿ˜ด'
};

const professionalAdvice: Record<Mood, string> = {
  excited: "Awesome! Keep that energy going but stay sharp.",
  chilled: "Nice! Remember to keep the momentum going.",
  tired: "Take a break, recharge, and come back with fresh eyes."
};

function workLifeBalance({ task, mood = 'chilled' }: WorkLifeBalance): string {
  if (!funEmojis[mood]) {
    return "Oops! I think there's a mood typo. Try 'excited', 'chilled', or 'tired'.";
  }

  return `Task at hand: ${task} ${funEmojis[mood]}.\nAdvice: ${professionalAdvice[mood]}`;
}

// Example usage
const message = workLifeBalance({ task: "Refactor my latest web project", mood: "excited" });
console.log(message);

About Me

๐ŸŽฏ Coding Enthusiast: I write clean code when the stars align. Otherwise, embrace the chaos.

โ™Ÿ๏ธ Chess Lover: If my code is messy, at least my chess game is strategic.

๐ŸŒ Web Developer: Check out my work and about 'me' at drasticcoder.in.

Fun Fact

If Iโ€™m not at the keyboard, Iโ€™m probably analyzing my chess game or plotting my next coding project.

Letโ€™s Connect

Feel free to reach out if you share similar interests or just want to chat about code or chess!

LinkedIn ย ย  Twitter ย ย  Mail

Github Profile Views

Pinned Loading

  1. chattos chattos Public

    CSS

  2. public-blog-site public-blog-site Public

    Forked from pranavdhawale/public-blog-site

    EJS

  3. Alpha-Docs Alpha-Docs Public

    JavaScript

  4. Url-Shortner-backend Url-Shortner-backend Public

    EJS

  5. DiplomaTechCommunity/Project-Vault DiplomaTechCommunity/Project-Vault Public

    JavaScript 1 8