By Luke Pitkin
The biggest achievement so far has been to create a “random number generator” in which the code prompts the system to emulate a random number between 1-5 and then allows the user to attempt to guess the number. Depending on if the guess entered is correct or not the system will then chuck back a different alert stating if the user was correct and if not what the correct number was.
How long did it take me?
In total it took me 3 weeks to figure it all out and the code is below so feel free to pick it apart on how it could be improved. It’s also worth noting that I never got around to adding any styling to it as I was over the moon with the fact that I got it to work which means the thing is very basic on the eye but does the job.
I’ve also upgraded myself from Notepadd++ to Visual Studio code after a recommendation from a friend. I need to dig into it a bit more but if anyone can share some of the features that I can make the most of that would be appreciated because at the moment I’m not sure that I am getting the best out of it!
So what’s next?