Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Show generated avatar based on username initials 🎨

Open
#444 4 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@Parshant-parmar is already working on this.

Since Aug 27, 2026.

Assessment

This issue has not been assessed yet.

Description

good first issue

Show generated avatar based on username initials 🎨

File: client/src/pages/Dashboard.jsx

Navbar shows plain initials in a circle 💀
Make it generate a proper colorful avatar fr!!

Fix: generate consistent color from name:
const getAvatarColor = (name) => {
const colors = [
'#7F77DD', '#E85D75', '#27AE60',
'#F39C12', '#2980B9', '#8E44AD'
]
const index = name?.charCodeAt(0) % colors.length
return colors[index || 0]
}

{user?.name?.[0]?.toUpperCase()}
~8 lines! No backend needed 🎯
Looks way more polished!! ✨

Dominant language
JavaScript
Stars
39
Forks
105
Avg merge
1d 19h
Merged PRs (30d)
29

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from anoopcodehack/DevBoard

All issues in anoopcodehack/DevBoard

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.