Chat Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
May 10, 2026 - @173.82 (what is this?)
Activity rating: Three Stars Posts & Arts: 43/1k.beats ~ Boop! The forum will close in 827.beats! Random | Recent Posts | Guild Recents
News: :4u: ~~~~~~~~~~~  :4u: Guild Events: Spring Themed Projects

+  MelonLand Forum
|-+  Life & The Web
| |-+  ✁ ∙ Web Crafting
| | |-+  ☔︎ ∙ I need Help!
| | | |-+  HELP: making a sort of randomizer?


« previous next »
Pages: [1] Print Embed
Author Topic: HELP: making a sort of randomizer?  (Read 1335 times)
thefanciestpigeon
Sr. Member
****
View Profile WWW


And there's a blue like where the urban angels go
⛺︎ My Room
iMood: glitterpigeon
Itch.io: My Games

Guild Memberships:
Artifacts:
Wasp CreaturesunFurbyThe Humble SparrowGreat Posts PacmanA Bowl Full of Life Experiences
« on: July 26, 2023 @387.30 » Embed

so I am a fan of this musical that is kind of infamous for having each version of it be drastically different and also very strange, and I thought it would be funny if I made a website that could generate a description of a "new" version of the musical by having a sort of like. madlibs-like thing with blanks that would be filled in with a word picked randomly from a list of words. if that makes sense.

for example one of them could be:

this version takes place in the year ______

and then the list would have things like. 2012, 1991, 1984, 1972, 1960, etc and it would choose 1 of those to put in the blank.

I would ideally want several of these in the thing.


but I just. do not know where to start? how hard would this be to make? what would be the best way to approach it, etc
« Last Edit: July 26, 2023 @394.47 by glitterpigeon » Logged

https://blinkies.neocities.org/b/display/0018-glitter.gifhttps://blinkies.neocities.org/b/display/0005-citystars.gifhttps://file.garden/Zm5zYTp_JmY_nFsu/blinkiesCafe-yn.gif

https://blinkie-net.neocities.org/Stamps/stars3.pnghttps://file.garden/Zm5zYTp_JmY_nFsu/small7.gif https://file.garden/Zm5zYTp_JmY_nFsu/small7.gifhttps://file.garden/Zm5zYTp_JmY_nFsu/image.png

https://file.garden/Zm5zYTp_JmY_nFsu/250.gifhttps://file.garden/Zm5zYTp_JmY_nFsu/angel-left.gifpigeons will save the world!!!https://file.garden/Zm5zYTp_JmY_nFsu/angel-right.gifhttps://file.garden/Zm5zYTp_JmY_nFsu/250.gif https://file.garden/Zm5zYTp_JmY_nFsu/thisuserisabird.pnghttps://file.garden/Zm5zYTp_JmY_nFsu/p.gif
(pigeon gif by
candycanearter07)
lilac
Casual Poster
*
View ProfileArt


Just for Fun. No, Really.
⛺︎ My Room

Artifacts:
Story Builder!First 1000 Members!Joined 2023!
« Reply #1 on: July 26, 2023 @736.26 » Embed

I tried to come up with a solution that only uses vanilla-js. There may be a better way to do it  :ok:
Every instance of a #word gets replaced by a random word from the words variable.
Refresh the page to see it in action.

https://codepen.io/paper-flower/pen/VwVEPWB

link: codepen.io/paper-flower/pen/VwVEPWB
Logged

https://imgsrc.neocities.org/bannerabout3.png
Pages: [1] Print Embed 
« previous next »
 

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | ~ Send Feedback ~ Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi

MelonLand Nav

@000

Want to Login or Join ?

Minecraft: Online
Join: craft.melonking.net