Answered step by step
Verified Expert Solution
Link Copied!

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 'react-native';
import { useNavigation } from '@react-navigation/native';
import BottomNavBar from './BottomNavBar';
import { FontAwesomeIcon } from '@fortawesome/react-native-fontawesome';
import { faPlus, faCheck } from '@fortawesome/free-solid-svg-icons';
const MyStats =()=>{
return (
My Stats
Dashboard
Journal
Walk
1673 steps
Workout
{/* Add your workout items here */}
Water
23oz
Calories
430 kcal
{/* Add your macro-nutrient items here */}
Medication
{/* Add your medication items here */}
);
};
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#f5f5f5',
},
welcomeText: {
fontSize: 24,
fontWeight: 'bold',
margin: 20,
},
menu: {
flexDirection: 'row',
justifyContent: 'space-around',
marginBottom: 20,
},
menuItem: {
padding: 10,
backgroundColor: '#fff',
borderRadius: 20,
},
section: {
flexDirection: 'row',
justifyContent: 'space-around',
marginBottom: 20,
},
card: {
padding: 20,
backgroundColor: '#fff',
borderRadius: 20,
width: '45%',
alignItems: 'center',
},
cardTitle: {
fontSize: 18,
fontWeight: 'bold',
},
cardValue: {
fontSize: 22,
fontWeight: 'bold',
margin: 10,
},
icon: {
position: 'absolute',
right: 10,
top: 10,
},
//more styles as needed
});
export default MyStats;
I need help expanding this code so that it actually fully resembles the attached image. Thank you
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions

Question

Select suitable tools to analyze service problems.

Answered: 1 week ago

Question

How do Dimensional Database Models differ from Relational Models?

Answered: 1 week ago

Question

What type of processing do Relational Databases support?

Answered: 1 week ago

Question

Describe several aggregation operators.

Answered: 1 week ago