Hi there! I’d love some feedback on my first portfolio project to see how I can improve.
I think this is a viable solution? But I’d like to make sure I understood the instructions properly and that my code is clean.
const nouns = [
"waffle cone",
"platypus",
"piece of bacon",
"seagull",
"dumpster",
"hamster",
];
const adjectives = [
"weird",
"lucrative",
"psycho",
"cumbersome",
"fascinating",
"bodacious",
];
const fillerNoun = nouns[Math.floor(Math.random() * 6)];
const fillerNoun2 = nouns[Math.floor(Math.random() * 6)];
const fillerAdjective = adjectives[Math.floor(Math.random() * 6)];
let messages = [
`Frankly my ${fillerNoun}, I don't give a ${fillerNoun2}.`,
`I'm gonna make him a ${fillerNoun} he can't refuse.`,
`May the ${fillerNoun} be with you.`,
`Love means never having to say you're ${fillerAdjective}.`,
`${fillerAdjective} my dear ${fillerNoun}.`,
`Today, I consider myself the luckiest ${fillerNoun} on the face of the earth.`,
`Say hello to my little ${fillerNoun}!`,
`Fasten your seatbelts. It's going to be a ${fillerAdjective} night.`,
];
let yourMessage = messages[Math.floor(Math.random() * 8)];
console.log(yourMessage);
Thanks for any input!