Coder Social home page Coder Social logo

botahamec / pronoun_test Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 0.0 55 KB

Test your pronouns here! See how you like them

Home Page: https://botahamec.github.io/pronoun_test

CSS 10.07% TypeScript 55.24% HTML 34.69%
pronouns trans transgender gender

pronoun_test's Introduction

Pronoun Testing Grounds

https://botahamec.github.io/pronoun_test

About

This project was created for 43 North's Code:Buffalo hackathon. It's goal is to help people questioning their gender to try different sets of pronouns and see how they like them. This is similar to the technique of trying out names at Starbucks. It's inspired by the Pronoun Dressing Room, which unfortunately has a limited number of stories. This version creates a new story each time.

How it Works

The webpage uses HTML, CSS, and TypeScript. To reduce load times and data usage (and not because of laziness), there are no UI frameworks like React or Vue. This doesn't even use jQuery. All of the scripting was done using TypeScript compiled to JavaScript ES3.

The story is picked at random each time the "Submit" button is pressed. Each story is a long string of text that has some "variables" which are formatted like this: {Name} likes {objective}. {Subjective} {likes/like} {Name}.. The parser has to take capitalization into account, as well as the grammatical number whenever present-tense verbs are used.

The hover text for hints is secretly always following the mouse in the background, but is only displayed when hovering over the text boxes. Speaking of which, I couldn't come up with a good order for the placeholder text, so I randomized it. It also randomizes certain reflexive pronouns: "himself"/"hisself" and "themself/themselves/theirself/theirselves".

Future Plans?

  • Allow the user to type in a custom message
  • Have the story load on startup if the pronouns are present
  • Make certain stories which work without some of the pronouns
  • Add more stories

pronoun_test's People

Contributors

botahamec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.