DEV Community

Cover image for I just finished a beginner project combining a BMI calculator, a live clock, and a GitHub profile card using the GitHub API.
Sufal Thakre
Sufal Thakre

Posted on

I just finished a beginner project combining a BMI calculator, a live clock, and a GitHub profile card using the GitHub API.

Github Profile Card using API (beginner)

Small web project made by me to learn DOM, fetch API and a bit of CSS.
It shows a Github profile card (avatar, followers, repos, link) and also
includes a simple BMI calculator and a live clock. Made to practice real stuff.

What it does

  • Fetches GitHub user data from https://api.github.com/users/<username> using fetch.
  • Displays: avatar, name, bio, followers, public repos, following and a link to the GitHub profile.
  • Has a small BMI calculator (height in cm, weight in kg).
  • Shows your local time with a live clock.

Here my code :-
GitHub

Top comments (0)