README.md
md2 kBIn React_Labs_Chapters_01_04.zip
React Lab 01 Template
Starter project for the IN432 React lab covering chapters 01–04.
Getting Started
-
Duplicate the folder: Copy
lab-templateand rename itreact-lab01-<yourname>. -
Install dependencies:
npm install -
Run the development server:
npm run dev -
Open the printed URL in your browser to view the app.
Project Structure
src/App.jsx– Entry component composing the sample layout.src/components/– Place all new components here.src/styles/lab-theme.css– Predefined styling used throughout the lab.
Components (implemented)
WelcomeBanner— displays course, term, instructor, description and a greeting (includes Arabic greeting as a stretch).CourseSummary— shows title, topics, duration, delivery mode, and acceptschildrenfor footer notes.ResourceItem— individual resource entry; shows a smallNEWbadge whenisNewis true.ResourceList— maps an array of resources toResourceItemcomponents.LabOverview— composes the full page (welcome, current/upcoming summaries, resources).SectionTitle— small reusable heading component (stretch).
Stretch Goals Completed
- Arabic greeting in
WelcomeBanner(returnsصباح الخيرorمساء الخير). SectionTitlereusable heading component.- Small style extensions in
src/styles/extensions.cssto support layout and aNEWbadge.
Keep the theme CSS untouched and add extensions in a separate file if you need extra styles.