InstruçÔes
Passo 52
Agora faça o mesmo para
subTitle atribuindo-o a meaning_up, e para title atribua-o a foundCard.name. Depois disso, chame o método showElements e passe fortuneDescription dos elementos.
O que fazer:
Testes:
- VocĂȘ deve atribuir `this.elements.subTitle.textContent` a `foundCard.meaning_up`.
- VocĂȘ deve atribuir `this.elements.title.textContent` a `foundCard.name`.
- VocĂȘ deve chamar a função `showElements` dentro de `showFortune`.
- VocĂȘ deve passar `this.elements.fortuneDescription` como argumento para `showElements`.
Preview