{"id":19534,"date":"2014-03-13T18:01:29","date_gmt":"2014-03-13T10:01:29","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=19534"},"modified":"2024-12-14T15:58:08","modified_gmt":"2024-12-14T07:58:08","slug":"chrome-mobile-emulation","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/chrome-mobile-emulation\/","title":{"rendered":"Let&#8217;s Talk About Mobile Emulation in Google Chrome"},"content":{"rendered":"<p><a rel=\"noopener\" target=\"_blank\" href=\"https:\/\/developer.chrome.com\/docs\/chromedriver\/mobile-emulation\">Mobile emulation<\/a> is a powerful feature built right into Google Chrome. If you\u2019re a web developer, QA tester, or digital marketer, it\u2019s something you probably use\u2014or should use\u2014on a regular basis.<\/p>\n<p>With mobile-first design being the standard today, ensuring that websites perform well on all screen sizes is non-negotiable. Google Chrome\u2019s mobile emulation tools make this process faster and easier by simulating a variety of devices directly in your browser.<\/p>\n<p>In this post, we\u2019ll discuss what mobile emulation is, how it works in Chrome, and how you can make the most of it. Let\u2019s get started.<\/p>\n<h2>What is Mobile Emulation?<\/h2>\n<p>Mobile emulation is a feature in Google Chrome that lets you simulate mobile devices within the browser. It mimics the viewport dimensions, user agent strings, and other device-specific behaviors, giving you a preview of how your website will look and function on different smartphones and tablets.<\/p>\n<p>Unlike testing on a real device, mobile emulation does not replicate hardware-specific behaviors like touch sensitivity, processor speed, or battery performance. Instead, it provides a fast and convenient way to debug layout and responsive issues during development.<\/p>\n<h3>Why Use Mobile Emulation?<\/h3>\n<ul>\n<li>Quickly test how your website adapts to different screen sizes and resolutions.<\/li>\n<li>Verify your responsive design without switching between multiple devices.<\/li>\n<li>Simulate different network conditions to evaluate load times and performance.<\/li>\n<\/ul>\n<p>While mobile emulation is not a complete replacement for real-device testing, it\u2019s an essential tool for catching and fixing issues early in the development process.<\/p>\n<h2>Benefits of Mobile Emulation in Google Chrome<\/h2>\n<p>Google Chrome\u2019s mobile emulation tools offer several advantages, making them a go-to resource for web developers and testers. Here\u2019s why they stand out:<\/p>\n<h3>1. Accessibility and Ease of Use<\/h3>\n<ul>\n<li>Mobile emulation is built directly into Chrome, meaning no additional software or plugins are required.<\/li>\n<li>You can access it with just a few clicks using <a rel=\"noopener\" target=\"_blank\" href=\"https:\/\/developer.chrome.com\/docs\/devtools\">Chrome Developer Tools<\/a> (DevTools). Check out our post on <a href=\"https:\/\/www.hongkiat.com\/blog\/chrome-devtool-features\/\">Useful Chrome DevTools Features for Developers<\/a>.<\/li>\n<li>It integrates seamlessly into your existing development workflow.<\/li>\n<\/ul>\n<h3>2. Test Multiple Devices Without Owning Them<\/h3>\n<ul>\n<li>Simulate a variety of devices, including popular models like iPhones, Samsung Galaxy phones, and tablets.<\/li>\n<li>Preview your website on screen sizes you don\u2019t have physical access to.<\/li>\n<\/ul>\n<h3>3. Debugging Tools Built In<\/h3>\n<ul>\n<li>Inspect elements, edit styles, and monitor network activity in real time.<\/li>\n<li>Use the console for logging JavaScript errors and testing custom code snippets.<\/li>\n<\/ul>\n<h3>4. Simulate Network Conditions<\/h3>\n<ul>\n<li>Test your site under 3G, 4G, or slower network conditions to ensure optimal performance.<\/li>\n<li>See how your website behaves with limited bandwidth or high latency.<\/li>\n<\/ul>\n<h3>5. Save Time and Resources<\/h3>\n<ul>\n<li>Avoid switching between devices during initial testing phases.<\/li>\n<li>Quickly iterate on designs and fixes with instant feedback from the emulation tool.<\/li>\n<\/ul>\n<p>While mobile emulation has its limitations (which we\u2019ll cover later), it\u2019s a valuable addition to your web development toolkit for its efficiency and flexibility.<\/p>\n<h2>How to Use Mobile Emulation in Chrome Developer Tools<\/h2>\n<p>Google Chrome makes mobile emulation simple and intuitive. Here\u2019s a step-by-step guide to get you started.<\/p>\n<h3>1. Open Chrome Developer Tools<\/h3>\n<p>Start by opening the Chrome Developer Tools. You can do this in one of the following ways:<\/p>\n<ol>\n<li>Right-click anywhere on the page and select <strong>Inspect<\/strong>.<\/li>\n<li>Use the keyboard shortcut <span class=\"key\">Ctrl<\/span> + <span class=\"key\">Shift<\/span> + <span class=\"key\">I<\/span> (Windows\/Linux) or <span class=\"key\">Cmd<\/span> + <span class=\"key\">Option<\/span> + <span class=\"key\">I<\/span> (Mac).<\/li>\n<\/ol>\n<h3>2. Activate Device Toolbar<\/h3>\n<p>Once Developer Tools is open, activate the device toolbar by clicking the <strong>Toggle Device Toolbar<\/strong> button. It\u2019s the small icon that looks like a phone and tablet in the top-left corner of the DevTools pane.<\/p>\n<h3>3. Select a Device<\/h3>\n<p>A dropdown menu will appear at the top of the viewport. Here, you can choose from a list of pre-configured devices such as:<\/p>\n<ul>\n<li>iPhone SE, iPhone 12 Pro<\/li>\n<li>Samsung Galaxy S20<\/li>\n<li>iPad Pro<\/li>\n<\/ul>\n<p>You can also add custom device settings by clicking <strong>Edit<\/strong> or <strong>Add Device<\/strong>.<\/p>\n<h3>4. Simulate Touch Gestures<\/h3>\n<p>Chrome allows you to simulate touch events for accurate testing. You can:<\/p>\n<ul>\n<li>Click and drag to mimic swipes.<\/li>\n<li>Hold down the <span class=\"key\">Shift<\/span> key to simulate multi-touch gestures like pinch-to-zoom.<\/li>\n<\/ul>\n<h3>5. Adjust Network Conditions<\/h3>\n<p>Under the <strong>Network Throttling<\/strong> menu, simulate different connection types, such as 3G or offline mode. This is especially helpful for testing performance and load times.<\/p>\n<h3>6. Debug and Monitor<\/h3>\n<p>Use other tools in the DevTools suite alongside emulation:<\/p>\n<ul>\n<li>Inspect and edit HTML and CSS to test visual changes.<\/li>\n<li>Monitor network activity for bottlenecks.<\/li>\n<li>Test JavaScript functionality via the console.<\/li>\n<\/ul>\n<pre>\r\n\/* Example CSS to test a responsive layout *\/\r\n.container {\r\n    display: flex;\r\n    flex-wrap: wrap;\r\n    justify-content: center;\r\n}\r\n<\/pre>\n<h3>7. Exit Mobile Emulation<\/h3>\n<p>To exit mobile emulation, simply click the <strong>Toggle Device Toolbar<\/strong> icon again or close the DevTools panel.<\/p>\n<p>With these tools, Chrome provides a robust platform for testing and debugging mobile web experiences directly in your browser.<\/p>\n<h2>Limitations of Mobile Emulation<\/h2>\n<p>While mobile emulation in Google Chrome is a great and convenient tool, it\u2019s not without its limitations. Understanding these constraints will help you use it more effectively in your workflow.<\/p>\n<h3>1. Lack of Hardware Accuracy<\/h3>\n<ul>\n<li>Emulation cannot replicate the exact hardware characteristics of a device, such as processor speed, memory, or battery performance.<\/li>\n<li>Touch sensitivity and pressure variations are not supported.<\/li>\n<\/ul>\n<h3>2. No Testing for Real-World Scenarios<\/h3>\n<ul>\n<li>Environmental factors, like varying light conditions or physical device handling, are not emulated.<\/li>\n<li>Issues like accidental touches or real-world multitasking cannot be simulated.<\/li>\n<\/ul>\n<h3>3. Limited for Advanced Features<\/h3>\n<ul>\n<li>Features like biometric authentication (e.g., Face ID, fingerprint readers) are not testable.<\/li>\n<li>Testing device-specific APIs, such as accelerometer or gyroscope, requires a physical device.<\/li>\n<\/ul>\n<p>While emulation is excellent for layout and functionality testing, real-device testing remains essential for ensuring a polished and user-friendly experience.<\/p>\n<h2>Best Practices for Effective Mobile Emulation<\/h2>\n<p>To make the most of mobile emulation in Google Chrome, follow these best practices. They\u2019ll help you identify issues early and integrate emulation smoothly into your workflow.<\/p>\n<h3>1. Use a Combination of Devices<\/h3>\n<ul>\n<li>Test your website on multiple simulated devices to ensure consistency across various screen sizes and resolutions.<\/li>\n<li>Don\u2019t limit testing to popular devices; include older models or uncommon screen sizes when possible.<\/li>\n<\/ul>\n<h3>2. Pair Emulation with Real-Device Testing<\/h3>\n<ul>\n<li>Use emulation for initial testing to save time and resources.<\/li>\n<li>Validate critical features and performance on physical devices to catch issues emulation might miss.<\/li>\n<\/ul>\n<h3>3. Test with Different Network Conditions<\/h3>\n<ul>\n<li>Simulate slow connections (e.g., 3G) to check your site\u2019s performance and loading experience for users with limited bandwidth.<\/li>\n<li>Test offline functionality if your site has <a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/progressive-web-apps-explained\/\" rel=\"noopener\">Progressive Web App<\/a> (PWA) capabilities.<\/li>\n<\/ul>\n<h3>4. Regularly Check for Chrome Updates<\/h3>\n<ul>\n<li>Chrome frequently updates its Developer Tools with new features and improvements.<\/li>\n<li>Stay updated to take advantage of the latest capabilities for mobile emulation.<\/li>\n<\/ul>\n<h3>5. Incorporate Emulation into Your Workflow<\/h3>\n<ul>\n<li>Use emulation during design and development stages, not just at the end.<\/li>\n<li>Collaborate with your team to review emulated layouts and behavior early in the process.<\/li>\n<\/ul>\n<p>By combining emulation with best practices and real-world testing, you can build mobile-friendly websites that perform well across a variety of devices and environments.<\/p>","protected":false},"excerpt":{"rendered":"<p>Mobile emulation is a powerful feature built right into Google Chrome. If you\u2019re a web developer, QA tester, or digital marketer, it\u2019s something you probably use\u2014or should use\u2014on a regular basis. With mobile-first design being the standard today, ensuring that websites perform well on all screen sizes is non-negotiable. Google Chrome\u2019s mobile emulation tools make&hellip;<\/p>\n","protected":false},"author":113,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[352],"tags":[1258,2856],"topic":[4520,4521],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Let&#039;s Talk About Mobile Emulation in Google Chrome - Hongkiat<\/title>\n<meta name=\"description\" content=\"Mobile emulation is a powerful feature built right into Google Chrome. If you&#039;re a web developer, QA tester, or digital marketer, it&#039;s something you\" \/>\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.hongkiat.com\/blog\/chrome-mobile-emulation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Let&#039;s Talk About Mobile Emulation in Google Chrome\" \/>\n<meta property=\"og:description\" content=\"Mobile emulation is a powerful feature built right into Google Chrome. If you&#039;re a web developer, QA tester, or digital marketer, it&#039;s something you\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/chrome-mobile-emulation\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2014-03-13T10:01:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-14T07:58:08+00:00\" \/>\n<meta name=\"author\" content=\"Thoriq Firdaus\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@tfirdaus\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Thoriq Firdaus\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/chrome-mobile-emulation\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/chrome-mobile-emulation\\\/\"},\"author\":{\"name\":\"Thoriq Firdaus\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\"},\"headline\":\"Let&#8217;s Talk About Mobile Emulation in Google Chrome\",\"datePublished\":\"2014-03-13T10:01:29+00:00\",\"dateModified\":\"2024-12-14T07:58:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/chrome-mobile-emulation\\\/\"},\"wordCount\":1129,\"commentCount\":5,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"keywords\":[\"Chrome\",\"Dev Tools\"],\"articleSection\":[\"Web Design\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/chrome-mobile-emulation\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/chrome-mobile-emulation\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/chrome-mobile-emulation\\\/\",\"name\":\"Let's Talk About Mobile Emulation in Google Chrome - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"datePublished\":\"2014-03-13T10:01:29+00:00\",\"dateModified\":\"2024-12-14T07:58:08+00:00\",\"description\":\"Mobile emulation is a powerful feature built right into Google Chrome. If you're a web developer, QA tester, or digital marketer, it's something you\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/chrome-mobile-emulation\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/chrome-mobile-emulation\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/chrome-mobile-emulation\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Let&#8217;s Talk About Mobile Emulation in Google Chrome\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\",\"name\":\"Thoriq Firdaus\",\"description\":\"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.\",\"sameAs\":[\"https:\\\/\\\/thoriq.com\",\"https:\\\/\\\/x.com\\\/tfirdaus\"],\"jobTitle\":\"Web Developer\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/thoriq\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Let's Talk About Mobile Emulation in Google Chrome - Hongkiat","description":"Mobile emulation is a powerful feature built right into Google Chrome. If you're a web developer, QA tester, or digital marketer, it's something you","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.hongkiat.com\/blog\/chrome-mobile-emulation\/","og_locale":"en_US","og_type":"article","og_title":"Let's Talk About Mobile Emulation in Google Chrome","og_description":"Mobile emulation is a powerful feature built right into Google Chrome. If you're a web developer, QA tester, or digital marketer, it's something you","og_url":"https:\/\/www.hongkiat.com\/blog\/chrome-mobile-emulation\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2014-03-13T10:01:29+00:00","article_modified_time":"2024-12-14T07:58:08+00:00","author":"Thoriq Firdaus","twitter_card":"summary_large_image","twitter_creator":"@tfirdaus","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Thoriq Firdaus","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/chrome-mobile-emulation\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/chrome-mobile-emulation\/"},"author":{"name":"Thoriq Firdaus","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807"},"headline":"Let&#8217;s Talk About Mobile Emulation in Google Chrome","datePublished":"2014-03-13T10:01:29+00:00","dateModified":"2024-12-14T07:58:08+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/chrome-mobile-emulation\/"},"wordCount":1129,"commentCount":5,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"keywords":["Chrome","Dev Tools"],"articleSection":["Web Design"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/chrome-mobile-emulation\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/chrome-mobile-emulation\/","url":"https:\/\/www.hongkiat.com\/blog\/chrome-mobile-emulation\/","name":"Let's Talk About Mobile Emulation in Google Chrome - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"datePublished":"2014-03-13T10:01:29+00:00","dateModified":"2024-12-14T07:58:08+00:00","description":"Mobile emulation is a powerful feature built right into Google Chrome. If you're a web developer, QA tester, or digital marketer, it's something you","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/chrome-mobile-emulation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/chrome-mobile-emulation\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/chrome-mobile-emulation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Let&#8217;s Talk About Mobile Emulation in Google Chrome"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807","name":"Thoriq Firdaus","description":"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.","sameAs":["https:\/\/thoriq.com","https:\/\/x.com\/tfirdaus"],"jobTitle":"Web Developer","url":"https:\/\/www.hongkiat.com\/blog\/author\/thoriq\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-554","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/19534","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/113"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=19534"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/19534\/revisions"}],"predecessor-version":[{"id":73160,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/19534\/revisions\/73160"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=19534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=19534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=19534"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=19534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}