Mixed messages project

Hi all,

Just completed the Mixed Messages project, please could you leave some feedback if you have a look. Also was struggling to push the finished files though git bash with the below error. not sure why.

fatal: unable to access ‘https://github.coom/Jasygames/Mixed-Messages/’: Could not resolve host: github.coom

The error 'Could not resolve host:' generally means that you cannot connect to the requested resource for whatever reason. If you’re definitely connected to the internet, a good place to start is checking that the URL is spelled correctly. It looks like you’ve tried to push to ‘github.coom’ with two 'o’s.

Rather than typing out the URL to your repo manually when you set your origin, I’d recommend copying and pasting from GitHub into your Git Bash terminal. Ctl+V doesn’t work in Git Bash but you can right click and choose paste (or if you’re using the terminal through VS code you can use ctl+v).

For feedback on your project, I would just consider wrapping the for loop inside a function (possibly including it in your randomStarSign() function, which at the moment doesn’t do very much) because that will make it more modular and make it easier for you to continue working on in the future. For instance, you might want the program to generate more than one message each time you run it and at the moment it produce the same output each time due to the code which chooses from starSignInfo only being run once.

1 Like