I made an Avatar Website that Insults You

Ansari

Ansari

Category : Development

Time to read : 2 mins

Insult Your Friends

Funnily insulting your friend will always makes you laugh that’s human nature. Imagine a avatar like robot insulting your friend, don’t you laugh at him/her and have fun. That’s what the InsultAvatar is all about.

With Simple HTML for the structure and little styling with CSS and importantly pure vanilla JavaScript I could able to make this site.

How it Started :

Well with simple API, plus your imagination the sky is your limit. While I was developing a login and signup page for another project, I was wondering how I can make user to feel unique, I don’t want to use empty user icon 👤 for the avatars. So with little search in google I came across the dicebear a free open source avatar library for developers and designers.

How it works ?

As Simple it is, just enter your name with particular seed it fetches the dicebear library for the avatar and then while clicking on insult it now fetches a GitHub hosted json api and randomize the selection from it.

Note: You could only insult a person once in a day. With the help of local Storage I could accomplish this.

Don’t forget to check it out. Insult Avatar

Love this article? 🤍Check out what else I write about