This is my attempt at recreating the famous internet game: Wordle. Unlike the original game, my attempt will have multiple features such as a shuffle button where you can get a new word upon completion and a custom dictionary where users can input their own words.
Please open link on computer devices only
You can view my website using:
- Netlify: https://bespoke-parfait-0f86f8.netlify.app/
- github pages: https://atharva404.github.io/Wordle-Plus/
In this project I learned how to incorporate bootstrap elements into our own workflow. This can be seen from the navbars. I also learned how to work my way around an error through console.log() to depict where my code is not functioning. This debugging method saved me so much time.
Struggles:
-
Problem: I stuggled on how to show the messages on screen for a certain amount of time.
-
Solution: By using 'document.getElementById()' I was able to retrieve the element and alter the properties to my needs. I also figured out the benefits of setTimeout()
-
Problem: How to optimize the light and dark theme without creating two seperate html/css/javascript files
-
Solution: By using a toggle switch for the transition between light and dark mode and ':root' to host all the different colors, I was able to make the smooth transition between light and dark mode without the need of duplicate files.
-
Problem: How to incorporate bootstrap navbar
-
Solution: This was my first time using bootstrap and incorproating into my very first html/css/javascript project. I eventually figured out how to use the CDN for bootstrap and link the files onto my html website through stack overflow.
Learned:
- I learned how usefull websites such as stack overflow are to get information to solve our problems. Our simplest issues can be solved with a quick google search which can save us so much time.
- Since this was my very first project, I understood how and why Javascript is incorporated within web development and how it is a vital programming language.
- Learned how to read debug messages and how to use console.log() to narrow down the source of my error.
- Upon reserarching, I found this website that gives the hex codes for colors: coolors.co
- I learned how to use animations to flip the tiles for the letters. I thought this was very cool since this was my first time working with the animations. I also used clickEvent methods to change the color properities of the keyboard.
- Understood how to connect code with html and manipulate the attributes of texts and buttons to get the desired output through javascript.
- Another thing that I learned and thought was cool was how we can change the visibility of messages and buttons on this website through the styling feature within javascript. 'ptag.style.visibility = "visible";'
Photos of my website:
![Screenshot 2023-06-20 at 5 42 53 PM](https://private-user-images.githubusercontent.com/55639424/247310112-4ebf0117-696b-45c4-bbf6-6c12c0803232.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3NjE5NjMsIm5iZiI6MTcxOTc2MTY2MywicGF0aCI6Ii81NTYzOTQyNC8yNDczMTAxMTItNGViZjAxMTctNjk2Yi00NWM0LWJiZjYtNmMxMmMwODAzMjMyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjMwVDE1MzQyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdmZDM2ZGJjM2RjMDk1NmMwNzI5ODg4MjMxZDczM2NhOGFkMzNlYjZlYmQ0MWQ2ZTE2OTdkOGVjZjBlMTE3NWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.-tEvhV4yZzqBxDPLyF8F3ZNVzz6XVuUi4rpC2oa4m0w)
![Screenshot 2023-06-20 at 5 43 11 PM](https://private-user-images.githubusercontent.com/55639424/247310377-e7ee156d-420e-4f42-9c37-068849b12251.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3NjE5NjMsIm5iZiI6MTcxOTc2MTY2MywicGF0aCI6Ii81NTYzOTQyNC8yNDczMTAzNzctZTdlZTE1NmQtNDIwZS00ZjQyLTljMzctMDY4ODQ5YjEyMjUxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MzAl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lkPTAmcmVwb19pZD0wIn0.3mkQRIWiJuTVJhsssHpiU8n8ijdompdYyhjDy9NPDbk)
![Screenshot 2023-06-20 at 6 28 16 PM](https://private-user-images.githubusercontent.com/55639424/247315339-f020f410-37e5-40fb-accf-1f5303d5e3ad.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3NjE5NjMsIm5iZiI6MTcxOTc2MTY2MywicGF0aCI6Ii81NTYzOTQyNC8yNDczMTUzMzktZjAyMGY0MTAtMzdlNS00MGZiLWFjY2YtMWY1MzAzZDVlM2FkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjMwVDE1MzQyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM3ZTZjZTVlMGFhYTVjZDNlMGMwM2RiNWNjM2Y0N2Q2M2UxYTdlYWI2ZjdlZDZlZWNkNTJhNzk5N2JmODM2ZDYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.dwL0cj_UOHIxc9U03Or7H7JartqCzPSj3JkTdnd5WbQ)