Mixed Messages - Nonsesnsical Book Title Generator

Hello, everyone!

For this project, I decided to create a book title generator. I hope you will find the results funny. :slight_smile:
Please, do share if I need some more work to do on it.
Github repo:
Nonsesnsical Book Title Generator

Regards,
Angel

2 Likes

Welcome to the forums!

Great job completing the project! Do you have a link to it you could share, there doesnโ€™t seem to be one in your original post :slightly_smiling_face:

It seems that I have forgotten to add the link to github. Just edited the original post.

1 Like

Looks good - basically the same as what I did. You can call the function directly inside console.log to save some lines if you want. You can also consider using the template literal tag ` (not โ€™ or ") to output the results ie

return ${beggining} ${connectingWord} ${endWord};

Itโ€™s more a preference thing but it tends to look a little cleaner and easier to understand - you can mix in spaces and other words without having to use + and quotation marks.

1 Like