I have participated in other hackathons with projects which solve an issue or mostly address a gap. But for To the Moon and Back, I wanted to experiment with my web development skills to create a fun and interactive website. There is no universal language established in the universe for all the creatures to have conversations. Assuming the fictional characters, from Star Trek, come into the real picture, I developed an online translater that a human can use to talk to them and have meaningful conversations effortlessly.

What it does

It is a responsive website in which the user would be required to fill in the input using the English phrases they want to use in the conversation and the website handles the rest. The website manipulates the string entered in the HTML forms and POSTs it to the API translater. If the request is successful, the returned JSON is again manipulated to show the results on the screen for the human to read. The English phrases are translated to a language called "Klingon" which is spoken by some creatures on the Star Trek movies and shows.

How I built it

I used HTML to structure the webpage, CSS to style the page according to the theme of the website, and Vanilla JavaScript to send and receive requests to the API which translates the entered English phase.

Challenges I ran into

The main challenge I ran into was that I was not able to show the results of the translation on the webpage. I was unable to identify the JSON's properties and use them with respect to my purpose. After some research, I was finally able to show the translation on the webpage.

Accomplishments that I'm proud of

I am happy that I got the opportunity to implement AJAX, and HTTP in a real-time project in such a short amount of time. I am also proud of the fact that humans would not have problems conversing with alien creatures from now :)

What I learned

I learned to brainstorm efficiently. I also had the opportunity to apply my skills which increased my experience with the subject.

What's next for Talk Trek

I am currently working on implementing a text-to-speech option that will speak out the Klingon language to the human user.

Share this project: