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 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
π» Live project / π Source on GitHub
First I wanted to create some practical app that each of us use in our daily routines. A calculator seemed to be a nice fit.
It has come in handy from time to time.
Features include:
- Add, subtract, multiply, divide
- Support decimal values
- Calculate percentages
- Invert the values
- Reset functionality
- Format larger numbers
- Output resize based on length
The project is written in React.
Weather App
π» 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:
- Search functionality
- Metric vs Imperial system
- Current local time and date
- Temperatures and humidity
- Wind speed and direction
- Sunrise and sunset times
The project is written in NextJS.
Icons are taken from Flaticon.
Breakout
π» 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:
- Moving paddle + ball
- Bricks generation
- Collision detection
- Score keeping
- Level system
- Lives tracking
- Game over / Reset
The project is written in Svelte.
2048
π» 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:
- Slide tiles on X and Y axis
- Sum tile values on collision
- Color scheme for specific values
- Score keeping
- Best score memory
- Winner detection
- Game over / Reset
The project is written in Svelte.
Memory Game
π» Live project / π Source on GitHub
Memory games comes in different forms and variations.
I decided to go with 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:
- Moves tracking
- Match percentage
- Win state detection
- Reset functionality
The project is written in Svelte.
Tic Tac Toe
π» 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.
- Built-in moves calculation
- Winner detection
- Reset functionality
The project is written in Svelte.
Rock Paper Scissors
π» 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:
- Round tracking
- Score keeping
- Choice display
- Computer selection
- Winner detection
- Reset functionality
The project is written in React.
Icons are taken from Icons8.
Landing Page
π» 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 keeping 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:
- Info about the dev
- Icons linking to social media
- 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.
Top comments (55)
I'm at the point where you take a look at the picture animation, and already know how its done, then have a head ache later of how much time you'll spend making it responsive.
I usually code desktop-first, that's why I need to fix some of them for that too ππShould probably swith to mobile-first in the future π
Ahh, not being the only one makes me feel so good
We are all into this tohether ππ
Very nice Projects for learning and beautiful UI, I have created my own version of memory game too ;).
mriduldey.github.io/flipflop/
If you are interested check this out
You can found the code in my GitHub repo
Yeah, awesome for training visual memory.
Just I found the logic have loopholes, and there will be single card remain flipped forever.
Ya you are right, I have seen it too. I need to fix that. Thank you for notifying it βΊοΈ.
Youre welcome ππ
Thats an awesome one for training visual memory π
You should make the game itself as wide as the time-tracking bar above, so it is easier to see and remember π
Thanks for watching Madza. I will keep it in mind. Although giving the whole time will be little more but defenetly I need to improve the time algorithom according to the number of tiles. Currently it is almost impossible to solve more than 4 * 4 tiles board.
I can't wait to give these a go! However... the memory match breaks after a bit. I was having fun playing when it got stuck on "no match" and would unflip my first flipped card when I clicked a second, leaving the second flipped until I clicked another never giving me credit for a match. Even reloading the page only fixed it for a couple guesses. I hope that made sense.
Thanks for reporting ππ
I will take a closer look and fix it accordingly π
Should be fixed now π
A quick question.....when you take on these projects......do yu build them from scratch on your own or you follow up on other people's project to build ,then later you try building on your own?..thanks
Each one is built from scratch π I believe that the best way to learn is to try to do it by yourself π It might take you 10x more time, but the process of tackling the problems independently is worth it as you learn from trial and error and develop the critical thinking π
No To-do App, disappointed π
Crossed my mind couple of times ππ
Nice stuff !!ππ₯
Awesome to hear ππ
Good projects! GG :) I made something too for my website!
Thanks a lot, glad you liked them ππ
Thank you man!
You are welcome! ππ
I will be going with the weather APP
It's actually the last one i made from all of these π
Thank you!
You are welcome ππ
Thank you for sharing
My pleasure ππ