Skip to content

Latest commit

 

History

History

thinkful-string-drills-quotable

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

This function should take two string parameters: a person's name (name) and a quote of theirs (quote), and return a string attributing the quote to the person in the following format:

'[name] said: "[quote]"'

For example, if name is 'Grae' and 'quote' is 'Practice makes perfect' then your function should return the string

'Grae said: "Practice makes perfect"'

Unfortunately, something is wrong with the instructions in the function body. Your job is to fix it so the function returns correctly formatted quotes.