Skip to content

Commit

Permalink
play: random avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
hamzathul committed Oct 9, 2024
1 parent 89eef40 commit 4bb5600
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/plays/random-avatar/Readme.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
# Random Avatar

A play to generate random avatars while clicking the Regenerate button
A play to generate random avatars while clicking the Regenerate button.

## Play Demographic

- Language: js
- Language: JavaScript (React)
- Level: Beginner

## Creator Information

- User: hamzathul
- Gihub Link: https://github.com/hamzathul
- Blog:
- Video:
- GitHub Link: https://github.com/hamzathul


## Implementation Details

Update your implementation idea and details here
This play demonstrates the use of state management with React’s `useState` hook to generate random avatars. Users can regenerate avatars by clicking a button, which dynamically updates the displayed avatar. The avatars represent different genders and ages, adding variety to the output.

## Consideration

Update all considerations(if any)
The play focuses on React fundamentals such as event handling, state updates, and functional components, making it a great project for beginners to understand core React concepts.

## Resources

Update external resources(if any)
- [Avatar Placeholder API](https://avatar-placeholder.iran.liara.run/)

0 comments on commit 4bb5600

Please sign in to comment.