cant get my style sheet to work in my Virtual Device

import { StatusBar } from 'expo-status-bar';
import React, { useState } from 'react';
import { StyleSheet, Text, View, TextInput, Button, ScrollView, FlatList } from 'react-native';

import GoalItem from './components/GoalItem';

export default function App() {
  const [enteredGoal, setEnteredGoal] = useState('');
  const [courseGoals, setCourseGoals] = useState([]);

  const goalInputHandler = (enteredText) => {
    setEnteredGoal(enteredText);
  };

  const addGoalHandler = () => {
    setCourseGoals((currentGoals) => [...courseGoals, enteredGoal]);
  };
  
  return (
    <View style={styles.screen}>
      <View style={styles.inputContainer}>
        <TextInput
          placeholder="Course Goals"
          style={styles.input}
          onChangeText={goalInputHandler}
          value={enteredGoal}
        />
        <Button title="ADD" onPress={addGoalHandler} />
      </View>
      <View>
          {courseGoals.map(goal => (
            <View style={styles.inputItems}>     
        <Text key={goal}>{goal}</Text>
      </View> 
          ))}
      </View>
      <FlatList
      keyExtractor={(item,index) => item.id}></FlatList>
    </View>
 
  );
}

const styles = StyleSheet.create({
  screen: {
    padding: 50
  },
  inputContainer: {
    flexDirection: 'row',
    justifyContent: 'space-between',
    alignItems: 'center'
  },
  input: {
    width: '80%',
    borderColor: 'black',
    borderWidth: 1,
    padding: 10
}, 
   inputItems: {
  padding:10,
  margin:10,
  backgroundColor:'#ccc',
  borderColor: 'black',
  borderWidth: 1
  }, 
     
  });

Hey @jyqqi, these forums are not meant to be used to get others to help you fix your code or write code for you. Please be respectful of others time by creating posts that ask specific questions, present what is currently happening versus what is expected to happen and any other actionable or relevant information to the issue.

I’m going to close this issue. In the future, please follow the aforementioned advice when creating new posts.

Cheers,
Adam