This solution is generated by ChatGPT, correctness is not guaranteed. You might also be able to find a solution fromcommunity posts.

AI solution for Interview Question on BFE.dev
112. How do you target your web app to different screen sizes?

  1. Use media queries in CSS to adjust the layout and appearance of the web app based on the screen size.
  2. Use responsive frameworks like Bootstrap that come with built-in classes to enable responsiveness across various devices.
  3. Use fluid layouts that adjust to the width of the screen, rather than fixed layouts that may be too wide for smaller screens.
  4. Use font size and image size relative to the viewport rather than fixed sizes.
  5. Test the web app on multiple devices and screen sizes to ensure it is optimized for each.