202306-NEA-DZ-FEW/madlibs-de-coded

Update Preview: text not displayed untill I start the input

Closed this issue · 1 comments

in the function update preview, the text is not displayed untill I start typing.

fixed it by after adding parameters of updatePreview and calling it

generateMadLibs(processedStory);
updatePreview(processedStory);
    ```