I need help how to create a scrambled words

I have a page and I need help on how to create a html code scrambled words exercises in english. I do not know how to do that. Is there any one who can help me please just like this one as an example.

https://www.rong-chang.com/nse/semx/nse_mx00101.htm

I appreciate if someone can help me do that, please it is for my webpage as an educational purpose 

Just with the code I know I can modify the words and the rest 

I have a page and I need help on how to create a html code scrambled words exercises in english. I do not know how to do that. Is there any one who can help me please just like this one as an example.

https://www.rong-chang.com/nse/semx/nse_mx00101.htm

I appreciate if someone can help me do that, please it is for my webpage as an educational purpose 

It’s been a while since I last used Javascript, but you’ll want the split function to separate the words. Then you’ll want to use the random function to make them appear in random places.