{"id":29378,"date":"2020-03-04T18:33:17","date_gmt":"2020-03-04T10:33:17","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=29378"},"modified":"2021-09-03T16:22:22","modified_gmt":"2021-09-03T08:22:22","slug":"headroom-js","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/headroom-js\/","title":{"rendered":"Create an Auto-Hiding Sticky Header with Headroom.js"},"content":{"rendered":"<p><strong>Auto-hiding headers<\/strong> have been steadily popular in web design for quite a while. Many blogs and online magazines use the sticky header to <strong>keep users engaged<\/strong> and <strong>give them direct access to the navigation<\/strong>.<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/medium.com\/\" rel=\"noopener noreferrer nofollow\">Medium<\/a> has <strong>redefined this feature<\/strong> with a basic concept that <strong>hides the navigation<\/strong> while <strong>scrolling down<\/strong> but <strong>shows it<\/strong> while <strong>scrolling up<\/strong>. This concept has become a <strong>wildly popular trend<\/strong> and now you can easily <strong>replicate it<\/strong> using <strong><a target=\"_blank\" href=\"https:\/\/wicky.nillia.ms\/headroom.js\/\" rel=\"noopener noreferrer\">Headroom.js<\/a><\/strong>.<\/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\/sticky-elements-jquery-plugins\/\" class=\"ref-block__link\" title=\"Read More: 15 jQuery Plugins To Make Smart Sticky Elements\" rel=\"bookmark\"><span class=\"screen-reader-text\">15 jQuery Plugins To Make Smart Sticky Elements<\/span><\/a>\n<div class=\"ref-block__thumbnail img-thumb img-thumb--jumbo\" data-img='{ \"src\" : \"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/sticky-elements-jquery-plugins.jpg\" }'>\n\t\t\t\t\t\t\t<noscript>\n<style>.no-js #ref-block-post-23706 .ref-block__thumbnail { background-image: url(\"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/sticky-elements-jquery-plugins.jpg\"); }<\/style>\n<\/noscript>\n\t\t\t\t\t\t<\/div>\n<div class=\"ref-block__summary\">\n<h4 class=\"ref-title\">15 jQuery Plugins To Make Smart Sticky Elements<\/h4>\n<p class=\"ref-description\">\n\t\t\t\t\t\tIt is now common to see certain elements in a site fixed to a position when you scroll...\t\t\t\t\t\t<span>Read more<\/span><\/p>\n<\/div>\n<\/div>\n<p>Headroom.js is a <strong>free vanilla JavaScript library<\/strong> with no dependencies or excessive API features. You just add it to your HTML, target the page header, and let it run.<\/p>\n<figure><a target=\"_blank\" href=\"https:\/\/wicky.nillia.ms\/headroom.js\/\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/headroom-js\/01-headroom-js-plugin.jpg\" alt=\"headroom js plugin\" width=\"800\" height=\"415\"><\/a><\/figure>\n<p>Headroom simply <strong>adds and removes certain CSS classes that animate<\/strong> in order to <strong>show\/hide the header<\/strong> using JavaScript to detect the motion.<\/p>\n<p>You could make this functionality yourself but why bother? Headroom is tested and <strong>supports all major browsers<\/strong>. It even <strong>plays nice with jQuery or Zepto<\/strong> if you already have a JS library installed on your site.<\/p>\n<p>You\u2019ll find <strong>plenty of code samples<\/strong> in the <a target=\"_blank\" href=\"https:\/\/github.com\/WickyNilliams\/headroom.js\" rel=\"noopener noreferrer\">GitHub repo<\/a> but here\u2019s a <strong>simple example<\/strong> that targets the <code>#header<\/code> element:<\/p>\n<pre>\r\nvar myElement = document.querySelector(\"#header\");\r\n\r\n\/\/ create a Headroom object passing in the #header element\r\nvar headroom  = new Headroom(myElement);\r\n\r\n\/\/ initialize the library\r\nheadroom.init();\r\n<\/pre>\n<p>The <code>init()<\/code> function has <strong>plenty of options to customize<\/strong>. You can customize the different <strong>element classes<\/strong>, along with different <strong>event trigger callbacks<\/strong> where you can <strong>embed your own functions<\/strong>. For instance, if you want the element to fade after it\u2019s unpinned you would use the <code>onUnpin<\/code> callback.<\/p>\n<p>These options are all <strong>listed on the <a target=\"_blank\" href=\"https:\/\/wicky.nillia.ms\/headroom.js\/\" rel=\"noopener noreferrer\">main plugin page<\/a><\/strong>, so check it out and see what you think. If you want to see <strong>Headroom in action<\/strong> have a look at the <a target=\"_blank\" href=\"https:\/\/codepen.io\/WickyNilliams\/pen\/AFsKB\" rel=\"noopener noreferrer nofollow\">pen below<\/a> that contains a <strong>full clone of the main demo page<\/strong>.<\/p>\n<p><iframe height=\"547\" scrolling=\"no\" title=\"Headroom.js demo\" src=\"https:\/\/codepen.io\/\/WickyNilliams\/embed\/AFsKB\/?height=547&theme-id=0&default-tab=result&embed-version=2\" frameborder=\"no\" allowtransparency=\"true\" allowfullscreen=\"true\" style=\"width: 100%;\">See the Pen <a href=\"https:\/\/codepen.io\/WickyNilliams\/pen\/AFsKB\/\" rel=\"nofollow\">Headroom.js demo<\/a> by Nick Williams (<a href=\"https:\/\/codepen.io\/\/WickyNilliams\" rel=\"nofollow\">@WickyNilliams<\/a>) on <a href=\"https:\/\/codepen.io\/\" rel=\"nofollow\">CodePen<\/a>. <\/iframe><\/p>\n<div class=\"ref-block ref-block--post\" id=\"ref-post-2\">\n\t\t\t\t\t<a href=\"https:\/\/www.hongkiat.com\/blog\/css-only-on-scroll-reveal\/\" class=\"ref-block__link\" title=\"Read More: How to Create CSS-only Sticky Footer\" rel=\"bookmark\"><span class=\"screen-reader-text\">How to Create CSS-only Sticky Footer<\/span><\/a>\n<div class=\"ref-block__thumbnail img-thumb img-thumb--jumbo\" data-img='{ \"src\" : \"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/css-only-on-scroll-reveal.gif\" }'>\n\t\t\t\t\t\t\t<noscript>\n<style>.no-js #ref-block-post-28185 .ref-block__thumbnail { background-image: url(\"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/css-only-on-scroll-reveal.gif\"); }<\/style>\n<\/noscript>\n\t\t\t\t\t\t<\/div>\n<div class=\"ref-block__summary\">\n<h4 class=\"ref-title\">How to Create CSS-only Sticky Footer<\/h4>\n<p class=\"ref-description\">\n\t\t\t\t\t\tNormally, we need JavaScript to perform scrolling effects related to different user actions on web pages. The script...\t\t\t\t\t\t<span>Read more<\/span><\/p>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Auto-hiding headers have been steadily popular in web design for quite a while. Many blogs and online magazines use the sticky header to keep users engaged and give them direct access to the navigation. Medium has redefined this feature with a basic concept that hides the navigation while scrolling down but shows it while scrolling&hellip;<\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[3395],"tags":[3497],"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.8) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Create an Auto-Hiding Sticky Header with Headroom.js - Hongkiat<\/title>\n<meta name=\"description\" content=\"Auto-hiding headers have been steadily popular in web design for quite a while. Many blogs and online magazines use the sticky header to keep users\" \/>\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\/headroom-js\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create an Auto-Hiding Sticky Header with Headroom.js\" \/>\n<meta property=\"og:description\" content=\"Auto-hiding headers have been steadily popular in web design for quite a while. Many blogs and online magazines use the sticky header to keep users\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/headroom-js\/\" \/>\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=\"2020-03-04T10:33:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-03T08:22:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/headroom-js\/01-headroom-js-plugin.jpg\" \/>\n<meta name=\"author\" content=\"Jake Rocheleau\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jake Rocheleau\" \/>\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\\\/headroom-js\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/headroom-js\\\/\"},\"author\":{\"name\":\"Jake Rocheleau\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/966b2daea15283b4145e71aa98a82c2a\"},\"headline\":\"Create an Auto-Hiding Sticky Header with Headroom.js\",\"datePublished\":\"2020-03-04T10:33:17+00:00\",\"dateModified\":\"2021-09-03T08:22:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/headroom-js\\\/\"},\"wordCount\":304,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/headroom-js\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/headroom-js\\\/01-headroom-js-plugin.jpg\",\"keywords\":[\"Javascript Library\"],\"articleSection\":[\"UI\\\/UX\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/headroom-js\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/headroom-js\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/headroom-js\\\/\",\"name\":\"Create an Auto-Hiding Sticky Header with Headroom.js - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/headroom-js\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/headroom-js\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/headroom-js\\\/01-headroom-js-plugin.jpg\",\"datePublished\":\"2020-03-04T10:33:17+00:00\",\"dateModified\":\"2021-09-03T08:22:22+00:00\",\"description\":\"Auto-hiding headers have been steadily popular in web design for quite a while. Many blogs and online magazines use the sticky header to keep users\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/headroom-js\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/headroom-js\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/headroom-js\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/headroom-js\\\/01-headroom-js-plugin.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/headroom-js\\\/01-headroom-js-plugin.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/headroom-js\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create an Auto-Hiding Sticky Header with Headroom.js\"}]},{\"@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\\\/966b2daea15283b4145e71aa98a82c2a\",\"name\":\"Jake Rocheleau\",\"description\":\"Jake is a writer and designer with over 10 years experience working on the web. He writes about user experience design and cool resources for designers\",\"sameAs\":[\"https:\\\/\\\/www.hongkiat.com\"],\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/jake\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Create an Auto-Hiding Sticky Header with Headroom.js - Hongkiat","description":"Auto-hiding headers have been steadily popular in web design for quite a while. Many blogs and online magazines use the sticky header to keep users","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\/headroom-js\/","og_locale":"en_US","og_type":"article","og_title":"Create an Auto-Hiding Sticky Header with Headroom.js","og_description":"Auto-hiding headers have been steadily popular in web design for quite a while. Many blogs and online magazines use the sticky header to keep users","og_url":"https:\/\/www.hongkiat.com\/blog\/headroom-js\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2020-03-04T10:33:17+00:00","article_modified_time":"2021-09-03T08:22:22+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/headroom-js\/01-headroom-js-plugin.jpg","type":"","width":"","height":""}],"author":"Jake Rocheleau","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Jake Rocheleau","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/headroom-js\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/headroom-js\/"},"author":{"name":"Jake Rocheleau","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/966b2daea15283b4145e71aa98a82c2a"},"headline":"Create an Auto-Hiding Sticky Header with Headroom.js","datePublished":"2020-03-04T10:33:17+00:00","dateModified":"2021-09-03T08:22:22+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/headroom-js\/"},"wordCount":304,"commentCount":4,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/headroom-js\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/headroom-js\/01-headroom-js-plugin.jpg","keywords":["Javascript Library"],"articleSection":["UI\/UX"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/headroom-js\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/headroom-js\/","url":"https:\/\/www.hongkiat.com\/blog\/headroom-js\/","name":"Create an Auto-Hiding Sticky Header with Headroom.js - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/headroom-js\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/headroom-js\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/headroom-js\/01-headroom-js-plugin.jpg","datePublished":"2020-03-04T10:33:17+00:00","dateModified":"2021-09-03T08:22:22+00:00","description":"Auto-hiding headers have been steadily popular in web design for quite a while. Many blogs and online magazines use the sticky header to keep users","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/headroom-js\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/headroom-js\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/headroom-js\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/headroom-js\/01-headroom-js-plugin.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/headroom-js\/01-headroom-js-plugin.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/headroom-js\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Create an Auto-Hiding Sticky Header with Headroom.js"}]},{"@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\/966b2daea15283b4145e71aa98a82c2a","name":"Jake Rocheleau","description":"Jake is a writer and designer with over 10 years experience working on the web. He writes about user experience design and cool resources for designers","sameAs":["https:\/\/www.hongkiat.com"],"url":"https:\/\/www.hongkiat.com\/blog\/author\/jake\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-7DQ","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/29378","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\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=29378"}],"version-history":[{"count":4,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/29378\/revisions"}],"predecessor-version":[{"id":49460,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/29378\/revisions\/49460"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=29378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=29378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=29378"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=29378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}