diff --git a/curriculum/challenges/english/25-front-end-development/workshop-storytelling-app/671fafbae959c048d82bac8d.md b/curriculum/challenges/english/25-front-end-development/workshop-storytelling-app/671fafbae959c048d82bac8d.md index 7f64e27ea2a..474574320b2 100644 --- a/curriculum/challenges/english/25-front-end-development/workshop-storytelling-app/671fafbae959c048d82bac8d.md +++ b/curriculum/challenges/english/25-front-end-development/workshop-storytelling-app/671fafbae959c048d82bac8d.md @@ -141,12 +141,10 @@ const storyObj = { }; function displayStory(genre) { - if (storyObj.hasOwnProperty(genre)) { - + if (storyObj.hasOwnProperty(genre)) { result.textContent = storyObj[genre].story; storyContainer.style.borderColor = storyObj[genre].borderColor; - -} + } } --fcc-editable-region-- diff --git a/curriculum/challenges/english/25-front-end-development/workshop-storytelling-app/6724da4a41a727b89d2541c3.md b/curriculum/challenges/english/25-front-end-development/workshop-storytelling-app/6724da4a41a727b89d2541c3.md index f56be2d30b7..0f0e37d152e 100644 --- a/curriculum/challenges/english/25-front-end-development/workshop-storytelling-app/6724da4a41a727b89d2541c3.md +++ b/curriculum/challenges/english/25-front-end-development/workshop-storytelling-app/6724da4a41a727b89d2541c3.md @@ -78,12 +78,10 @@ const storyObj = { }; function displayStory(genre) { - if (storyObj.hasOwnProperty(genre)) { - + if (storyObj.hasOwnProperty(genre)) { result.textContent = storyObj[genre].story; storyContainer.style.borderColor = storyObj[genre].borderColor; - -} + } } --fcc-editable-region--