Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I am trying to create this iPhone app myStats page using ReactNative and Javascript and this is what I have so far: import React from
I am trying to create this iPhone app "myStats" page using ReactNative and Javascript and this is what I have so far:
import React from 'react';
import ScrollView, View, TouchableOpacity, StyleSheet, Text, Image from 'reactnative';
import useNavigation from @reactnavigationnative;
import BottomNavBar from BottomNavBar;
import FontAwesomeIcon from @fortawesomereactnativefontawesome';
import faPlus, faCheck from @fortawesomefreesolidsvgicons';
const MyStats
return
My Stats
Dashboard
Journal
Walk
steps
Workout
Add your workout items here
Water
oz
Calories
kcal
Add your macronutrient items here
Medication
Add your medication items here
;
;
const styles StyleSheet.create
container:
flex:
backgroundColor: #fff
welcomeText:
fontSize:
fontWeight: 'bold',
margin:
menu:
flexDirection: 'row',
justifyContent: 'spacearound',
marginBottom:
menuItem:
padding:
backgroundColor: #fff
borderRadius:
section:
flexDirection: 'row',
justifyContent: 'spacearound',
marginBottom:
card:
padding:
backgroundColor: #fff
borderRadius:
width:
alignItems: 'center',
cardTitle:
fontSize:
fontWeight: 'bold',
cardValue:
fontSize:
fontWeight: 'bold',
margin:
icon:
position: 'absolute',
right:
top:
more styles as needed
;
export default MyStats;
I need help expanding this code so that it actually fully resembles the attached image. Thank you
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started