8 Projects to Build to Master Your Front-End Skills ๐Ÿฅ‡๐Ÿ†

8 Projects to Build to Master Your Front-End Skills ๐Ÿฅ‡๐Ÿ†

ยท

5 min read

I've always believed that the best way to learn is by doing. Recruiters prefer practical projects over theoretical knowledge, as well.

Over the span of a year, I created 8 web app and game clones. I decided to share them, so the community can get some inspiration to build as well.

In order to explore and compare how various front-end solutions work, I tried to use different stacks, varying from Vanilla HTML to React, NextJS and Svelte.

For each project, a link to deployed project as well as the source code will be provided. Give them a ๐ŸŒŸ on my GitHub if you like.


Calculator

enter image description here

๐Ÿ’ป Live project / ๐Ÿ”— Source on GitHub

First I wanted to create a practical app that each of us uses in our daily routines. A calculator seemed to be a nice fit.

It has come in handy from time to time.

Features include:

  1. Add, subtract, multiply, divide
  2. Support decimal values
  3. Calculate percentages
  4. Invert the values
  5. Reset functionality
  6. Format larger numbers
  7. Output resize based on length

The project is written in React.

Weather App

enter link description here

๐Ÿ’ป Live project / ๐Ÿ”— Source on GitHub

With this next app, my aim was to be able to check the weather conditions across the world. I used Openweather API to fetch data from their site.

To make it a bit appealing to the eye, I decided to combine it with some icon graphics that correspond to the conditions displayed.

Features include:

  1. Search functionality
  2. Metric vs Imperial system
  3. Current local time and date
  4. Temperatures and humidity
  5. Wind speed and direction
  6. Sunrise and sunset times

The project is written in NextJS.

Icons are taken from Flaticon.

Breakout

enter image description here

๐Ÿ’ป Live project / ๐Ÿ”— Source on GitHub

Breakout) is an arcade game originally developed and published by Atari.

In Breakout, the goal is to destroy all the bricks at the top. A ball bounces off the top and two sides of the screen. When a brick is hit, the ball bounces back and the brick is destroyed.

The player loses a turn when the ball touches the bottom of the screen; to prevent this from happening, the player has a horizontally movable paddle to bounce the ball upward, keeping it in play.

Features include:

  1. Moving paddle + ball
  2. Bricks generation
  3. Collision detection
  4. Score keeping
  5. Level system
  6. Lives tracking
  7. Game over / Reset

The project is written in Svelte.

2048

enter image description here

๐Ÿ’ป Live project / ๐Ÿ”— Source on GitHub

2048) is a single-player sliding tile puzzle game initially written by Italian web developer Gabriele Cirulli in 2014.

It's played on a plain 4ร—4 grid, with numbered tiles that slide when a player moves them using the four arrow keys. Every turn, a new tile randomly appears in an empty spot on the board.

The objective of the game is to slide numbered tiles on a grid to combine them to create a tile with the number 2048.

Features include:

  1. Slide tiles on the X and Y-axis
  2. Sum tile values on a collision
  3. Color scheme for specific values
  4. Score keeping
  5. Best score memory
  6. Winner detection
  7. Game over / Reset

The project is written in Svelte.

Memory Game

enter image description here

๐Ÿ’ป Live project / ๐Ÿ”— Source on GitHub

Memory games come in different forms and variations.

I decided to go with the traditional approach, where users have to remember the positions of the cards and open two exact images sequentially to score points. Once all the cards are opened user is victorious.

I used Unsplash API to fetch images from their site.

Features include:

  1. Moves tracking
  2. Match percentage
  3. Win state detection
  4. Reset functionality

The project is written in Svelte.

Tic Tac Toe

enter link description here

๐Ÿ’ป Live project / ๐Ÿ”— Source on GitHub

Tic-Tac-Toe is a very popular two-player game, where users take turns marking 'X'es or 'O's in a 3ร—3 grid. It's been played in different environments starting from classical pen and paper to many UI-different versions online.

The player who succeeds in placing three of their marks in a diagonal, horizontal, or vertical row is the winner.

  1. Built-in moves calculation
  2. Winner detection
  3. Reset functionality

The project is written in Svelte.

Rock Paper Scissors

enter image description here

๐Ÿ’ป Live project / ๐Ÿ”— Source on GitHub

Rock-paper-scissors originated in China and spread with increased contact with East Asia, while developing different variants in signs over time.

A player who decides to play rock will beat another player who has chosen scissors, but will lose to one who has played paper; a play of paper will lose to a play of scissors. If both players choose the same shape, it's a tie.

Features include:

  1. Round tracking
  2. Score keeping
  3. Choice display
  4. Computer selection
  5. Winner detection
  6. Reset functionality

The project is written in React.

Icons are taken from Icons8.

Landing Page

enter link description here

๐Ÿ’ป Live project / ๐Ÿ”— Source on GitHub

This landing page was created as a temporary placeholder for my personal domain while I was working on my portfolio. It's designed to keep simplicity in mind for both setup and UI.

Since I no longer host it on my personal domain, I decided to make a template from it, so other devs looking for a landing site could benefit as well.

I also made a tutorial on how to create it from a scratch.

Features include:

  1. Info about the dev
  2. Icons linking to social media
  3. Interactive hover effects

The project is written in HTML and CSS.

Icons are taken from Icons8.


Writing has always been my passion and it gives me pleasure to help and inspire people. If you have any questions, feel free to reach out!

Connect me on Twitter, LinkedIn and GitHub!

For more projects like these, check out my portfolio.

Did you find this article valuable?

Support Madza by becoming a sponsor. Any amount is appreciated!