Skip to content

Frontend Tutorial

yusuf anil yazici edited this page Apr 18, 2025 · 2 revisions

🌐 What is a Frontend?

In modern web applications, the frontend is the part of the application that users directly interact with — the visual interface, buttons, layouts, and everything you see on a website or web app. It communicates with the backend, which handles data processing, storage, and business logic.

🕰️ Evolution of Frontend Development

HTML (HyperText Markup Language)

HTML

HTML is the skeleton of web pages. It defines the structure and content — headers, paragraphs, links, images, etc.

html in 100 seconds

CSS (Cascading Style Sheets)

CSS

CSS adds style to HTML — layout, colors, fonts, responsiveness, animations, and more.

css in 100 seconds

JavaScript

JavaScript

JavaScript brings interactivity to the web. It's used to handle logic like form validation, dynamic content updates, animations, API requests, and more.

js in 100 seconds

🧰 Our Frontend Stack

We're building our frontend with:

  • React – UI framework
  • TypeScript (TSX) – JavaScript + type safety
  • Vite – Build tool for fast development
  • Tailwind CSS – Utility-first CSS framework

Let's break these down:

Tool Description
React Component-based UI library
TypeScript (TSX) Superset of JS with types, safer coding
Vite Fast dev server + bundler
Tailwind CSS Utility-based styling with minimal custom CSS

React

React

React is a popular JavaScript library for building fast and interactive user interfaces using a component-based approach. Developed by Meta, it allows developers to build reusable UI components and manage state effectively.

react in 100 seconds

TypeScript (TSX)

TypeScript

TypeScript is a superset of JavaScript that adds static typing. It helps catch errors during development and makes code more maintainable. TSX is TypeScript's version of JSX, allowing type-safe React components.

typescript in 100 seconds

Vite

Vite

Vite is a modern build tool that provides a faster and leaner development experience. It uses native ES modules and offers features like instant server start, lightning-fast HMR (Hot Module Replacement), and optimized builds.

vite in 100 seconds

Tailwind CSS

Tailwind CSS

Tailwind CSS is a utility-first CSS framework that lets you build custom designs without leaving your HTML. It provides low-level utility classes that let you build completely custom designs without ever leaving your HTML.

tailwind css in 100 seconds

⚙️ How to Create a React + TS + Vite + Tailwind Project

  1. Install Node.js Install from nodejs.org. This gives you both node and npm.

  2. Create a Vite Project

    npm create vite@latest

    Choose:

    • Framework: React
    • Variant: TypeScript
  3. Install Tailwind CSS Follow the official Tailwind + Vite Installation Guide

💡 Example Project

image

I created a simple frontend application with a few UI elements. You can:

  • 💻 View the code: GitHub Repo

  • 🔗 See it live: Live App on Vercel

    Feel free to clone the repo, explore the code, and check out the comments for more insight into how things are built.

Clone this wiki locally