veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

265
active users

november

Question on how to do something with Javascript

I'm writing an fic that includes a couple of mentions of a character whose gender is determined by the player and I thought it would be fun to include a little gender selector when I post it on my site so that the reader can choose which pronouns they want to see for them. Much like Squeenix does in some of their short stories: na.finalfantasyxiv.com/lodesto

But I can't begin to figure out how to do it lol. I've tried inspecting the source of the page I linked but it's a lot. I figure I would wrap each of the affected pronouns in a script tag with document.getElementById, but then... idk what comes next. And I don't know how to search for this.