Learn

Great job! We’ve covered the fundamentals of styling in Expo and React Native, including:

  • Inline styling with the style property
  • Refactoring inline styles with StyleSheet.create
  • Dynamically styling with arrays of style objects
  • Building responsive layouts with unit-less values, or “density-independent” pixels
  • Laying out elements with flex, flexDirection, and justifyContent

Instructions

You can practice your newly-learned styling skills in App.js. Move on to the next item when you’re ready!

Take this course for free

By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Already have an account?