and answers with solutions
What are key considerations when designing web sites for mobile devices? - ANSWER - Reduce
clutter/keep simple
- Make contact info easy to find
- Test extensively
- Reduce bounce-rate by using faster loading speed
- Ergonomic placement of buttons/links
- Ensure site is properly formatted
What are three important considerations when developing a mobile website? - ANSWER - Fits
screen-size
- Increase touch area of buttons
- Smaller file size for faster page
What should be done to increase the usability of navigation on mobile devices? - ANSWER -
labeled/clickable buttons/links
- scrollbars
- Don't use hover states
- keep file size small
- hamburger menu
- bottom-aligned icon navigation bar
How do you use images appropriately on mobile web pages? - ANSWER - Limit use of images
- Keep them small
- Reduce quality
, - Use image formats that support optimization (PNG, GIF)
- SVG is good for computer-generated graphics (not photographs)
What are media queries? - ANSWER - Design of website is either mobile-first or desktop-first,
then media queries are added
- Media queries are used to add, remove, or modify specific elements in CSS as needed
How are CSS media queries used? - ANSWER - Used in CSS by calling @media
- Properties are defined in ( )
- Features are then applied when the properties match the user's device
What are commonly used media features? - ANSWER - aspect-ratio
- width
- height
- orientation
- resolution
Create a media query that targets devices at least 350px wide. - ANSWER @media (min-width:
350px) {what is to be changed here}
What is the role of grid layouts in responsive design? - ANSWER Responsive design libraries use
the 12-column grid pattern - where any screen is split into 12 columns and each element is
assigned to span a different number of columns depending ons screen size
What role do frameworks play in responsive design? - ANSWER Developers can use standard
frameworks to facilitate a responsive web page