DEV Community

Cover image for The Perfect First Task for New React Developers: Adding a Footer (Beginner Onboarding Guide)
Skyblazar LLC
Skyblazar LLC

Posted on

The Perfect First Task for New React Developers: Adding a Footer (Beginner Onboarding Guide)

Onboarding a new developer? Give them a small, self-contained win with this beginner-friendly React + TypeScript task. No backend, no auth — just a clean footer that ships fast. Perfect for your first PR!

Welcoming a new teammate to a React + TypeScript codebase — especially someone new to programming — can feel overwhelming. That’s why the best onboarding tasks are small, self-contained, and immediately visible.

Here’s the exact task I give every beginner: add a simple footer to the main app layout.

It’s quick to complete, teaches real tools (Git, React, TypeScript, Tailwind/Vite), and gives that satisfying “I shipped something” feeling on day one.

Why This Task Works So Well

  • Zero backend, API, or database work
  • Visible result in seconds with hot reload
  • Practices real-world patterns used in production apps
  • Teaches layout structure, dynamic values, and consistent styling

Step-by-Step Guide

Step 1: Get the app running (30–60 minutes)

Clone the repo and follow the README to start the frontend:

cd frontend
npm install
npm run dev
Enter fullscreen mode Exit fullscreen mode

Open http://localhost:5173 (or the port shown) and explore the UI.

Step 2: Find the main layout component

Look for src/components/layout/AppShell.tsx (or whichever component wraps your main pages). This is the shared shell used across the app.

Step 3: Add the footer

Add this footer at the bottom of the main content area (just before the closing </div> of the layout):

<footer className="mt-auto border-t border-gray-800 bg-gray-950 py-6">
  <div className="max-w-7xl mx-auto px-6 text-center text-gray-500 text-sm">
    <p>
      © {new Date().getFullYear()} YourAppName. All rights reserved.
    </p>
    <p className="mt-1 text-xs">v0.1.0</p>
  </div>
</footer>
Enter fullscreen mode Exit fullscreen mode

Pro tips:

  • new Date().getFullYear() automatically updates every year
  • mt-auto pushes the footer to the bottom (works great with flex layouts)
  • Reuse existing Tailwind classes so the design stays consistent

Step 4: Test & ship

  • Save → hot reload shows your footer instantly
  • Run npm run build in the frontend folder and fix any TypeScript errors
  • Commit, push, and open a Pull Request

Recommended Learning Path (Do This While Working)

Follow this order — it takes you from zero to done:

Order Topic Best Free Resource
1 Git & GitHub GitHub Hello World
2 HTML & CSS basics MDN: Getting started with the web
3 JavaScript fundamentals MDN: JavaScript First Steps
4 React basics React Quick Start
5 TypeScript essentials TypeScript in 5 Minutes
6 Tailwind styling Copy className patterns from existing files

Optional fun break: Play Oh My Git to practice Git visually.


Expected Time

Most beginners finish this in 1–2 focused days (or 2–4 part-time days).

This tiny task builds real confidence and gives you momentum for bigger contributions.

Have you tried this onboarding approach? What was the first task you gave (or received) as a new developer? Drop it in the comments — I’d love to hear your experiences!

Happy coding! 🚀

Top comments (0)