Assessment wanted for Silly story generator #learning

it’s a task:

it’s solution:

dupria utro @Svitcher

you doing great but there some bug on your code

  1. chose the uk check box then click on the button it still show the old us unit click on the button again it work fine

  2. now try to check us after doing step one it still show the uk unit while it should show the us

check this function https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replaceAll

it could help you when you want to replace all the occurrence with insertx

hope that help and have a nice day :slight_smile:

Hello! Thank you very much for your attention.
New link: https://jsfiddle.net/Svitcher/0zqg26wc/7/
Corrected the mistake.
Have a good day, too. :hugs: :grinning:

you very welcome @Svitcher

well done :+1:

and thanks a lot :slight_smile: