Hello fellow Coders!
Feel free to check out my random Alien Demands generator. Any feedback or comments are apricated!
I thought this was a nice project for getting started with Portfolio Projects. I found the actual JavaScript program pretty simple, which was good because was a bit shaky on the git and node stuff and practicing that helped a lot. Overall it took me a little over an hour.
Here is the link to my GitHub Repo:
1 Like
Since you were kind enough to review my code, I thought it would be helpful if I did the same!
It was nice to see someone else using a similar thought process! The code was easy to follow, and the outputs were really fun!
The only minor note is that when you add ${demandObj}
to your string/phrase, itâs probably better to:
- remove the pronoun
your
from the string, and instead
- only include it (and the word âallâ if needed) directly in the
demandObjs
array elements, like youâve already done for most of them
I also noticed a typo in the element of the threats array âkill all your misquitosâ
I had the same issue with having to rework my string and my array elements to ensure all the pronouns/verbs etc would be correct! Itâs not really a JavaScript feedback, just more of a typo thing, but I thought it could be useful to know!
1 Like