A React application that displays user profile information using a reusable ProfileCard component.
This project demonstrates the use of external CSS for structure & styling and inline styles for dynamic effects.
- Displays a profile picture, name, and bio
- Profile picture styled as a circle
- External CSS for layout, colors, and typography
- Inline styling for dynamic background colors
- Hover effects and responsive design
- Background color changes dynamically via props
profile-card-app/
βββ src/
β βββ components/
β β βββ ProfileCard.jsx
β βββ assets/
β β βββ profile.webp
β βββ App.jsx
β βββ App.css
β βββ style.css
βββ package.json
βββ vite.config.js
# 1οΈβ£ Create a new Vite + React project
npm create vite@latest profile-card-app -- --template react
# 2οΈβ£ Navigate into the project folder
cd profile-card-app
# 3οΈβ£ Install dependencies
npm install
# 4οΈβ£ Install additional dependencies (if needed)
npm install react-router-dom
# 5οΈβ£ Start the development server
npm run dev