Though ICANN has disallowed emojis in domain names1, some ccTLD (country code top-level domain) registrars have gone rouge and permit (and even encourage) the purchase of emoji domains. One of the first ccTLDs to do this was .ws which is the TLD for Samoa. Normally when a new ccTLD announces that they are selling emoji domains, the single emoji domains sell out fast. When I found that .to was selling emoji domains, almost every single emoji domain was gone when I got there. Luckily there’s nothing stopping you from registering emoji domains for emoji that haven’t been implemented by most phones and OSes yet. This is how I came to own 🦆.to.
I waited for a while for most people to have 🦆 on their emoji keyboard, but even well after that, I didn’t know what to do with my new domain. One weekend, I had some spare time, and decided to make what I thought would be a temporary parking space, but which turned out to be a labor of love that I am very proud to introduce to you here.
🦆.to first brings up a loading screen with an adorable animated duck and then shows a random duck GIF from giphy.com.
Some things that I personally learned in this project are:
- registering an emoji domain using punycode
- using the new-ish
fetchAPI to make asynchronous API calls to the giphy API
- making a modest responsive web page by:
vminto scale the font size
- setting the
viewportso that the site looks consistent on mobile browsers without using media queries