π Live Demo π
An interactive React application that displays common React interview questions and answers in an accordion-style interface. Perfect for React developers preparing for technical interviews or reviewing core React concepts.
- π Comprehensive React interview Q&A
- π Interactive accordion interface
- β‘ Dynamic content rendering
- π± Responsive design
- π¨ Bootstrap styling
- π Clear question categorization
- π Easy-to-use toggle functionality
# Clone the repository
git clone https://github.com/caneryesiltas/react-interview-qa.git
# Navigate to project directory
cd react-interview-qa
# Install dependencies
npm install
# Start the development server
npm start
src/
βββ components/
β βββ MyHeader.jsx
β βββ Question.jsx
β βββ InterviewAccord.jsx
βββ helper/
β βββ data.js
β βββ icons.js
βββ styles/
β βββ App.css
βββ App.js
- Main application container
- Renders MyHeader and Question components
- Manages overall layout structure
- Displays the application title
- Styled with Bootstrap
- Responsive container design
- Maps through interview questions data
- Renders individual InterviewAccord components
- Handles data distribution
- Interactive accordion functionality
- Toggle state management
- Dynamic content rendering
- Custom styling with responsive design
- Bootstrap Grid System
- Mobile-first approach
- Flexible container widths
- Responsive text sizing
- Cross-browser compatibility
- Uses React useState hook for accordion toggle
- Efficient state updates
- Controlled component pattern
- Bootstrap integration
- Custom CSS classes
- Responsive containers
- Dynamic icon rendering
- External data file
- Mapped rendering
- Unique key implementation
- Props distribution
- Node.js
- npm or yarn
- React 16.8+
- Bootstrap 5+
- Install dependencies:
npm install
- Start development server:
npm start
- Build for production:
npm run build
Caner Yesiltas - caneryesiltas1@gmail.com
Project Link: https://react-interview-questions-assigment.vercel.app/
Made with β€οΈ by Caner Yesiltas