THEOPHILEACHIZA / My-first-tutorial-project

Challenge: capture a tutorial project in a GitHub repository
1 stars 0 forks source link

Responsive Design of my Web page #5

Open THEOPHILEACHIZA opened 1 week ago

THEOPHILEACHIZA commented 1 week ago

I will now work on the responsive design of my web page. Responsive design or adaptive web design, is essential to ensure that my site displays correctly on all devices, whether smartphones, tablets or desktop computer.

Techniques to implement:

  1. Media Queries: Define breakpoint to adjust the style according to the screen size.
  2. Responsive images: Adapt the size of images to avoid slow loading times on mobile devices.

By integrating these elements, i will ensure that my web page will not only be aesthetically pleasing but also functional on all types of devices.

THEOPHILEACHIZA commented 6 days ago

After following some lessons and tutorials about Responsive web design, I was advised to start by designing for mobile before designing for desktop screen.

I had made a mistake to start with design for desktop screen. Now I went to correct and change some properties of my CSS so that it can start first for mobile and then on desktop screen.

The advantage is that if we start with design for mobile this will make display faster on smaller devices.

THEOPHILEACHIZA commented 3 days ago
  1. The problem I encountered was that I had started by designating for desktop screens instead of applying the 'mobile first' principle, which pushed me to rebuild my entire design to start with a design for mobile.

The disadvantages of not implementing the mobile-first principle are:

-Layout complexity: Designing for desktop first can make adapting content for small screens more complicated, leading to display and usability issues.

-Performance and loading time: Sites designed without mobile devices in mind can be heavier, which negatively impacts loading time on mobile networks.

-Degraded user experience: A non-mobile-first approach can lead to a poor user experience, increasing bounce rates and decreasing time spent on the site.

  1. I learned a lot about RWD, firstly the 'mobile first' principle, some techniques like media queries which are used to apply specific CSS styles depending on the screen size.

I learned 3 things about media queries:

-Changing styles: These can be used to adjust properties like font size, background color, or even hide certain elements on smaller screens.

-Breakpoints: Media queries use "breakpoints" to define at which screen sizes the styles should change. Standard sizes include 480px for mobile and 768px for tablets.