-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Random zoo animal app by Joanna Ringqvist #302
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Joanna you have done a great job! A nice idea to create a zoo animal app for you react native project. It looks structured, clean and with good names. Keep up the good work! I been inspired by your project for my native app ;) /Terese
justify-content: center; | ||
align-items: center; | ||
`; | ||
import HomeScreen from './screens/HomeScreen'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fulfills the blue requirements,good!
|
||
const App = () => { | ||
|
||
const [lovedAnimals, setNewLoved] = useState([]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good names
<Title>💅💅💅</Title> | ||
</Container> | ||
|
||
<NavigationContainer> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great and clear structure!
import React, { useEffect, useState } from 'react'; | ||
import { ScrollView, StyleSheet, Image, Text, View } from 'react-native'; | ||
|
||
const FeaturedScreen = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well structured and clear code, great job!
); | ||
} | ||
|
||
const styles = StyleSheet.create({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The styling looks good :) Nice idea with the random animals.
const [animal, setAnimals] = useState(''); | ||
const [isLoading, setIsLoading] = useState(true); | ||
|
||
const wait = (timeout) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
smart to use a wait function :)
import React from 'react'; | ||
import { Text, View, Image, StyleSheet, ScrollView } from 'react-native'; | ||
|
||
const LovedScreen = (props) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like that you have a loveScreen for the animals you love :D
My reflections on how this week's project turned out:
Things I'd like to have clarified or explained in more detail: