Tell us what’s happening:
I don’t the idea of “Your renderCard function should return a template literal.” I mean the instruction is saying “The function should have a return type of string.” nothing else and my code is const renderCard = (
drawingType: string,
isReversed: boolean,
shortName: string,
img: string
): string => {
return “”;
};
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: index.ts */
// User Editable Region
function renderCard(
drawingType: string,
isReversed: boolean,
shortName: string,
img: string
): string {
return '';
}
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36
Challenge Information:
Build a Fortune Telling App - Step 10