CodeNewbie Community

loading...
Cover image for Bezos' Calculator

Bezos' Calculator

Álvaro Montoro
Originally published at alvaromontoro.com ・2 min read

Some developers use their weekends to develop cool and grandiose projects to learn new technologies and to double down as second (or third) sources of income... instead, I used this past weekend, to develop a small and silly project.

I developed a web page that calculates how much money Jeff Bezos makes while you read it: Bezos' Calculator.

It is a mixture of tongue in cheek and social criticism (bubbles pop up with milestones comparing it to other salaries and goods.) The numbers are based on these articles by Bloomberg and BuzzFeed, which calculate Jeff Bezos' gains increase by $3,605 every second.

Initially, the counter was not animated. But the original animation did not work on Safari, so I opted for going with the non-animated version... until @afif provided some feedback and recommendation in the comments, and I updated the animation to this:

One fun thing about the project is how equally it distributed it is:

Screenshot of Github showing the project languages distribution: CSS is at 34.9%, JavaScript is at 32.8%, and HTML is at 32.3%

It is a tiny thing (just one page), so it makes sense that the percentages of HTML, CSS, and JavaScript are more or less proportional. It's just the first time I see it like that. Normally one of the languages would dominate the project.

Discussion (1)

Collapse
raksha_kannu profile image
Raksha Kannusami

This is amazing!