Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 686 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 686 Bytes

RANDOM MESSAGE CODE

This code will randomy generate a message when we run it.

Description

Tod do that we have chosen to have a list of objects. To be specific in our code here we will use an array of three objects that will randomnly generate a message or sentence. The messages are constructed by randomly selecting a word from each list in the message object in the array.

Implementation

In our code we have created the subject, versbs, objects and adverbialPhrases. The message will be generated when we call our function and displayed it in the console.

Branches

We will have four branches. The branch is this description The three other will JavaScript codes.