{"id":43159,"date":"2020-03-18T23:23:59","date_gmt":"2020-03-18T15:23:59","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=43159"},"modified":"2020-03-18T17:56:19","modified_gmt":"2020-03-18T09:56:19","slug":"build-page-scrolling-effects-rolls-js","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/build-page-scrolling-effects-rolls-js\/","title":{"rendered":"Build Your Own Page Scrolling Effects With Roll.js"},"content":{"rendered":"<p>You can find dozens of <a href=\"https:\/\/www.hongkiat.com\/blog\/scrolling-effects-js-libraries\/\">scrolling libraries<\/a> all over the web. Most are written in JavaScript and have their own effects you can restyle for single page layouts, on-scroll animations, and so much more.<\/p>\n<p>But what about <strong>coding your own scrolling effects<\/strong>? Or what if you just want a simple way of tracking how far down the page a user has scrolled?<\/p>\n<p><a href=\"https:\/\/github.com\/williamngan\/roll\" target=\"_blank\" rel=\"noopener noreferrer\">Roll.js<\/a> is the library you\u2019re looking for. This <strong>open source script is crazy small and super easy to use<\/strong>. You can get this working with a few lines of JavaScript. And best of all it doesn\u2019t force you to perform anything specific, but rather <strong>gives you the tools<\/strong> to create your own custom scrolling features.<\/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\/scrolling-effects-js-libraries\/\" class=\"ref-block__link\" title=\"Read More: JavaScript Libraries for Cool Scrolling Effects\" rel=\"bookmark\"><span class=\"screen-reader-text\">JavaScript Libraries for Cool Scrolling Effects<\/span><\/a>\n<div class=\"ref-block__thumbnail img-thumb img-thumb--jumbo\" data-img='{ \"src\" : \"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/scrolling-effects-js-libraries.jpg\" }'>\n\t\t\t\t\t\t\t<noscript>\n<style>.no-js #ref-block-post-25538 .ref-block__thumbnail { background-image: url(\"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/scrolling-effects-js-libraries.jpg\"); }<\/style>\n<\/noscript>\n\t\t\t\t\t\t<\/div>\n<div class=\"ref-block__summary\">\n<h4 class=\"ref-title\">JavaScript Libraries for Cool Scrolling Effects<\/h4>\n<p class=\"ref-description\">\n\t\t\t\t\t\tA website design comes to life with well-executed animation. If you're looking for the proper libraries to add...\t\t\t\t\t\t<span>Read more<\/span><\/p>\n<\/div>\n<\/div>\n<figure><a href=\"https:\/\/williamngan.github.io\/roll\/demo\/index.html\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/build-page-scrolling-effects-rolls-js\/01-rolljs-script-demo.jpg\" alt=\"roll singlepage script\" width=\"1000\" height=\"428\"><\/a><\/figure>\n<p>The goal of this library is to help developers structure their scrolling effects without much effort.<\/p>\n<p>If you take a look at the <a href=\"https:\/\/github.com\/williamngan\/roll\" target=\"_blank\" rel=\"noopener noreferrer\">main GitHub repo<\/a> you\u2019ll find a whole setup guide with a few example snippets. You can <strong>run functions to call how far the user scrolls<\/strong>, or to different \u201cpanes\u201d on the page.<\/p>\n<p>These work best on <a href=\"https:\/\/www.hongkiat.com\/blog\/single-page-web-design\/\">single-page layouts<\/a> but you can use Roll.js for so much.<\/p>\n<p>With a single function call you can pull data with each scroll that includes:<\/p>\n<ul>\n<li>Total page steps(if applicable).<\/li>\n<li>Total % scrolled down page.<\/li>\n<li>Current position on page in pixels.<\/li>\n<li>Total viewport height based on device size.<\/li>\n<\/ul>\n<p>This also works with jump links that bring users down (or up) to certain parts of the page.<\/p>\n<p>But you can find a lot of these features in other libraries as well. What makes Roll.js so special?<\/p>\n<p>Part of it is the syntax, but the big seller here is the total library size of <strong>8KB<\/strong> when minified. That\u2019s pretty darn small for such a detailed scrolling library!<\/p>\n<figure><a href=\"https:\/\/williamngan.github.io\/roll\/demo\/canvas.html\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/build-page-scrolling-effects-rolls-js\/02-rolljs-canvas-element-example.jpg\" alt=\"javascript scrolling library\" width=\"1000\" height=\"580\"><\/a><\/figure>\n<p>You can see how this works on the <a href=\"https:\/\/williamngan.github.io\/roll\/demo\/index.html\" target=\"_blank\" rel=\"noopener noreferrer\">main demo page<\/a> and you can even <strong>download the Roll.js source code to dig into those demos yourself<\/strong>.<\/p>\n<p>Everything from the live demos and the raw library files can be pulled <a href=\"https:\/\/github.com\/williamngan\/roll\" target=\"_blank\" rel=\"noopener noreferrer\">from GitHub<\/a> and they\u2019re super easy to work with.<\/p>\n<p>But if you have any questions, suggestions, or wanna share your thanks for the awesome library, you can shoot a message over to the creator <a href=\"https:\/\/twitter.com\/williamngan\" target=\"_blank\" rel=\"noopener noreferrer\">@williamngan<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>You can find dozens of scrolling libraries all over the web. Most are written in JavaScript and have their own effects you can restyle for single page layouts, on-scroll animations, and so much more. But what about coding your own scrolling effects? Or what if you just want a simple way of tracking how far&hellip;<\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3393],"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.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Build Your Own Page Scrolling Effects With Roll.js - Hongkiat<\/title>\n<meta name=\"description\" content=\"You can find dozens of scrolling libraries all over the web. Most are written in JavaScript and have their own effects you can restyle for single page\" \/>\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\/build-page-scrolling-effects-rolls-js\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Build Your Own Page Scrolling Effects With Roll.js\" \/>\n<meta property=\"og:description\" content=\"You can find dozens of scrolling libraries all over the web. Most are written in JavaScript and have their own effects you can restyle for single page\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/build-page-scrolling-effects-rolls-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-18T15:23:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/build-page-scrolling-effects-rolls-js\/01-rolljs-script-demo.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\\\/build-page-scrolling-effects-rolls-js\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/build-page-scrolling-effects-rolls-js\\\/\"},\"author\":{\"name\":\"Jake Rocheleau\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/966b2daea15283b4145e71aa98a82c2a\"},\"headline\":\"Build Your Own Page Scrolling Effects With Roll.js\",\"datePublished\":\"2020-03-18T15:23:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/build-page-scrolling-effects-rolls-js\\\/\"},\"wordCount\":381,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/build-page-scrolling-effects-rolls-js\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/build-page-scrolling-effects-rolls-js\\\/01-rolljs-script-demo.jpg\",\"keywords\":[\"Javascript Library\"],\"articleSection\":[\"Toolkit\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/build-page-scrolling-effects-rolls-js\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/build-page-scrolling-effects-rolls-js\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/build-page-scrolling-effects-rolls-js\\\/\",\"name\":\"Build Your Own Page Scrolling Effects With Roll.js - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/build-page-scrolling-effects-rolls-js\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/build-page-scrolling-effects-rolls-js\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/build-page-scrolling-effects-rolls-js\\\/01-rolljs-script-demo.jpg\",\"datePublished\":\"2020-03-18T15:23:59+00:00\",\"description\":\"You can find dozens of scrolling libraries all over the web. Most are written in JavaScript and have their own effects you can restyle for single page\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/build-page-scrolling-effects-rolls-js\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/build-page-scrolling-effects-rolls-js\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/build-page-scrolling-effects-rolls-js\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/build-page-scrolling-effects-rolls-js\\\/01-rolljs-script-demo.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/build-page-scrolling-effects-rolls-js\\\/01-rolljs-script-demo.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/build-page-scrolling-effects-rolls-js\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Build Your Own Page Scrolling Effects With Roll.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":"Build Your Own Page Scrolling Effects With Roll.js - Hongkiat","description":"You can find dozens of scrolling libraries all over the web. Most are written in JavaScript and have their own effects you can restyle for single page","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\/build-page-scrolling-effects-rolls-js\/","og_locale":"en_US","og_type":"article","og_title":"Build Your Own Page Scrolling Effects With Roll.js","og_description":"You can find dozens of scrolling libraries all over the web. Most are written in JavaScript and have their own effects you can restyle for single page","og_url":"https:\/\/www.hongkiat.com\/blog\/build-page-scrolling-effects-rolls-js\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2020-03-18T15:23:59+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/build-page-scrolling-effects-rolls-js\/01-rolljs-script-demo.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\/build-page-scrolling-effects-rolls-js\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/build-page-scrolling-effects-rolls-js\/"},"author":{"name":"Jake Rocheleau","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/966b2daea15283b4145e71aa98a82c2a"},"headline":"Build Your Own Page Scrolling Effects With Roll.js","datePublished":"2020-03-18T15:23:59+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/build-page-scrolling-effects-rolls-js\/"},"wordCount":381,"commentCount":0,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/build-page-scrolling-effects-rolls-js\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/build-page-scrolling-effects-rolls-js\/01-rolljs-script-demo.jpg","keywords":["Javascript Library"],"articleSection":["Toolkit"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/build-page-scrolling-effects-rolls-js\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/build-page-scrolling-effects-rolls-js\/","url":"https:\/\/www.hongkiat.com\/blog\/build-page-scrolling-effects-rolls-js\/","name":"Build Your Own Page Scrolling Effects With Roll.js - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/build-page-scrolling-effects-rolls-js\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/build-page-scrolling-effects-rolls-js\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/build-page-scrolling-effects-rolls-js\/01-rolljs-script-demo.jpg","datePublished":"2020-03-18T15:23:59+00:00","description":"You can find dozens of scrolling libraries all over the web. Most are written in JavaScript and have their own effects you can restyle for single page","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/build-page-scrolling-effects-rolls-js\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/build-page-scrolling-effects-rolls-js\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/build-page-scrolling-effects-rolls-js\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/build-page-scrolling-effects-rolls-js\/01-rolljs-script-demo.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/build-page-scrolling-effects-rolls-js\/01-rolljs-script-demo.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/build-page-scrolling-effects-rolls-js\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Build Your Own Page Scrolling Effects With Roll.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-be7","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/43159","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=43159"}],"version-history":[{"count":2,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/43159\/revisions"}],"predecessor-version":[{"id":49656,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/43159\/revisions\/49656"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=43159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=43159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=43159"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=43159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}