Skip to main content

Setting Up Your Development Environment

Before diving into frontend development, you’ll need to set up your environment with the right tools. This guide will help you get started quickly.

Essential Tools for Frontend Development

A good code editor is essential for productive development. Here are some popular options:
  • Visual Studio Code - Free, powerful, and widely used with excellent extension support
  • Sublime Text - Fast and lightweight editor with great performance
  • WebStorm - Full-featured IDE specifically for web development
We recommend starting with Visual Studio Code as it offers an excellent balance of features, performance, and community support.Download VS Code
You’ll need modern browsers for testing and their built-in developer tools for debugging:
  • Chrome - Widely used with powerful DevTools
  • Firefox - Excellent rendering engine with strong privacy features
  • Edge - Microsoft’s Chromium-based browser
  • Safari - Important for testing on macOS/iOS
Make sure to familiarize yourself with browser DevTools by pressing F12 or Ctrl+Shift+I (Windows/Linux) or Cmd+Option+I (Mac) in your browser.
Git is essential for tracking changes and collaborating with others:
  1. Install Git from git-scm.com
  2. Set up a GitHub account at github.com
  3. Configure Git with your credentials:
Basic Git commands you’ll use frequently:
Node.js and npm (Node Package Manager) are essential for modern frontend development:
  1. Install Node.js from nodejs.org (npm comes included)
  2. Verify installation with:
npm allows you to install and manage JavaScript packages. Some basic commands:

First Project Setup

1

Create a new project folder

2

Initialize Git repository

bash git init Create a .gitignore file to exclude unnecessary files: node_modules/ .DS_Store .env
3

Set up basic project structure

Create these essential files and folders: index.html css/styles.css js/script.js images/
4

Create a basic HTML template

Add this starter code to your index.html:
Your changes will be hot-reloaded in the browser. Just refresh or navigate to the page you’re editing to see updates instantly.
You can deploy your handbook using a static site hosting provider:
  • GitHub Pages – via GitHub Actions
  • Vercel – automatic deploy on push (recommended for Next.js)
  • Netlify – drag and drop or connect your repo
Most setups just require pushing your code to GitHub.
Commit and push your changes:
Your deployment provider will detect the change and redeploy your site.

Deploy your handbook

Update your handbook

You can add new content using MDX syntax and even integrate your own custom components to enrich the learning experience.

Write with MDX

Create pages using Markdown extended with React components.

Add Code Snippets

Use syntax-highlighted code blocks to explain concepts clearly.

Insert Images

Include diagrams, screenshots, or illustrations to support your text.

Use Custom Components

Build reusable components like notes, tips, or callouts across pages.