Student starter code (30% baseline)
index.html- Main HTML pagescript.js- JavaScript logicstyles.css- Styling and layoutpackage.json- Dependenciessetup.sh- Setup scriptREADME.md- Instructions (below)💡 Download the ZIP, extract it, and follow the instructions below to get started!
A React Native app demonstrating React Navigation with stack and tab navigation patterns.
# Install dependencies
npm install --legacy-peer-deps
# Start development server
npx expo start
w in terminali (requires Xcode)a (requires Android Studio)This template is 65-70% complete. Complete the following TODOs:
activity-05-screen-navigator/
├── App.js # Navigation container (60% complete)
├── app.json # Expo config (100% complete)
├── package.json # Dependencies (100% complete)
├── screens/
│ ├── HomeScreen.js # Home screen (80% complete)
│ ├── DetailScreen.js # Detail view (40% complete)
│ └── SettingsScreen.js # Settings (0% complete - you build!)
└── components/
└── NavigationCard.js # Reusable card (100% complete)
Your completed app should:
Stack Navigation: Screens stack on top of each other (drill-down pattern) Tab Navigation: Bottom tabs for switching between app sections Route Parameters: Pass dynamic data between screens Navigation Container: Root wrapper for all navigators
"Network error": Ensure phone and computer on same WiFi
"Metro bundler failed": Run npx expo start --clear
"Module not found": Re-run npm install --legacy-peer-deps
Navigation not working: Check screen names match in navigator and navigate calls
M1: Mobile Foundations | Activity 05 | React Navigation Fundamentals