My Projects

Sorry about the visuals! I haven't gotten around to styling these pages yet! Coming soon :)

Beginner Exercises

Posted 04/15/2024

View content

When I first started learning JavaScript around the beginning of this month, I made these simple mathematical tools to practice. They were helpful in cementing the basic syntax in my mind, and gave me a rudimentary grasp of how to go about planning and writing code.

Dice Roller

Posted 04/15/2024

Click here to view

I'd call this my first "real" JavaScript project. This program will allow you to roll any number of dice with any number of sides. The roller will display the total sum of all the dice as well as the individual die rolls. You can add a modifier to the result, as well as define a multiplier for the end result (the multiplier is executed before the add/subtract modifier). I also added buttons to reset the input fields and the fields where the results are displayed. As a final touch, the program includes input validation to make sure a valid positive integer is used for all fields.

I spent several days on this in order to get it working, and I feel like I learned a lot in the process of writing this. I feel like this was my first real trial by fire. I had many hours of staring at my screen just pondering how to acheive what I wanted. The feeling of finally getting this working was absolutely euphoric!

I have other ideas for this project that I haven't implemented yet, but I'll definitely apply them at a later time. I won't be replacing the original webpage and JS code, but I will add an edit to the bottom of this entry whenever I complete these changes.

©2024 Viihna (Voidfucker) | Contact Info