Devlog #1
I worked on the behind-the-scenes risk calculation for my rocket launch simulator website. This update focuses on displaying the final results and removing bugs. I removed the score system as that was getting messy and ended up being unnecessary, and I upgraded the rocket launch a little bit as well. I added another factor to it, launch failure reason, so that the user would know if their launch failed and why. The problems that I ran into were when I was trying to remove some of the unnecesary variables from before to clean up my code - my rocket launch was not displaying as a success in any situation. I figured out the problem by going into the console of my project on the web. The error showed up that a variable was not defined because I had taken out so much code. To fix this, I removed all of the unnecessary variables entirely and kept a clean flow in my JavaScript. After this, I learned that I should keep my JavaScript clean and remove unnecessary details as those could get in the way and mess up my code. I am getting close to my project submission. By next time, I hope to have a clean, mess-free user interface.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.