Complete solution (100% reference)
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!
This is the 100% complete Template Solution for Activity 01. All TODO markers have been implemented with professional examples suitable for classroom demonstration.
See TEACHER_INSTRUCTIONS.mdx for complete guide including:
This solution demonstrates all 5 TODOs from the student template:
https://picsum.photos/200/200?random=1{{ uri: '...' }}# Navigate to solution folder
cd "Template Solution/activity-01-hello-mobile-world"
# Install dependencies (first time only)
npm install --legacy-peer-deps
# Start Expo
npx expo start
# Press 'w' for web browser (best for projection)
# Or scan QR code with Expo Go app on phone
This is a completed solution showing what the final app should look like. Students should work on the Template version (70% complete) located in the Templates/ folder.
activity-01-hello-mobile-world/
āāā App.js # ā
All TODOs completed
āāā styles/
ā āāā colors.js # ā
Custom theme applied
āāā components/
ā āāā WelcomeCard.js # ā
Working component
āāā TEACHER_INSTRUCTIONS.mdx # ā
Complete teaching guide
āāā README.md # This file
āāā package.json # React 19.0.0, Expo 53
āāā app.json # Expo configuration
By studying this solution, students see:
{{ uri: '...' }} syntax| Feature | Template (70%) | Solution (100%) |
|---|---|---|
| Welcome Message | Default "Welcome to React Native!" | Custom "Welcome to Mobile Development!" |
| Colors | Default blue theme | Custom teal theme (#4ECDC4) |
| Image | Placeholder 100x100 | Professional 200x200 random image |
| Subtitles | None (TODO #4) | Two engaging subtitle texts |
| TODO Comments | 5 TODO markers present | All TODO comments removed |
When running this solution, you should see:
Color Scheme:
No Errors: Terminal should show "Bundling complete" with no red errors
Verify the solution works by checking:
Use this solution to:
<Text> wrapper{{ uri: '...' }} for web sourcesAfter showing this solution, challenge students to:
This solution connects to:
React: 19.0.0 React Native: 0.79.5 Expo SDK: 53.0.0 Node: 18+ recommended Platform: iOS, Android, Web
For Teachers:
For Students:
Issues with solution?
npx expo start --clear to clear cachenpm install --legacy-peer-deps completedStatus: 100% Complete ā Last Updated: October 2024 Purpose: Teacher demonstration and student reference
This solution is for educational purposes. Students should complete the Template version themselves to maximize learning.