The current layout of the quiz container, which displays the question, options, and submit button, utilizes the w-50 class for a 50% width. While this approach works well on larger screens, it presents usability challenges on mobile devices due to their limited screen real estate.
Implementation
Removed the w-50 class from the quiz container.
Added a media query targeting devices with screen widths less than 460px. Within this rule, the container's width is set to 100%, ensuring it occupies the full width of the mobile screen and improves user experience.
Attached full screenshot showing after changing the width to 100% in mobile devices
Summary of changes
The current layout of the quiz container, which displays the question, options, and submit button, utilizes the
w-50
class for a 50% width. While this approach works well on larger screens, it presents usability challenges on mobile devices due to their limited screen real estate.Implementation
w-50
class from the quiz container.460px
. Within this rule, the container's width is set to 100%, ensuring it occupies the full width of the mobile screen and improves user experience.Attached full screenshot showing after changing the width to
100%
in mobile devicesChecklist
closes #926