{"id":21562,"date":"2014-07-02T15:01:50","date_gmt":"2014-07-02T07:01:50","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=21562"},"modified":"2025-04-04T02:00:01","modified_gmt":"2025-04-03T18:00:01","slug":"snappysnippet-copy-codes","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/snappysnippet-copy-codes\/","title":{"rendered":"Easily Extract Code from Websites Using SnappySnippet"},"content":{"rendered":"<p>As web developers, we often stumble upon elements on websites that catch our eye, leading us to wonder, \u201cHow was this made?\u201d This curiosity can drive us to want to replicate or study the underlying code. Tools like Chrome DevTools and Firefox\u2019s Firebug offer features that simplify the process of copying HTML and CSS from websites.<\/p>\n<p>However, these tools have a limitation: they allow copying of either HTML or CSS, but not both in relation to the selected HTML element. Consider you select an HTML element with several child elements, like this:<\/p>\n<pre>\r\n &lt;div class=\"container\"&gt;\r\n &lt;button&gt;Submit&lt;\/button&gt;\r\n &lt;p&gt;&lt;span&gt;By submitting you agree to our terms and conditions&lt;\/span&gt;&lt;\/p&gt;\r\n &lt;\/div&gt;\r\n<\/pre>\n<p>This element, along with its children, has unique style rules defined in the stylesheet. Some HTML elements might inherit various style rules, making it <strong>a challenge to copy both the HTML and CSS simultaneously<\/strong>. This is the perfect scenario to use a tool like SnappySnippet, which excels in these situations.<\/p>\n<div class=\"ref-block ref-block--post\" id=\"ref-post-1\">\n\t\t\t\t\t<a href=\"https:\/\/www.hongkiat.com\/blog\/google-chrome-extensions-designers\/\" class=\"ref-block__link\" title=\"Read More: 30+ Useful Chrome Extensions for Web Designers\" rel=\"bookmark\"><span class=\"screen-reader-text\">30+ Useful Chrome Extensions for Web Designers<\/span><\/a>\n<div class=\"ref-block__thumbnail img-thumb img-thumb--jumbo\" data-img='{ \"src\" : \"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/google-chrome-extensions-designers.jpg\" }'>\n\t\t\t\t\t\t\t<noscript>\n<style>.no-js #ref-block-post-9541 .ref-block__thumbnail { background-image: url(\"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/google-chrome-extensions-designers.jpg\"); }<\/style>\n<\/noscript>\n\t\t\t\t\t\t<\/div>\n<div class=\"ref-block__summary\">\n<h4 class=\"ref-title\">30+ Useful Chrome Extensions for Web Designers<\/h4>\n<p class=\"ref-description\">\n\t\t\t\t\t\tA list of most handy Chrome extensions specifically for web designers and developers.\t\t\t\t\t\t<span>Read more<\/span><\/p>\n<\/div>\n<\/div>\n<h2>Getting Started<\/h2>\n<p><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/chrome.google.com\/webstore\/detail\/snappysnippet\/\">SnappySnippet<\/a> is a Chrome extension available <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/chrome.google.com\/webstore\/\">here<\/a>. Once installed, it introduces a new tab named SnappySnippet within Google Chrome DevTools, where you\u2019ll utilize its features.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/snappysnippet-copy-codes\/snappy-tab.jpg\" alt=\"SnappySnippet Tab in Chrome DevTools\" height=\"200\" width=\"500\"><\/figure>\n<p>To demonstrate its utility, we\u2019ve prepared a webpage featuring a simple yet attractive <a href=\"https:\/\/www.hongkiat.com\/blog\/html5-loginpage\/\">web login form<\/a>. This form and its elements come with inherited CSS codes, which traditionally would be cumbersome to copy using browser DevTools alone.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/snappysnippet-copy-codes\/login-form.jpg\" alt=\"Example Web Login Form\" height=\"176\" width=\"500\"><\/figure>\n<p>SnappySnippet simplifies this process significantly.<\/p>\n<p>Start by selecting the element you wish to copy. Then, navigate to the SnappySnippet tab and click the <strong>Create a snippet from inspected element<\/strong> button.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/snappysnippet-copy-codes\/select-copy-element.jpg\" alt=\"Selecting and Copying an Element with SnappySnippet\" height=\"320\" width=\"500\"><\/figure>\n<p>The selected element, along with its child elements, is duplicated into the <strong>HTML<\/strong> pane on the left side. Simultaneously, all related style rules are copied into the CSS pane, as shown below.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/snappysnippet-copy-codes\/copied-codes.jpg\" alt=\"Copied Codes Displayed in SnappySnippet\" height=\"168\" width=\"500\"><\/figure>\n<h2>The Settings<\/h2>\n<p>SnappySnippet offers customizable output settings. Below the panes for HTML and CSS, you\u2019ll find the <strong>Settings<\/strong> panel. Here, you can make adjustments like removing CSS properties with the <code>-webkit-<\/code> prefix from the output, adding prefixes to the IDs for HTML elements, and more.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/snappysnippet-copy-codes\/the-settings.jpg\" alt=\"SnappySnippet Settings Panel\" height=\"200\" width=\"500\"><\/figure>\n<h2>Code Sharing<\/h2>\n<p>Web developers are likely familiar with code-sharing platforms like <strong>Codepen<\/strong>, which facilitate the sharing of functional code snippets. Think of it as a social network where, instead of posting updates and pictures, codes are shared. SnappySnippet enhances this experience by allowing you to directly send the codes you\u2019ve copied to platforms such as <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/codepen.io\/\">Codepen<\/a>, <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/jsfiddle.net\/\">JSFiddle<\/a>, and JSBin.<\/p>\n<p>Before sending the code, ensure you are logged into the respective site to guarantee that the codes are saved to your account. Then, simply click one of the three share buttons.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/snappysnippet-copy-codes\/three-share-buttons.jpg\" alt=\"Share buttons for Codepen, JSFiddle, and JSBin\" height=\"100\" width=\"500\"><\/figure>\n<p>The shared codes will replicate exactly what you observed on the original website.<\/p>\n<figure><img decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/snappysnippet-copy-codes\/jsfiddle-demo.jpg\" alt=\"Demo of code in JSFiddle\"><\/figure>\n<h2>Final Thoughts<\/h2>\n<p>SnappySnippet proves invaluable for duplicating code, yet it\u2019s crucial to <strong>steer clear of using it for plagiarizing other developers\u2019 work<\/strong>. The intent behind copying should always be educational, aiming to glean new insights and techniques. Remember, outright imitation, whether of copyrighted material or not, is frowned upon. Use this tool wisely and ethically.<\/p>","protected":false},"excerpt":{"rendered":"<p>As web developers, we often stumble upon elements on websites that catch our eye, leading us to wonder, \u201cHow was this made?\u201d This curiosity can drive us to want to replicate or study the underlying code. Tools like Chrome DevTools and Firefox\u2019s Firebug offer features that simplify the process of copying HTML and CSS from&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.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Easily Extract Code from Websites Using SnappySnippet - Hongkiat<\/title>\n<meta name=\"description\" content=\"As web developers, we often stumble upon elements on websites that catch our eye, leading us to wonder, &quot;How was this made?&quot; This curiosity can drive us\" \/>\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\/snappysnippet-copy-codes\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Easily Extract Code from Websites Using SnappySnippet\" \/>\n<meta property=\"og:description\" content=\"As web developers, we often stumble upon elements on websites that catch our eye, leading us to wonder, &quot;How was this made?&quot; This curiosity can drive us\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/snappysnippet-copy-codes\/\" \/>\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-07-02T07:01:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-03T18:00:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/snappysnippet-copy-codes\/snappy-tab.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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/snappysnippet-copy-codes\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/snappysnippet-copy-codes\\\/\"},\"author\":{\"name\":\"Thoriq Firdaus\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\"},\"headline\":\"Easily Extract Code from Websites Using SnappySnippet\",\"datePublished\":\"2014-07-02T07:01:50+00:00\",\"dateModified\":\"2025-04-03T18:00:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/snappysnippet-copy-codes\\\/\"},\"wordCount\":482,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/snappysnippet-copy-codes\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/snappysnippet-copy-codes\\\/snappy-tab.jpg\",\"articleSection\":[\"Web Design\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/snappysnippet-copy-codes\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/snappysnippet-copy-codes\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/snappysnippet-copy-codes\\\/\",\"name\":\"Easily Extract Code from Websites Using SnappySnippet - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/snappysnippet-copy-codes\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/snappysnippet-copy-codes\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/snappysnippet-copy-codes\\\/snappy-tab.jpg\",\"datePublished\":\"2014-07-02T07:01:50+00:00\",\"dateModified\":\"2025-04-03T18:00:01+00:00\",\"description\":\"As web developers, we often stumble upon elements on websites that catch our eye, leading us to wonder, \\\"How was this made?\\\" This curiosity can drive us\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/snappysnippet-copy-codes\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/snappysnippet-copy-codes\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/snappysnippet-copy-codes\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/snappysnippet-copy-codes\\\/snappy-tab.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/snappysnippet-copy-codes\\\/snappy-tab.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/snappysnippet-copy-codes\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Easily Extract Code from Websites Using SnappySnippet\"}]},{\"@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":"Easily Extract Code from Websites Using SnappySnippet - Hongkiat","description":"As web developers, we often stumble upon elements on websites that catch our eye, leading us to wonder, \"How was this made?\" This curiosity can drive us","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\/snappysnippet-copy-codes\/","og_locale":"en_US","og_type":"article","og_title":"Easily Extract Code from Websites Using SnappySnippet","og_description":"As web developers, we often stumble upon elements on websites that catch our eye, leading us to wonder, \"How was this made?\" This curiosity can drive us","og_url":"https:\/\/www.hongkiat.com\/blog\/snappysnippet-copy-codes\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2014-07-02T07:01:50+00:00","article_modified_time":"2025-04-03T18:00:01+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/snappysnippet-copy-codes\/snappy-tab.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":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/snappysnippet-copy-codes\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/snappysnippet-copy-codes\/"},"author":{"name":"Thoriq Firdaus","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807"},"headline":"Easily Extract Code from Websites Using SnappySnippet","datePublished":"2014-07-02T07:01:50+00:00","dateModified":"2025-04-03T18:00:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/snappysnippet-copy-codes\/"},"wordCount":482,"commentCount":3,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/snappysnippet-copy-codes\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/snappysnippet-copy-codes\/snappy-tab.jpg","articleSection":["Web Design"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/snappysnippet-copy-codes\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/snappysnippet-copy-codes\/","url":"https:\/\/www.hongkiat.com\/blog\/snappysnippet-copy-codes\/","name":"Easily Extract Code from Websites Using SnappySnippet - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/snappysnippet-copy-codes\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/snappysnippet-copy-codes\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/snappysnippet-copy-codes\/snappy-tab.jpg","datePublished":"2014-07-02T07:01:50+00:00","dateModified":"2025-04-03T18:00:01+00:00","description":"As web developers, we often stumble upon elements on websites that catch our eye, leading us to wonder, \"How was this made?\" This curiosity can drive us","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/snappysnippet-copy-codes\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/snappysnippet-copy-codes\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/snappysnippet-copy-codes\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/snappysnippet-copy-codes\/snappy-tab.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/snappysnippet-copy-codes\/snappy-tab.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/snappysnippet-copy-codes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Easily Extract Code from Websites Using SnappySnippet"}]},{"@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-5BM","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/21562","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=21562"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/21562\/revisions"}],"predecessor-version":[{"id":73704,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/21562\/revisions\/73704"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=21562"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=21562"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=21562"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=21562"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}