Welcome to my 28 Days React Coding Challenge! This project is designed to enhance your React skills with daily hands-on challenges. Each question is dynamically loaded, providing an interactive and seamless developer experience.
π Checkout Live here
β
Dynamic Question Loading β Questions are stored in a separate file and rendered automatically.
β
SEO-Friendly Dynamic Routing β Each question has a clean, shareable URL.
β
Live Exploration & GitHub Integration β Jump straight into a live preview or check the source code.
β
Pagination Support β Easily navigate through multiple challenge pages.
All challenge questions are stored in a dedicated file:
import questionList from "../questionList";
This object maps question numbers to their respective titles, making it easy to iterate and generate UI elements dynamically.
Adding a new challenge? Simply update the questionList
file, and the UI updates automaticallyβno need for manual changes in the component!
Every challenge has a unique, dynamically generated route:
<Link to={`/question-${id}-${title.toLowerCase().replace(/\s+/g, "-")}`}>
Explore Live
</Link>
For example, if the challenge is "Building a Custom React Hook", the URL becomes:
/question-2-building-a-custom-react-hook
This approach ensures clean, readable URLs that improve user experience and SEO.
Each challenge has a direct GitHub link to its corresponding source code:
<Link
to={`https://github.com/surajgharpankar28/React-Coding-Prep/tree/main/src/pages/Question_${id}`}
>
GitHub
</Link>
Instead of searching through a large repository, users can jump directly to the specific question folder.
The landing page is designed to be clean, responsive, and user-friendly:
- Title & Subtitle: Introduces the challenge and encourages participation.
- Grid Layout: Displays challenges in a visually appealing format.
- Action Buttons: Explore live or view source code with a single click.
- Pagination Controls: Navigate through multiple pages effortlessly.
π src
β£ π pages
β β£ π Question_1
β β£ π Question_2
β β π Question_N
β£ π questionList.js
β π QuestionList.jsx
questionList.js
β Contains the list of questions.QuestionList.jsx
β Renders the questions dynamically.pages/Question_X/
β Individual question implementations.
git clone https://github.com/surajgharpankar28/React-Coding-Prep.git
cd React-Coding-Prep
npm install
npm start
The app will be available at http://localhost:3000
.
- β Add filtering based on difficulty levels.
- β Implement user progress tracking.
- β Improve accessibility and performance optimizations.
If you have any suggestions, feel free to open an issue or contribute to the project. Let's grow together! π