﻿{"id":11375,"date":"2023-11-27T10:00:00","date_gmt":"2023-11-27T09:00:00","guid":{"rendered":"https:\/\/www.sortlist.co.uk\/blog\/?p=11375"},"modified":"2025-08-27T00:03:56","modified_gmt":"2025-08-26T22:03:56","slug":"responsive-website","status":"publish","type":"post","link":"https:\/\/www.sortlist.co.uk\/blog\/responsive-website\/","title":{"rendered":"How to build a responsive website from scratch"},"content":{"rendered":"<p>A majority of the purchase decisions online happen on the mobile nowadays. Hence, <a href=\"https:\/\/www.sortlist.co.uk\/s\/responsive-web-design\/united-kingdom-gb\" target=\"_blank\" rel=\"noreferrer noopener\">responsive website design<\/a> has become indispensable for creating websites that seamlessly and <strong>responsive design<\/strong> adapt to smaller screens on various devices, ensuring an optimal user experience. <\/p>\n<p>This approach to modern responsive website design involves crafting responsive websites that dynamically adjust their browser width, layout font size and functionality. It aims to suit the specific screen sizes of desktops mobile tablets, and smartphones.<\/p>\n<p>The significance of responsive <a href=\"https:\/\/www.sortlist.co.uk\/blog\/are-web-designers-still-needed-in-2025\/\">web design<\/a> is underscored by its ability to enhance user satisfaction and improve search engine optimisation. Additionally, it streamlines maintenance processes, emphasising the holistic benefits of this approach. <\/p>\n<p>While providing a <strong>consistent and user-friendly<\/strong> experience across multiple devices, responsive <a href=\"https:\/\/www.sortlist.co.uk\/blog\/are-web-designers-still-needed-in-2025\/\">web design<\/a> boosts engagement, especially on mobile devices. It also positively influences a site\u2019s visibility on search engine results pages. Ultimately, it drives organic traffic.<\/p>\n<p>In essence, <strong>responsive <a href=\"https:\/\/www.sortlist.co.uk\/blog\/are-web-designers-still-needed-in-2025\/\">web design<\/a><\/strong> is a fundamental practice in modern web development, addressing the challenges posed by the diverse landscape of internet-enabled devices. Its benefits extend beyond aesthetics by playing a pivotal role in user retention and search engine rankings. Cost-effective, modern responsive design in web design and maintenance makes it an essential component of a successful online presence in today\u2019s digital era.<\/p>\n<h2 class=\"wp-block-heading\"><strong>Understanding Responsive Web Design Principles<\/strong><\/h2>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1707\" src=\"https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/7447490-scaled.jpg\" alt=\"responsive web design\" class=\"wp-image-11380\" style=\"width:673px;height:auto\" title=\"Image by <a href=&quot;https:\/\/www.freepik.com\/free-vector\/flat-design-responsive-website-design_28389258.htm#query=Responsive%20Web%20Design&amp;position=0&amp;from_view=search&amp;track=ais&amp;uuid=ab0e25a7-28e0-48bb-91b7-a146d43d97c3&quot;&gt;Freepik<\/a&gt;\" srcset=\"https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/7447490-scaled.jpg 2560w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/7447490-768x512.jpg 768w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/7447490-1536x1024.jpg 1536w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/7447490-2048x1365.jpg 2048w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/7447490-50x33.jpg 50w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/7447490-288x192.jpg 288w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/7447490-576x384.jpg 576w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/7447490-339x226.jpg 339w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/7447490-678x452.jpg 678w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/7447490-373x249.jpg 373w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/7447490-746x497.jpg 746w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/7447490-691x461.jpg 691w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/7447490-1382x921.jpg 1382w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/7447490-973x649.jpg 973w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/7447490-1946x1297.jpg 1946w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/7447490-1048x699.jpg 1048w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/7447490-478x319.jpg 478w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/7447490-956x637.jpg 956w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/7447490-516x344.jpg 516w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/7447490-1032x688.jpg 1032w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/7447490-680x453.jpg 680w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/7447490-1360x907.jpg 1360w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/><\/figure>\n<\/div>\n<h3 class=\"wp-block-heading\"><strong>Fluid Grids and Flexible Layouts:<\/strong><\/h3>\n<p>&nbsp;&nbsp; &#8211; Responsive designs use relative units like percentages instead of fixed pixel values for widths and heights.<\/p>\n<p>&nbsp;&nbsp; &#8211; Fluid grids allow elements to scale proportionally, adapting to varying screen sizes.<\/p>\n<p>&nbsp;&nbsp; &#8211; Flexible layouts use relative units for spacing and positioning, ensuring seamless adjustment to different screen dimensions.&nbsp;<\/p>\n<h3 class=\"wp-block-heading\"><strong>Media Queries:<\/strong><\/h3>\n<p>&nbsp;&nbsp; &#8211; Media queries enable conditional styling based on device characteristics like screen width, height, or orientation.<\/p>\n<p>&nbsp;&nbsp; &#8211; They allow developers to apply specific styles or adjust the layout for optimal presentation on diverse devices.<\/p>\n<p>&nbsp;&nbsp; &#8211; Media queries play a crucial role in creating a responsive design that caters to the specifics of each user\u2019s viewing environment.<\/p>\n<h3 class=\"wp-block-heading\"><strong>Progressive Enhancement:<\/strong><\/h3>\n<p>&nbsp;&nbsp; &#8211; Involves building a solid foundation for the website and then adding advanced features or styles for devices that can support them.<\/p>\n<p>&nbsp;&nbsp; &#8211; Ensures a baseline functionality for all users, regardless of their device capabilities.<\/p>\n<p>&nbsp;&nbsp; &#8211; Focuses on starting simple and enhancing the user experience for more capable devices.<\/p>\n<h3 class=\"wp-block-heading\"><strong>Graceful Degradation:<\/strong><\/h3>\n<p>&nbsp;&nbsp; &#8211; Involves starting with a fully-featured design and ensuring that the website still functions reasonably well on less capable devices or older browsers.<\/p>\n<p>&nbsp;&nbsp; &#8211; Ensures a consistent user experience across a range of devices by gracefully handling variations in technological capabilities.<\/p>\n<p>&nbsp;&nbsp; &#8211; Prioritises maintaining core functionality while gracefully adjusting for devices with limitations.<\/p>\n<h2 class=\"wp-block-heading\"><strong>Choosing a Front-End Development Framework<\/strong><\/h2>\n<p>Selecting the right <a href=\"https:\/\/www.sortlist.co.uk\/blog\/front-end-development-resources\/\" target=\"_blank\" rel=\"noreferrer noopener\">front-end development framework<\/a> is a critical decision. It plays a key role in building modern, responsive, and visually appealing web applications. Several popular frameworks, including Bootstrap and Materialize, offer pre-built components and styles. These tools are designed to expedite development.<\/p>\n<h3 class=\"wp-block-heading\"><strong>1. Bootstrap:<\/strong><\/h3>\n<figure class=\"wp-block-table\">\n<table>\n<tbody>\n<tr>\n<td><strong>Advantages:<\/strong><\/td>\n<td><strong>Disadvantages:<\/strong><\/td>\n<\/tr>\n<tr>\n<td>Widely adopted and well-documented, making it beginner-friendly.<\/td>\n<td>Recognisable Bootstrap styling may lead to a somewhat generic appearance.<\/td>\n<\/tr>\n<tr>\n<td>A vast community ensures robust support and a plethora of resources.<\/td>\n<td>Heavier file size compared to some other frameworks.<\/td>\n<\/tr>\n<tr>\n<td>Responsive grid system and a rich library of components for rapid development.<\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table><figcaption class=\"wp-element-caption\">Pros &amp; Cons &#8211; Bootstrap<\/figcaption><\/figure>\n<p><strong>Overview:<\/strong><\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp; &#8211; Core components include a responsive grid system and modals.<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp; &#8211; Emphasises mobile-first design and customisation through variables.<\/p>\n<h3 class=\"wp-block-heading\"><strong>2. Foundation:<\/strong><\/h3>\n<figure class=\"wp-block-table\">\n<table>\n<tbody>\n<tr>\n<td><strong>Advantages:<\/strong><\/td>\n<td><strong>Disadvantages:<\/strong><\/td>\n<\/tr>\n<tr>\n<td>Highly customisable with a modular architecture.<\/td>\n<td>Steeper learning curve for beginners compared to Bootstrap.<\/td>\n<\/tr>\n<tr>\n<td>Efficient and lighter in terms of file size.<\/td>\n<td>Smaller community than Bootstrap, but still robust.<\/td>\n<\/tr>\n<tr>\n<td>Strong emphasis on semantic HTML and accessibility.<\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table><figcaption class=\"wp-element-caption\">Pros &amp; Cons &#8211; Foundation<\/figcaption><\/figure>\n<p><strong>Overview:<\/strong><\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp; &#8211; Core components encompass a responsive grid, and a variety of UI elements.<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp; &#8211; Offers a Sass-based architecture for customisation and scalability.<\/p>\n<h3 class=\"wp-block-heading\"><strong>3. Materialize:<\/strong><\/h3>\n<figure class=\"wp-block-table\">\n<table>\n<tbody>\n<tr>\n<td><strong>Advantages<\/strong><\/td>\n<td><strong>Disadvantages<\/strong><\/td>\n<\/tr>\n<tr>\n<td>Based on Google\u2019s Material Design principles for a modern look and feel.<\/td>\n<td>Limited in terms of pre-built components compared to Bootstrap.<\/td>\n<\/tr>\n<tr>\n<td>Easy to learn and suitable for projects with specific aesthetic requirements.<\/td>\n<td>Smaller community compared to more established frameworks.<\/td>\n<\/tr>\n<tr>\n<td>Lightweight and optimised for mobile devices.<\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table><figcaption class=\"wp-element-caption\">Pros &amp; Cons &#8211; Materialize<\/figcaption><\/figure>\n<p><strong>&nbsp;Overview:<\/strong><\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp; &#8211; Core components include a responsive grid and a variety of animated transitions.<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp; &#8211; Adheres closely to the Material Design language, providing a cohesive visual experience.<\/p>\n<p>When choosing a front-end framework, <strong>developers<\/strong> should consider factors such as ease of use, and community support. They should align their choice with project requirements and personal preferences. Each framework brings its unique strengths, making it essential to weigh the advantages and disadvantages to determine the best fit for a particular development scenario.<\/p>\n<h2 class=\"wp-block-heading\"><strong>Building the HTML Structure:<\/strong><\/h2>\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"465\" height=\"2560\" src=\"https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/la-magnetica-2023-11-22t142942.920-scaled.jpg\" alt=\"\" class=\"wp-image-11390\" style=\"width:170px;height:auto\" srcset=\"https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/la-magnetica-2023-11-22t142942.920-scaled.jpg 465w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/la-magnetica-2023-11-22t142942.920-279x1536.jpg 279w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/la-magnetica-2023-11-22t142942.920-372x2048.jpg 372w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/la-magnetica-2023-11-22t142942.920-50x275.jpg 50w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/la-magnetica-2023-11-22t142942.920-339x1865.jpg 339w\" sizes=\"auto, (max-width: 465px) 100vw, 465px\" \/><\/figure>\n<\/div>\n<p>In <strong>responsive web design<\/strong>, the foundation of creating a responsive, and accessible website lies in the use of semantic HTML markup. Semantic HTML not only defines the structure of a webpage but also conveys the meaning of each element to browsers and developers alike. This approach enhances the creation of a more responsive website, a responsive web design website that\u2019s <a href=\"https:\/\/www.sortlist.co.uk\/blog\/web-content-accessibility-guidelines\/\" target=\"_blank\" rel=\"noreferrer noopener\">SEO accessibility<\/a>, and overall maintenance.<\/p>\n<p>HTML5 introduced a set of <strong>semantic elements<\/strong> that play a crucial role in structuring a responsive webpage. These include:<\/p>\n<p><strong>&#8211; &lt;header&gt;:<\/strong> Represents the header of a section or a web page, and often contains logos, navigation, and other introductory content.<\/p>\n<p><strong>&#8211; &lt;nav&gt;:<\/strong> Marks a section containing navigation links, facilitating clear and organised menus for users.<\/p>\n<p><strong>&#8211; &lt;main&gt;:<\/strong> Defines the main content of a document, excluding headers, footers, and sidebars. It aids in creating a more accessible and structured layout.<\/p>\n<p><strong>&#8211; &lt;aside&gt;:<\/strong> Represents content that is tangentially related to the content around it, typically used for sidebars or related information.<\/p>\n<p><strong>&#8211; &lt;section&gt;:<\/strong> Defines a thematic grouping within a document, allowing for better organisation of content.<\/p>\n<p><strong>&#8211; &lt;article&gt;:<\/strong> Encapsulates content that is intended to be independently distributable or reusable, such as blog posts or news articles.<\/p>\n<p><strong>&#8211; &lt;footer&gt;:<\/strong> Represents the footer of a section or a web page, usually containing copyright information, and other concluding content.<\/p>\n<h3 class=\"wp-block-heading\">HTML Attributes to Control the Behaviour of Elements<\/h3>\n<p>To enhance responsiveness, <strong>HTML attributes<\/strong> can be employed to control the behaviour of elements. For instance:<\/p>\n<p><strong>&#8211; `&lt;img&gt;`\u2019s `srcset` attribute:<\/strong> Specifies multiple sources for an image, each with a different resolution or display size. This allows the browser to choose the most appropriate image based on the user\u2019s own mobile device, or mobile device resolution.&nbsp;<\/p>\n<p><strong>&#8211; `&lt;picture&gt;` element:<\/strong> Offers a more flexible way to include responsive images by providing multiple sources with different resolutions or aspect ratios. This ensures that the most suitable image is displayed according to the user\u2019s device characteristics.<\/p>\n<p>While leveraging semantic <strong>HTML markup<\/strong> and utilising HTML5 elements along with responsive attributes, developers can now create a responsive and well-organised. It has adaptable structure for their webpages. This not only improves the user experience when responsive <a href=\"https:\/\/www.sortlist.co.uk\/blog\/are-web-designers-still-needed-in-2025\/\">web design<\/a> web pages render, but also lays the groundwork for effective styling and scripting in the realm of responsive web page design.<\/p>\n<h2 class=\"wp-block-heading\"><strong>Styling with CSS:<\/strong><\/h2>\n<p><strong>Cascading Style Sheets (CSS)<\/strong> play a pivotal role in the visual presentation of a website, allowing developers to control the layout, and responsiveness of their HTML structures. When it comes to styling with CSS, first up, we have CSS selectors \u2013 these are like style detectives. They help you pinpoint elements to jazz up. There&#8217;s the class selector (think of it as a group tag for styling), the ID selector (for solo acts), and attribute selectors (they&#8217;re like filters for specific traits).<\/p>\n<p>Now, meet CSS media queries \u2013 your style chameleon. These nifty codes let your styles adapt to different screens, making your webpage look fab on phones, tablets, and big screens alike.<\/p>\n<p>Ever heard of CSS resets and normalize.css? They&#8217;re like peacekeepers in the style world, ensuring your website looks consistent and sharp across different browsers.<\/p>\n<p>Now, let&#8217;s look at some key considerations when styling with CSS:<\/p>\n<h3 class=\"wp-block-heading\"><strong>1. Selectors and Declarations:<\/strong><\/h3>\n<p><strong>&nbsp;&nbsp; &#8211; Selectors:<\/strong> Target HTML elements to apply styling rules.<\/p>\n<p><strong>&nbsp;&nbsp; &#8211; Declarations:<\/strong> Define the appearance, layout, or behaviour of selected elements.<\/p>\n<h3 class=\"wp-block-heading\"><strong>2. Responsive Design:<\/strong><\/h3>\n<p>&nbsp;&nbsp; &#8211; Use media queries to apply different styles based on screen characteristics.<\/p>\n<p>&nbsp;&nbsp; &#8211; Employ relative units like percentages and ems to ensure flexibility across devices.<\/p>\n<h3 class=\"wp-block-heading\"><strong>3. Box Model:<\/strong><\/h3>\n<p>&nbsp;&nbsp; &#8211; Understand the box model and its comprising content like padding and border. Learn about the margin for a comprehensive grasp of front-end design.<\/p>\n<p>&nbsp;&nbsp; &#8211; Adjust these properties to control the spacing and layout of elements.<\/p>\n<h3 class=\"wp-block-heading\"><strong>4. Flexbox and Grid Layout:<\/strong><\/h3>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\" id=\"<a-href=&quot;https:\/\/www.freepik.com\/free-vector\/vector-brochure-flyer_1306356.htm-query=Flexbox%20and%20Grid%20Layout&amp;position=0&amp;from_view=search&amp;track=ais&amp;uuid=5a3bfb49-768d-4dbf-9e5f-12bf4069db75&quot;&gt;Image-by-ikatod<\/a&gt;-on-Freepik\"><img loading=\"lazy\" decoding=\"async\" width=\"2538\" height=\"2560\" src=\"https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-scaled.jpg\" alt=\"responsive website box and grid layout\" class=\"wp-image-11393\" style=\"width:479px;height:auto\" srcset=\"https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-scaled.jpg 2538w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-768x775.jpg 768w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-1523x1536.jpg 1523w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-2030x2048.jpg 2030w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-50x50.jpg 50w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-288x291.jpg 288w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-576x581.jpg 576w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-339x342.jpg 339w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-678x684.jpg 678w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-373x376.jpg 373w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-746x753.jpg 746w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-691x697.jpg 691w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-1382x1394.jpg 1382w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-973x982.jpg 973w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-1946x1963.jpg 1946w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-1048x1057.jpg 1048w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-478x482.jpg 478w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-956x964.jpg 956w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-516x521.jpg 516w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-1032x1041.jpg 1032w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-680x686.jpg 680w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-1360x1372.jpg 1360w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-36x36.jpg 36w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-72x72.jpg 72w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-65x65.jpg 65w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-130x130.jpg 130w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-55x55.jpg 55w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/96-110x110.jpg 110w\" sizes=\"auto, (max-width: 2538px) 100vw, 2538px\" \/><\/figure>\n<\/div>\n<p>&nbsp;&nbsp; &#8211; Leverage Flexbox for one-dimensional layouts, simplifying the arrangement of items within containers.<\/p>\n<p>&nbsp;&nbsp; &#8211; Use Grid Layout for two-dimensional layouts, enabling precise control over rows and columns.<\/p>\n<h3 class=\"wp-block-heading\"><strong>5. CSS Variables:<\/strong><\/h3>\n<p>&nbsp;&nbsp; &#8211; Define variables to store reusable values and ease of maintenance.<\/p>\n<p>&nbsp;&nbsp; &#8211; Dynamically adjust variable values to create responsive and themeable designs.<\/p>\n<p>While mastering CSS principles, developers can craft visually appealing and responsive web designs. This ensures they create a responsive, mobile friendly and engaging user experience across a diverse range of devices and screen sizes.<\/p>\n<h2 class=\"wp-block-heading\"><strong>Implementing JavaScript for Enhancements:<\/strong><\/h2>\n<p>JavaScript is a dynamic <strong>scripting language<\/strong> that empowers <a href=\"https:\/\/www.sortlist.co.uk\/web-development\/united-kingdom-gb\" target=\"_blank\" rel=\"noreferrer noopener\">web developers<\/a> to introduce interactive and dynamic elements to web pages, enhancing user experience and functionality. When implementing JavaScript for enhancements, several key aspects come into play:<\/p>\n<h3 class=\"wp-block-heading\"><strong>1. Event Handling:<\/strong><\/h3>\n<p>&nbsp;&nbsp; &#8211; Utilise event listeners to respond to user interactions like clicks, or keyboard inputs. These listeners enhance the interactivity of your application.<\/p>\n<p>&nbsp;&nbsp; &#8211; Attach functions to events, triggering specific actions when users engage with the webpage.<\/p>\n<h3 class=\"wp-block-heading\"><strong>2. DOM Manipulation:<\/strong><\/h3>\n<p>&nbsp;&nbsp; &#8211; Access and modify the Document Object Model (DOM) to dynamically update content.<\/p>\n<p>&nbsp;&nbsp; &#8211; Create, or modify HTML elements, enabling real-time changes without page reloads.<\/p>\n<h3 class=\"wp-block-heading\"><strong>3. Asynchronous Operations:<\/strong><\/h3>\n<p>&nbsp;&nbsp; &#8211; Employ asynchronous JavaScript, such as AJAX or Fetch API, for seamless data retrieval without blocking the main thread.<\/p>\n<p>&nbsp;&nbsp; &#8211; Handle asynchronous operations using callbacks, or async\/await for efficient data processing.&nbsp;<\/p>\n<h3 class=\"wp-block-heading\"><strong>4. Client-Side Validation:<\/strong><\/h3>\n<p>&nbsp;&nbsp; &#8211; Validate user inputs on the client side to enhance user experience and reduce server load.<\/p>\n<p>&nbsp;&nbsp; &#8211; Provide instant feedback to users, improving the accuracy and speed of form submissions.<\/p>\n<h3 class=\"wp-block-heading\"><strong>5. Frameworks and Libraries:<\/strong><\/h3>\n<p>&nbsp;&nbsp; &#8211; Leverage JavaScript frameworks and libraries such as React, or Vue.js for efficient and organised front-end development.<\/p>\n<p>&nbsp;&nbsp; &#8211; These tools provide reusable components and simplified DOM manipulation.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\" id=\"<a-href=&quot;https:\/\/www.freepik.com\/free-vector\/programmers-using-javascript-programming-language-computer-tiny-people-javascript-language-javascript-engine-js-web-development-concept_11669212.htm-query=JavaScript&amp;position=14&amp;from_view=search&amp;track=sph&amp;uuid=57b6f745-f48e-4770-a44e-bad34ebfdc8e&quot;&gt;Image-by-vectorjuice<\/a&gt;-on-Freepik\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1707\" src=\"https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/20945805-scaled.jpg\" alt=\"responsive website js\" class=\"wp-image-11395\" style=\"width:577px;height:auto\" srcset=\"https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/20945805-scaled.jpg 2560w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/20945805-768x512.jpg 768w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/20945805-1536x1024.jpg 1536w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/20945805-2048x1365.jpg 2048w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/20945805-50x33.jpg 50w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/20945805-288x192.jpg 288w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/20945805-576x384.jpg 576w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/20945805-339x226.jpg 339w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/20945805-678x452.jpg 678w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/20945805-373x249.jpg 373w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/20945805-746x497.jpg 746w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/20945805-691x461.jpg 691w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/20945805-1382x921.jpg 1382w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/20945805-973x649.jpg 973w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/20945805-1946x1297.jpg 1946w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/20945805-1048x699.jpg 1048w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/20945805-478x319.jpg 478w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/20945805-956x637.jpg 956w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/20945805-516x344.jpg 516w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/20945805-1032x688.jpg 1032w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/20945805-680x453.jpg 680w, https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/20945805-1360x907.jpg 1360w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/><\/figure>\n<\/div>\n<p>While effectively implementing JavaScript, developers can create dynamic, responsive, and feature-rich web applications that elevate the overall user experience. Thoughtful consideration of event handling, DOM manipulation, asynchronous operations, and security measures ensures that JavaScript enhances web functionality. It also maintains optimal performance and security.<\/p>\n<h2 class=\"wp-block-heading\"><strong>Deployment and Maintenance:<\/strong>&nbsp;<\/h2>\n<p>Deploying a <a href=\"https:\/\/www.sortlist.co.uk\/app-development\/united-kingdom-gb\" target=\"_blank\" rel=\"noreferrer noopener\">web application<\/a> marks the transition from development to making the product accessible to users. Beyond the deployment phase, ongoing maintenance is essential to address issues, implement updates, and ensure the continued functionality and security of the application. Here\u2019s a brief overview of deployment and maintenance considerations:<\/p>\n<h3 class=\"wp-block-heading\"><strong>1. Deployment Strategies:<\/strong><\/h3>\n<p>&nbsp;&nbsp; &#8211; Choose a suitable deployment strategy based on the project\u2019s requirements. Options include rolling deployments, blue-green deployments, or canary releases.<\/p>\n<p>&nbsp;&nbsp; &#8211; Use automation tools like Jenkins, Travis CI, or GitHub Actions to streamline the deployment process.<\/p>\n<h3 class=\"wp-block-heading\"><strong>2. Environment Configuration:<\/strong><\/h3>\n<p>&nbsp;&nbsp; &#8211; Ensure consistency between development, staging, and production environments to prevent unexpected issues.<\/p>\n<p>&nbsp;&nbsp; &#8211; Utilise environment variables for configuration parameters such as API keys and database connections to facilitate easy environment-specific adjustments.<\/p>\n<h3 class=\"wp-block-heading\"><strong>3. Continuous Integration\/Continuous Deployment (CI\/CD):<\/strong><\/h3>\n<p>&nbsp;&nbsp; &#8211; Implement CI\/CD pipelines to automate the testing, building, and deployment processes.<\/p>\n<p>&nbsp;&nbsp; &#8211; Regularly update dependencies and run automated tests to catch issues early in the development cycle.<\/p>\n<h3 class=\"wp-block-heading\"><strong>4. Monitoring and Error Tracking:<\/strong><\/h3>\n<p>&nbsp;&nbsp; &#8211; Integrate monitoring tools to track application performance, identify errors, and receive alerts in real-time.<\/p>\n<p>&nbsp;&nbsp; &#8211; Utilise error tracking platforms to capture and analyse application errors, facilitating rapid issue resolution.<\/p>\n<h3 class=\"wp-block-heading\"><strong>5. Backup and Recovery:<\/strong><\/h3>\n<p>&nbsp;&nbsp; &#8211; Implement regular backup procedures for critical data and configurations.<\/p>\n<p>&nbsp;&nbsp; &#8211; Develop and test recovery plans to ensure quick restoration in case of data loss or system failures.<\/p>\n<h3 class=\"wp-block-heading\"><strong>6. Security Updates:<\/strong><\/h3>\n<p>&nbsp;&nbsp; &#8211; Stay vigilant for security vulnerabilities by monitoring security advisories for dependencies and underlying technologies.<\/p>\n<p>&nbsp;&nbsp; &#8211; Regularly apply security patches and updates to mitigate potential risks.&nbsp;<\/p>\n<p>While embracing <strong>systematic deployment practice<\/strong>s and proactive maintenance strategies, developers can ensure that their web applications remain secure, performant, and capable of meeting evolving user expectations. Regular updates, thorough monitoring, and strategic improvements contribute to the long-term success and sustainability of the deployed application.<\/p>\n<h2 class=\"wp-block-heading\"><strong>Sortlist for Deployment and Maintenance:<\/strong>&nbsp;<\/h2>\n<p>In the realm of <strong>web development<\/strong>, managing deployment and ongoing maintenance can be streamlined with the assistance of tools like Sortlist. Sortlist is a project management and collaboration platform that can significantly enhance the efficiency of deployment and maintenance processes. Here\u2019s how Sortlist can play a role:<\/p>\n<p><strong>1. Agency Selection:<\/strong><\/p>\n<p>Utilise Sortlist to discover and connect with experienced <a href=\"https:\/\/www.sortlist.co.uk\/web-development\/united-kingdom-gb\" target=\"_blank\" rel=\"noreferrer noopener\">development agencies or professionals<\/a> for deployment tasks. This can include experts in deployment strategies, continuous integration, and infrastructure management.<\/p>\n<p><strong>2. Expertise Matching:<\/strong><\/p>\n<p>Leverage Sortlist\u2019s matching algorithms to find professionals with expertise in <strong>specific<\/strong> deployment tools, continuous integration practices, and infrastructure scaling. This ensures that the chosen experts align with the project\u2019s unique requirements.<\/p>\n<p><strong>3. Resource Scaling:<\/strong><\/p>\n<p>When scaling resources becomes a priority, Sortlist can help identify agencies or professionals with experience in resource scaling, whether it\u2019s related to cloud infrastructure, server management, or auto-scaling configurations.<\/p>\n<p><strong>4. Security Audits:<\/strong><\/p>\n<p>Engage with cybersecurity experts found through Sortlist to conduct regular security audits. These professionals can assess the application for vulnerabilities, recommend security patches, and ensure that the deployment aligns with industry best practices.<\/p>\n<p><strong>5. User Experience Enhancement:<\/strong><\/p>\n<p>Collaborate with <a href=\"https:\/\/www.sortlist.co.uk\/ux-agency\/united-kingdom-gb\" target=\"_blank\" rel=\"noreferrer noopener\">UX\/UI design agencies<\/a> on Sortlist to continuously improve the user experience. Gathering insights and implementing user feedback is essential for maintaining a successful application post-deployment.&nbsp;<\/p>\n<p><strong>6. Continuous Improvement:<\/strong><\/p>\n<p>Utilise <strong>Sortlist<\/strong> to connect with agencies that specialise in performance optimisation. These experts can conduct regular audits, identify areas for improvement, and implement optimisations to enhance the application\u2019s speed and responsiveness.<\/p>\n<p>While leveraging Sortlist\u2019s platform, developers and businesses can efficiently find the right expertise, collaborate with professionals, and ensure that their web applications are deployed and maintained at the highest standards. The platform\u2019s ability to connect with <a href=\"https:\/\/www.sortlist.co.uk\/web-development\/london-england-gb\">specialised web development agencies in London<\/a> and professionals contributes to a more streamlined and effective development lifecycle.<\/p>\n<\/p>\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n<div id=\"module_call-to-action--block_fa3b02b550363a687e41f38b0162b1e2\" class=\"sl_custom_module module_call-to-action align_text_left\">\n<div class=\"module_call-to-action__wrapper\">\n<h4 class=\"js-texte-typing\">Are you looking for<br \/>\n                <span data-text=\"a web developer?|an SEO agency?\" class=\"js-texte-typing-text\"><\/span><br \/>\n                <span class=\"cursor\">|<\/span><br \/>\n                    <\/h4>\n<p>Discover the most relevant agencies for your project based on your own specific requirements.<\/p>\n<p>                <span class=\"js-ga-gutenbergBlock-callToAction btn btn-blue\" target=\"_self\" rel=\"nofollow noopener\" data-o=\"aHR0cHM6Ly93d3cuc29ydGxpc3QuY28udWsvcHJvamVjdC9uZXc\/YXV0b2xvYWQ9dHJ1ZSUyMA==\">Find an agency!<\/span><\/p><\/div>\n<\/div>\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n<h2 class=\"wp-block-heading\"><strong>Conclusion:<\/strong><\/h2>\n<p>In the ever-changing world of <strong>web development<\/strong>, success lies in a comprehensive approach\u2014from responsive design and effective front-end frameworks to thoughtful JavaScript implementation. Rigorous testing, continuous optimisation, and tools like <a href=\"https:\/\/www.sortlist.co.uk\/project\/new?autoload=true\" target=\"_blank\" rel=\"noreferrer noopener\">Sortlist<\/a> streamline deployment and maintenance. <\/p>\n<p>The journey from concept to deployment is an ongoing cycle, demanding collaboration, adaptability, and a commitment to user satisfaction. Embracing best practices ensures <strong>web applications<\/strong> not only meet but exceed evolving expectations, standing resilient in the dynamic digital landscape.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A majority of the purchase decisions online happen on the mobile nowadays. Hence, responsive website design has become indispensable for creating websites that seamlessly and responsive design adapt to smaller screens on various devices, ensuring an optimal user experience. This approach to modern responsive website design involves crafting responsive websites that dynamically adjust their browser [&hellip;]<\/p>\n","protected":false},"author":251,"featured_media":11398,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_sb_is_suggestion_mode":false,"_sb_show_suggestion_boards":false,"_sb_show_comment_boards":false,"_sb_suggestion_history":"","_sb_update_block_changes":"","content-type":"","om_disable_all_campaigns":false,"footnotes":""},"categories":[34,38],"class_list":["post-11375","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-software-development","category-website-creation"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to build a responsive website from scratch<\/title>\n<meta name=\"description\" content=\"Build a responsive website from scratch with our guide. Learn essential techniques for a user-friendly online presence.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sortlist.co.uk\/blog\/responsive-website\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to build a responsive website from scratch\" \/>\n<meta property=\"og:description\" content=\"Build a responsive website from scratch with our guide. Learn essential techniques for a user-friendly online presence.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sortlist.co.uk\/blog\/responsive-website\/\" \/>\n<meta property=\"og:site_name\" content=\"Sortlist Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-27T09:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-26T22:03:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/la-magnetica-2023-11-22t145043.728.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1093\" \/>\n\t<meta property=\"og:image:height\" content=\"775\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Alesia Pop\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alesia Pop\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sortlist.co.uk\\\/blog\\\/responsive-website\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sortlist.co.uk\\\/blog\\\/responsive-website\\\/\"},\"author\":{\"name\":\"Alesia Pop\",\"@id\":\"https:\\\/\\\/www.sortlist.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/98e72c619f9ac84c355fec6a71942226\"},\"headline\":\"How to build a responsive website from scratch\",\"datePublished\":\"2023-11-27T09:00:00+00:00\",\"dateModified\":\"2025-08-26T22:03:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sortlist.co.uk\\\/blog\\\/responsive-website\\\/\"},\"wordCount\":2500,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.sortlist.co.uk\\\/blog\\\/responsive-website\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.blog.production.sortlist.cloud\\\/wp-content\\\/uploads\\\/sites\\\/7\\\/2023\\\/11\\\/la-magnetica-2023-11-22t145043.728.jpg\",\"articleSection\":[\"Development &amp; Product\",\"Website Creation &amp; Design\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.sortlist.co.uk\\\/blog\\\/responsive-website\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sortlist.co.uk\\\/blog\\\/responsive-website\\\/\",\"url\":\"https:\\\/\\\/www.sortlist.co.uk\\\/blog\\\/responsive-website\\\/\",\"name\":\"How to build a responsive website from scratch\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sortlist.co.uk\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sortlist.co.uk\\\/blog\\\/responsive-website\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sortlist.co.uk\\\/blog\\\/responsive-website\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.blog.production.sortlist.cloud\\\/wp-content\\\/uploads\\\/sites\\\/7\\\/2023\\\/11\\\/la-magnetica-2023-11-22t145043.728.jpg\",\"datePublished\":\"2023-11-27T09:00:00+00:00\",\"dateModified\":\"2025-08-26T22:03:56+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.sortlist.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/98e72c619f9ac84c355fec6a71942226\"},\"description\":\"Build a responsive website from scratch with our guide. Learn essential techniques for a user-friendly online presence.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sortlist.co.uk\\\/blog\\\/responsive-website\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sortlist.co.uk\\\/blog\\\/responsive-website\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.sortlist.co.uk\\\/blog\\\/responsive-website\\\/#primaryimage\",\"url\":\"https:\\\/\\\/cdn.blog.production.sortlist.cloud\\\/wp-content\\\/uploads\\\/sites\\\/7\\\/2023\\\/11\\\/la-magnetica-2023-11-22t145043.728.jpg\",\"contentUrl\":\"https:\\\/\\\/cdn.blog.production.sortlist.cloud\\\/wp-content\\\/uploads\\\/sites\\\/7\\\/2023\\\/11\\\/la-magnetica-2023-11-22t145043.728.jpg\",\"width\":1093,\"height\":775,\"caption\":\"How to build a responsive website from scratch\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sortlist.co.uk\\\/blog\\\/responsive-website\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sortlist.co.uk\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to build a responsive website from scratch\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sortlist.co.uk\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.sortlist.co.uk\\\/blog\\\/\",\"name\":\"Sortlist Blog\",\"description\":\"Our Marketing Guides\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sortlist.co.uk\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sortlist.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/98e72c619f9ac84c355fec6a71942226\",\"name\":\"Alesia Pop\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/cdn.blog.production.sortlist.cloud\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/avatar_user_251_1676966002-96x96.png\",\"url\":\"https:\\\/\\\/cdn.blog.production.sortlist.cloud\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/avatar_user_251_1676966002-96x96.png\",\"contentUrl\":\"https:\\\/\\\/cdn.blog.production.sortlist.cloud\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/avatar_user_251_1676966002-96x96.png\",\"caption\":\"Alesia Pop\"},\"description\":\"Meet Alesia Pop! As an SEO Manager and a blogger, she knows how to make her words and website rank at the top. With a creative mind and a love for writing, she's always on the lookout for the next big story. In her free time, you can find her hiking, practising yoga, or whipping up a storm in the kitchen.\",\"url\":\"https:\\\/\\\/www.sortlist.co.uk\\\/blog\\\/author\\\/alesiapop\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to build a responsive website from scratch","description":"Build a responsive website from scratch with our guide. Learn essential techniques for a user-friendly online presence.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sortlist.co.uk\/blog\/responsive-website\/","og_locale":"en_GB","og_type":"article","og_title":"How to build a responsive website from scratch","og_description":"Build a responsive website from scratch with our guide. Learn essential techniques for a user-friendly online presence.","og_url":"https:\/\/www.sortlist.co.uk\/blog\/responsive-website\/","og_site_name":"Sortlist Blog","article_published_time":"2023-11-27T09:00:00+00:00","article_modified_time":"2025-08-26T22:03:56+00:00","og_image":[{"width":1093,"height":775,"url":"https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/la-magnetica-2023-11-22t145043.728.jpg","type":"image\/jpeg"}],"author":"Alesia Pop","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Alesia Pop","Estimated reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sortlist.co.uk\/blog\/responsive-website\/#article","isPartOf":{"@id":"https:\/\/www.sortlist.co.uk\/blog\/responsive-website\/"},"author":{"name":"Alesia Pop","@id":"https:\/\/www.sortlist.co.uk\/blog\/#\/schema\/person\/98e72c619f9ac84c355fec6a71942226"},"headline":"How to build a responsive website from scratch","datePublished":"2023-11-27T09:00:00+00:00","dateModified":"2025-08-26T22:03:56+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sortlist.co.uk\/blog\/responsive-website\/"},"wordCount":2500,"commentCount":0,"image":{"@id":"https:\/\/www.sortlist.co.uk\/blog\/responsive-website\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/la-magnetica-2023-11-22t145043.728.jpg","articleSection":["Development &amp; Product","Website Creation &amp; Design"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.sortlist.co.uk\/blog\/responsive-website\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.sortlist.co.uk\/blog\/responsive-website\/","url":"https:\/\/www.sortlist.co.uk\/blog\/responsive-website\/","name":"How to build a responsive website from scratch","isPartOf":{"@id":"https:\/\/www.sortlist.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sortlist.co.uk\/blog\/responsive-website\/#primaryimage"},"image":{"@id":"https:\/\/www.sortlist.co.uk\/blog\/responsive-website\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/la-magnetica-2023-11-22t145043.728.jpg","datePublished":"2023-11-27T09:00:00+00:00","dateModified":"2025-08-26T22:03:56+00:00","author":{"@id":"https:\/\/www.sortlist.co.uk\/blog\/#\/schema\/person\/98e72c619f9ac84c355fec6a71942226"},"description":"Build a responsive website from scratch with our guide. Learn essential techniques for a user-friendly online presence.","breadcrumb":{"@id":"https:\/\/www.sortlist.co.uk\/blog\/responsive-website\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sortlist.co.uk\/blog\/responsive-website\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.sortlist.co.uk\/blog\/responsive-website\/#primaryimage","url":"https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/la-magnetica-2023-11-22t145043.728.jpg","contentUrl":"https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/sites\/7\/2023\/11\/la-magnetica-2023-11-22t145043.728.jpg","width":1093,"height":775,"caption":"How to build a responsive website from scratch"},{"@type":"BreadcrumbList","@id":"https:\/\/www.sortlist.co.uk\/blog\/responsive-website\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sortlist.co.uk\/blog\/"},{"@type":"ListItem","position":2,"name":"How to build a responsive website from scratch"}]},{"@type":"WebSite","@id":"https:\/\/www.sortlist.co.uk\/blog\/#website","url":"https:\/\/www.sortlist.co.uk\/blog\/","name":"Sortlist Blog","description":"Our Marketing Guides","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sortlist.co.uk\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.sortlist.co.uk\/blog\/#\/schema\/person\/98e72c619f9ac84c355fec6a71942226","name":"Alesia Pop","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/2023\/02\/avatar_user_251_1676966002-96x96.png","url":"https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/2023\/02\/avatar_user_251_1676966002-96x96.png","contentUrl":"https:\/\/cdn.blog.production.sortlist.cloud\/wp-content\/uploads\/2023\/02\/avatar_user_251_1676966002-96x96.png","caption":"Alesia Pop"},"description":"Meet Alesia Pop! As an SEO Manager and a blogger, she knows how to make her words and website rank at the top. With a creative mind and a love for writing, she's always on the lookout for the next big story. In her free time, you can find her hiking, practising yoga, or whipping up a storm in the kitchen.","url":"https:\/\/www.sortlist.co.uk\/blog\/author\/alesiapop\/"}]}},"_links":{"self":[{"href":"https:\/\/www.sortlist.co.uk\/blog\/wp-json\/wp\/v2\/posts\/11375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sortlist.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sortlist.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sortlist.co.uk\/blog\/wp-json\/wp\/v2\/users\/251"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sortlist.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=11375"}],"version-history":[{"count":13,"href":"https:\/\/www.sortlist.co.uk\/blog\/wp-json\/wp\/v2\/posts\/11375\/revisions"}],"predecessor-version":[{"id":13578,"href":"https:\/\/www.sortlist.co.uk\/blog\/wp-json\/wp\/v2\/posts\/11375\/revisions\/13578"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sortlist.co.uk\/blog\/wp-json\/wp\/v2\/media\/11398"}],"wp:attachment":[{"href":"https:\/\/www.sortlist.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=11375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sortlist.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=11375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}