Render Processed Story in DOM
Closed this issue ยท 5 comments
riadhmouamnia commented
Create a function that takes the processedStory as an argument and renders it to the DOM:
- Create a new Branch for this issue from the right-side navigation menu under Development by clicking on Create branch for this issue. (PS: remember! don't forget to change the branch source to dev branch since we are always targeting this branch!).
see how:
-
- Create a function renderStory(processedStory) to render the processed story in the DOM.
- Loop through the processed story array and create elements for each word and its corresponding part of speech.
- Append these elements to the madLibsEdit and madLibsPreview story containers.
breezyback commented
I just added a commit for solving this issue b5b9d45
mohamed70601 commented
I would be happy to be assigned to tackle this issue,
riadhmouamnia commented
@mohamed70601 okay!
breezyback commented
Okay no problem, u can refactor the code that I've created
riadhmouamnia commented
Well done!