How to Design a Responsive Website

Research your website's target audience., Enhance the mobile aspects first when making the website., Use progressive enhancement., Enhance the website's features., Check for cross browser compatibility., Use Polyfills to add feature to the browser...

6 Steps 2 min read Medium

Step-by-Step Guide

  1. Step 1: Research your website's target audience.

     Although you could try to make your website respond to all devices in all conditions, this is probably a waste of time and money.
  2. Step 2: Enhance the mobile aspects first when making the website.

    Start with a design approach for mobile devices.

    To achieve this, use simple HTML and CSS with less of Javascript, since there are many mobile devices which don't support Javascript.

    Add viewport meta tag using the code as shown: <meta name="viewport" content="width=device-width, initial-scale=1.0"/>

    Progressive enhancement uses web technologies in a layered fashion enabling everyone to access the basic content and functionality of a web page, using any browser or Internet connection, while also providing an enhanced version of the page to those with more advanced browser software or greater bandwidth. Now you have a basic website that will work fine for all devices. , Use frameworks:
    Javascript Frameworks:
    Modernizr, jQuery Mobile, Polyfills.

    Use mobile validators or emulators for validating and checking your website design. , With so many browsers available, it is very important to make a website that loads evenly on all the browsers.

    Use Modernizr and Polyfill for identical rendering on different web-browsers.

    Modernizr is a feature detecting JS .We can add fallbacks for features unavailable.The image show code snippet for detecting canvas support . , As IE versions below IE8 do not recognize new HTML5 elements, use HTML5SHIV.js which includes all the new elements.
  3. Step 3: Use progressive enhancement.

  4. Step 4: Enhance the website's features.

  5. Step 5: Check for cross browser compatibility.

  6. Step 6: Use Polyfills to add feature to the browser if it's not present.

Detailed Guide

 Although you could try to make your website respond to all devices in all conditions, this is probably a waste of time and money.

Start with a design approach for mobile devices.

To achieve this, use simple HTML and CSS with less of Javascript, since there are many mobile devices which don't support Javascript.

Add viewport meta tag using the code as shown: <meta name="viewport" content="width=device-width, initial-scale=1.0"/>

Progressive enhancement uses web technologies in a layered fashion enabling everyone to access the basic content and functionality of a web page, using any browser or Internet connection, while also providing an enhanced version of the page to those with more advanced browser software or greater bandwidth. Now you have a basic website that will work fine for all devices. , Use frameworks:
Javascript Frameworks:
Modernizr, jQuery Mobile, Polyfills.

Use mobile validators or emulators for validating and checking your website design. , With so many browsers available, it is very important to make a website that loads evenly on all the browsers.

Use Modernizr and Polyfill for identical rendering on different web-browsers.

Modernizr is a feature detecting JS .We can add fallbacks for features unavailable.The image show code snippet for detecting canvas support . , As IE versions below IE8 do not recognize new HTML5 elements, use HTML5SHIV.js which includes all the new elements.

About the Author

K

Kathryn Perez

Professional writer focused on creating easy-to-follow lifestyle tutorials.

40 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: