Need assessment for "Silly story generator"

Peace to all.

Here is the task

Here is the solution

Thank you all for your responsiveness!

elslamo alikom @rab_Allaha

this is nice well done you can also use replaceAll method to replace all the occurrence of insertx
check this out https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replaceAll

hope that help and have a nice day :slight_smile:

2 Likes

Just be aware that replaceAll is a rather new addition to JavaScript that was standardized in ECMAScript 2021 and is currently supported by 91% of users (Can I use…) :slightly_smiling_face:

2 Likes

thanks boss @mikoMK did not know that it was new addition :slight_smile:

2 Likes

Vaaleikum assalam varah1matuLlah1 @just is my brother. Thank you for answering, they will know about this new feature :slight_smile:

1 Like

you very welcome brother @rab_Allaha

by the way what @mikoMK meant by it’s new feature that it will not be avilable for old version of browser like internet explorer 11 and older and chrome older than 84 you could check all those version in red color on the link the @mikoMK shared

and have a nice day for both of you :slight_smile:

2 Likes