Hello World: Welcome to My Blog
My first blog post where I introduce myself and test my bunch of mdx components.
My first blog post where I introduce myself and test my bunch of mdx components.
Welcome to my blog! I’m excited to finally have a space where I can share my thoughts on web development, coding adventures, and lessons learned along the way.
Learn JavaScript, TypeScript and Node.js through various articles and videos.
I’ve been building things for the web for a while now, and I’ve always found that writing helps me think. Whether it’s documenting a tricky bug I solved or exploring a new technology, putting thoughts into words solidifies my understanding.
Plus, if something helped me, maybe it’ll help you too.
The best time to start a blog was yesterday. The second best time is now.
Since this is a developer blog, let’s kick things off with some code. Here’s a simple function that greets the world in style:
function greet(name: string): string {
const greeting = `Hello, ${name}!`;
console.log(greeting);
return greeting;
}
greet('World');And here’s how you might use this in a React component:
import { useState } from 'react';
export function Greeter() {
const [name, setName] = useState('World');
return (
<div className="bg-card rounded-lg p-4">
<input
type="text"
value={name}
onChange={(e) => setName(e.target.value)}
className="rounded border px-3 py-2"
placeholder="Enter your name"
/>
<p className="mt-4 text-xl font-bold">Hello, {name}!</p>
</div>
);
}Here’s an example of visualizing a project structure using the FileTree component:
Here’s an example of including images with captions:
And here’s a Mermaid diagram showing a simple git flow:
You can also create flowcharts:
I’ll be writing about:
Stay tuned, and feel free to reach out if there’s a topic you’d like me to cover.
See you in the next post!