O GoConqr está de visual novo! Conte para nós o que você achou.

Módulo 4 de 10 · Mídia

Create a random quote generator

Kostas Diakogiannis

Create a random quote generator

M-1 Create a random quote generator

Create 10 objects that contain quotes or sayings as strings from famous peoples, and the names for every person who has credit for this quote, and store each object into an array.

ex.

let quoteDatabase = [

   {author: 'Jesus Christ',  quote: 'Ask and you shall receive'},

   {author: 'Julius Caesar', quote: 'Veni, Vidi, Vici'},

   {author: 'Tony Montana', quote: 'Say hello to my little friend!'}

]

etc.

Then create a function that any times it executes selects a random quote and prints the quote and the name of the man who said the quote after it as a credit.

ex. 'Ask and you shall Receive, Jesus Christ'.

Instruções

Para avançar no curso, envie uma tentativa deste quiz. Você pode enviá-la depois da última pergunta.

Ir para o módulo escolhido

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?