{"id":19930,"date":"2019-06-03T21:19:59","date_gmt":"2019-06-03T13:19:59","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=19930"},"modified":"2023-04-06T19:03:53","modified_gmt":"2023-04-06T11:03:53","slug":"synchronously-test-website-in-multiple-devices","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/synchronously-test-website-in-multiple-devices\/","title":{"rendered":"How to Synchronously Test Your Website on Multiple Browsers &#038; Devices"},"content":{"rendered":"<p>When building a responsive website we\u2019ll need to test it in multiple screen-sizes to make sure that the site layout is rendered properly on those varying screen-sizes. We can use screen-size and <a href=\"https:\/\/developer.chrome.com\/docs\/devtools\/\/device-mode\/\" target=\"_blank\" rel=\"noopener nofollow\">device emulator in Chrome<\/a> which is pretty handy. However, nothing beats testing the website on a real device since it provides an environment that\u2019s as close as to our users.<\/p>\n<p>Testing on multiple devices also pose a problem though. Say we have three devices to test the site on, we may end up having to constantly refresh each browser in every of these devices everytime we\u2019ve just made a change which, as you can imagine, is cumbersome.<\/p>\n<p>The idea of <strong>synchronized testing<\/strong> has emerged to address this situation and make the workflow more streamlined. There is a Grunt plugin called <a href=\"https:\/\/github.com\/Browsersync\/browser-sync\" target=\"_blank\" rel=\"noopener\">BrowserSync<\/a> to perform this, and we are going to show you how to deploy it in your project, in this post.<\/p>\n<p class=\"note\"><strong>Recommended Reading:<\/strong> <a href=\"https:\/\/www.hongkiat.com\/blog\/chrome-viewport\/\">Viewport Emulation With Chrome\u2019s Device Metrics<\/a><\/p>\n<p>BrowserSync is <strong>open-source<\/strong> and actively developed. It is <strong>cross-platform<\/strong>. You can use it in Windows, OS X and <strong>Linux<\/strong>. Ghostlab, on the other hand, is only available in OS X and Windows. BrowserSync is <strong>free<\/strong> which helps if you have little to no budget to work with.<\/p>\n<p>Without further ado, let\u2019s see how BrowserSync works.<\/p>\n<h2>Installation<\/h2>\n<p>To start off, we are going to use Grunt. We will need to make sure that the grunt-cli is installed as well the plugin, <a href=\"https:\/\/www.npmjs.com\/package\/grunt-browser-sync\" target=\"_blank\" rel=\"noopener nofollow\">Grunt BrowserSync<\/a>. This plugin <em>sync<\/em>s a number of interactions that occur on the website including page scrolling, populating form fields, and clicking on links.<\/p>\n<p>All these actions will be reflected in the other browsers and devices as they are happening. Type the following command to install BrowserSync in your working directory:<\/p>\n<pre>\r\nnpm install grunt --save-dev\r\nnpm install grunt-browser-sync --save-dev\r\n<\/pre>\n<h3>Configuration<\/h3>\n<p>Once installed, load BrowserSync within the <strong>Gruntfile.js<\/strong>, this way.<\/p>\n<pre>\r\nmodule.exports = function (grunt) {\r\n    grunt.initConfig({\r\n        browserSync: {\r\n            bsFiles: {\r\n                src : [ 'index.html', '.\/css\/*.css' ]\r\n            },\r\n            ghostMode: {\r\n                clicks: true,\r\n                forms: true,\r\n                scroll: true\r\n            },\r\n            options: {\r\n                server: {\r\n                    baseDir: \".\/\"\r\n                }\r\n            }\r\n        }\r\n    });\r\n\r\n    \/\/ load npm tasks\r\n    grunt.loadNpmTasks( 'grunt-browser-sync' );\r\n\r\n    \/\/ define default task\r\n    grunt.registerTask( 'default', ['browserSync'] );\r\n}\r\n<\/pre>\n<p>This configuration will monitor the <code>style.css<\/code> as well as the <code>index.html<\/code>, and automatically refresh the browser when it detects a change on these files. We also <strong>enable <code>ghostMode<\/code> to sync interactions on the website<\/strong> such as scrolling, and clicking.<\/p>\n<p>It\u2019s all set. Now, we run the <code>grunt<\/code> to initiate the <code>browserSync<\/code> task that we\u2019ve already set in the config.<\/p>\n<pre>\r\ngrunt\r\n<\/pre>\n<p>Unlike the older version, the new BrowserSync will now setup everything for use including the static server and provides the URLs where it lives to reload our site.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/synchronously-test-website-in-multiple-devices\/grunt-browsersync-preview.jpg\" alt=\"\" width=\"800\" height=\"501\"><\/figure>\n<p>And you can see from the following animated GIF, all <strong>updates, changes, and interactions<\/strong> are synced in real time in the browser as change the <code>index.html<\/code> and <code>style.css<\/code>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/synchronously-test-website-in-multiple-devices\/browsersync-in-action.gif\" height=\"394\" width=\"700\" alt=\"browser sync in action\"><\/figure>\n<h3>Further Resources<\/h3>\n<p>Here are more resources to dig further into Grunt and \u201cSynchronized Testing\u201d.<\/p>\n<ul>\n<li><a href=\"https:\/\/code.tutsplus.com\/tutorials\/meet-grunt-the-build-tool-for-javascript--net-24856\" target=\"_blank\" rel=\"noopener nofollow\">Meet Grunt: The Build Tool for JavaScript<\/a> \u2014 Code+<\/li>\n<li><a href=\"https:\/\/web.dev\/synchronized-cross-device-testing\/\" target=\"_blank\" rel=\"noopener\">Synchronized Cross-device Mobile Testing<\/a> \u2014 HTML5 Rocks<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>When building a responsive website we\u2019ll need to test it in multiple screen-sizes to make sure that the site layout is rendered properly on those varying screen-sizes. We can use screen-size and device emulator in Chrome which is pretty handy. However, nothing beats testing the website on a real device since it provides an environment&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":[],"topic":[4520],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Synchronously Test Your Website on Multiple Browsers &amp; Devices - Hongkiat<\/title>\n<meta name=\"description\" content=\"When building a responsive website we&#039;ll need to test it in multiple screen-sizes to make sure that the site layout is rendered properly on those varying\" \/>\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\/synchronously-test-website-in-multiple-devices\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Synchronously Test Your Website on Multiple Browsers &amp; Devices\" \/>\n<meta property=\"og:description\" content=\"When building a responsive website we&#039;ll need to test it in multiple screen-sizes to make sure that the site layout is rendered properly on those varying\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/synchronously-test-website-in-multiple-devices\/\" \/>\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=\"2019-06-03T13:19:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-06T11:03:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/synchronously-test-website-in-multiple-devices\/grunt-browsersync-preview.jpg\" \/>\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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/synchronously-test-website-in-multiple-devices\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/synchronously-test-website-in-multiple-devices\\\/\"},\"author\":{\"name\":\"Thoriq Firdaus\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\"},\"headline\":\"How to Synchronously Test Your Website on Multiple Browsers &#038; Devices\",\"datePublished\":\"2019-06-03T13:19:59+00:00\",\"dateModified\":\"2023-04-06T11:03:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/synchronously-test-website-in-multiple-devices\\\/\"},\"wordCount\":458,\"commentCount\":12,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/synchronously-test-website-in-multiple-devices\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/synchronously-test-website-in-multiple-devices\\\/grunt-browsersync-preview.jpg\",\"articleSection\":[\"Web Design\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/synchronously-test-website-in-multiple-devices\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/synchronously-test-website-in-multiple-devices\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/synchronously-test-website-in-multiple-devices\\\/\",\"name\":\"How to Synchronously Test Your Website on Multiple Browsers & Devices - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/synchronously-test-website-in-multiple-devices\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/synchronously-test-website-in-multiple-devices\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/synchronously-test-website-in-multiple-devices\\\/grunt-browsersync-preview.jpg\",\"datePublished\":\"2019-06-03T13:19:59+00:00\",\"dateModified\":\"2023-04-06T11:03:53+00:00\",\"description\":\"When building a responsive website we'll need to test it in multiple screen-sizes to make sure that the site layout is rendered properly on those varying\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/synchronously-test-website-in-multiple-devices\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/synchronously-test-website-in-multiple-devices\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/synchronously-test-website-in-multiple-devices\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/synchronously-test-website-in-multiple-devices\\\/grunt-browsersync-preview.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/synchronously-test-website-in-multiple-devices\\\/grunt-browsersync-preview.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/synchronously-test-website-in-multiple-devices\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Synchronously Test Your Website on Multiple Browsers &#038; Devices\"}]},{\"@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":"How to Synchronously Test Your Website on Multiple Browsers & Devices - Hongkiat","description":"When building a responsive website we'll need to test it in multiple screen-sizes to make sure that the site layout is rendered properly on those varying","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\/synchronously-test-website-in-multiple-devices\/","og_locale":"en_US","og_type":"article","og_title":"How to Synchronously Test Your Website on Multiple Browsers & Devices","og_description":"When building a responsive website we'll need to test it in multiple screen-sizes to make sure that the site layout is rendered properly on those varying","og_url":"https:\/\/www.hongkiat.com\/blog\/synchronously-test-website-in-multiple-devices\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2019-06-03T13:19:59+00:00","article_modified_time":"2023-04-06T11:03:53+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/synchronously-test-website-in-multiple-devices\/grunt-browsersync-preview.jpg","type":"","width":"","height":""}],"author":"Thoriq Firdaus","twitter_card":"summary_large_image","twitter_creator":"@tfirdaus","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Thoriq Firdaus","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/synchronously-test-website-in-multiple-devices\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/synchronously-test-website-in-multiple-devices\/"},"author":{"name":"Thoriq Firdaus","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807"},"headline":"How to Synchronously Test Your Website on Multiple Browsers &#038; Devices","datePublished":"2019-06-03T13:19:59+00:00","dateModified":"2023-04-06T11:03:53+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/synchronously-test-website-in-multiple-devices\/"},"wordCount":458,"commentCount":12,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/synchronously-test-website-in-multiple-devices\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/synchronously-test-website-in-multiple-devices\/grunt-browsersync-preview.jpg","articleSection":["Web Design"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/synchronously-test-website-in-multiple-devices\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/synchronously-test-website-in-multiple-devices\/","url":"https:\/\/www.hongkiat.com\/blog\/synchronously-test-website-in-multiple-devices\/","name":"How to Synchronously Test Your Website on Multiple Browsers & Devices - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/synchronously-test-website-in-multiple-devices\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/synchronously-test-website-in-multiple-devices\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/synchronously-test-website-in-multiple-devices\/grunt-browsersync-preview.jpg","datePublished":"2019-06-03T13:19:59+00:00","dateModified":"2023-04-06T11:03:53+00:00","description":"When building a responsive website we'll need to test it in multiple screen-sizes to make sure that the site layout is rendered properly on those varying","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/synchronously-test-website-in-multiple-devices\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/synchronously-test-website-in-multiple-devices\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/synchronously-test-website-in-multiple-devices\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/synchronously-test-website-in-multiple-devices\/grunt-browsersync-preview.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/synchronously-test-website-in-multiple-devices\/grunt-browsersync-preview.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/synchronously-test-website-in-multiple-devices\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Synchronously Test Your Website on Multiple Browsers &#038; Devices"}]},{"@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-5bs","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/19930","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=19930"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/19930\/revisions"}],"predecessor-version":[{"id":65639,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/19930\/revisions\/65639"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=19930"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=19930"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=19930"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=19930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}