How a responsive website works
A responsive website does not have separate mobile and desktop versions. It is one website with one set of content that changes its layout according to the screen width. On a desktop there might be three columns of products side by side, on a tablet two and on a phone one. On a small screen the menu hides behind an icon, text stays readable without zooming and buttons are big enough to tap with a finger.
Technically this is handled by rules in the site's stylesheets that say how the page should look at different widths. A well-built website is not made for a handful of specific phones; it works on any screen.
Why it matters
For most small business websites and online shops, more people arrive on mobile than on desktop. If the site is awkward to use, they leave for a competitor. Google also ranks websites mainly by their mobile version, so a poor mobile site does worse in search too.
Example
A hair salon has a website where you can book an appointment. On a computer everything works, but on a phone the calendar does not fit the screen and the "Book" button is below the edge. So clients prefer to call, often in the middle of a haircut. After the fix, the calendar on mobile shows as a list of days and free times, and most bookings now come in online.
What to watch out for
- Test on a real phone. A narrowed browser window on a computer does not reveal everything, such as keyboard problems when filling in a form.
- The phone number must be tappable. On mobile, people want to call with one tap.
- Be careful with pop-ups. On a small screen they often cover all the content and cannot be closed.
- Large images slow things down. Smaller versions should load on mobile. Google measures speed through Core Web Vitals.
- Wide tables. A price list with eight columns will not fit on a phone and needs reworking.
When building websites, I design the layout for mobile first and only then for larger screens. I also keep an eye on overall usability, which is what UX and UI are about. Layouts for both mobile and desktop are prepared before any coding as part of the website design.