Inspiration
Recently I completed completed a bootcamp for Web development for beginners. I wanted to try the things that I have learned so I decided to create a project using html, css, javascript and an API. I have used funtranslations API for this project, this API offers various endpoints. I have used the endpoint to translate English language to a language which was used by pirates.
What it does
This website does not requires any kind of signin/signup. User has to enter the text in the dialogue box provided and then hit the Translate button after that, the entered text will be translated into pirate language.
How we built it
I have html, css, JavaScript and an API for this project. First I developed the frontend using html and css. Then for backend i have used JavaScript. I have integrated the url with the text entered by the user, which will be then translated to banana language after hitting the Translate button. I have added event listener for the translate button and also handled the exceptions.
Challenges we ran into
There was one problem after testing it for lot of times. The url was not working for this I have added a function for exception handling and now everything works fine. But suppose it doesn't works then there might be some problem with server and after that user can try after some time.
Accomplishments that we're proud of
I have successfully integrated API with JavaScript. Also this time I have proper convention for naming classes for html tags and styling using css. This project is hosted using Netify
What we learned
I have learned about integrating API with JavaScript and naming convention for html/css classes.
What's next for We are Pirates
I'll try to add some animations and also some more endpoints.


Log in or sign up for Devpost to join the conversation.