{"id":38291,"date":"2017-10-12T21:01:09","date_gmt":"2017-10-12T13:01:09","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=38291"},"modified":"2023-04-06T19:16:12","modified_gmt":"2023-04-06T11:16:12","slug":"sweetalert2-alert-script","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/sweetalert2-alert-script\/","title":{"rendered":"Upgrade Your Website: Responsive Alternative to JavaScript Alert Boxes"},"content":{"rendered":"<p><strong>JavaScript alert pop-ups<\/strong> are loathed by pretty much everyone. They force your attention and overtake the browser, so you need to close them before you can interact with the page.<\/p>\n<p>In the modern era, we can <strong>do better than JavaScript alert boxes<\/strong>. <strong><a href=\"https:\/\/limonte.github.io\/sweetalert2\/\" target=\"_blank\" rel=\"noopener\">SweetAlert2<\/a><\/strong> is probably the best solution.<\/p>\n<p>It\u2019s a <strong>JavaScript-powered pop-up script<\/strong> that\u2019s designed to be <strong>fully responsive<\/strong> and <strong>support <a href=\"https:\/\/www.hongkiat.com\/blog\/web-accessibility-design-guide\/\">accessibility<\/a><\/strong> for all users.<\/p>\n<figure><a href=\"https:\/\/limonte.github.io\/sweetalert2\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/sweetalert2-alert-script\/01-sweetalert2-message-box.jpg\" width=\"1000\" height=\"724\" alt=\"SweetAlert2 pop-up\"><\/a><\/figure>\n<p>Naturally, it\u2019s also open sourced and <strong>freely available <a href=\"https:\/\/github.com\/sweetalert2\/sweetalert2\" target=\"_blank\" rel=\"noopener\">on GitHub<\/a><\/strong> if you wanna dig into the code.<\/p>\n<p>But, the real treasure is the demo on the main SweetAlert web page. It <strong>offers a direct comparison<\/strong> between the original JavaScript alert box and the SweetAlert2 message.<\/p>\n<p>What\u2019s funny is the code snippets don\u2019t seem like much of a difference. You can <strong>run SweetAlert2 with one line of code<\/strong> just like a typical JavaScript alert, although that line may be longer by comparison.<\/p>\n<p>With SweetAlert, you <strong>have more control<\/strong> over the popup box style, the animation, the button colors, and the text styles. You can even <strong>embed images or videos<\/strong> into the alert box.<\/p>\n<p>However, the absolute best feature is that SweetAlert2 <strong><em>does not<\/em> overtake the entire browser<\/strong>. If you run a SweetAlert2 pop-up it\u2019ll <strong>only display on that one tab<\/strong>, so even if the user is browsing another site they won\u2019t be forcefully directed to your tab just because an alert popped up.<\/p>\n<p>This ultimately <strong>increases <a href=\"https:\/\/www.hongkiat.com\/blog\/designing-focused-interfaces-for-attention\/\">user engagement<\/a><\/strong> because people aren\u2019t warded away due to shady UX practices.<\/p>\n<p>You can <strong>set auto-close timers, confirm\/reject buttons<\/strong>, and even <strong>customize the animation<\/strong> using third-party libraries such as <a href=\"https:\/\/www.hongkiat.com\/blog\/animatecss-css3-animation-library\/\">Animate.css<\/a>.<\/p>\n<figure><a href=\"https:\/\/limonte.github.io\/sweetalert2\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/sweetalert2-alert-script\/02-sweetalert2-message-alert.jpg\" width=\"1000\" height=\"689\" alt=\"Example info modal pop-up\"><\/a><\/figure>\n<p>If there\u2019s any script you should use in lieu of the typical JavaScript alert it\u2019s gotta be SweetAlert2. This thing is <strong>totally free<\/strong>, <strong>open-source<\/strong>, and <strong>offers a bunch of custom options<\/strong> that\u2019ll have every web developer grinning from ear to ear.<\/p>\n<p>Check out the <a href=\"https:\/\/limonte.github.io\/sweetalert2\/\" target=\"_blank\" rel=\"noopener\">main website<\/a> to learn more and <strong>see some live examples<\/strong>. You can also browse the <a href=\"https:\/\/github.com\/sweetalert2\/sweetalert2\" target=\"_blank\" rel=\"noopener\">GitHub repo<\/a> if you want to see the files and check out release logs.<\/p>\n<p class=\"note\"><strong>Read Also:<\/strong> <a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/overhang-js\/\" rel=\"noopener\">Overhang.js \u2013 A jQuery Plugin for Dropdown Notification Messages<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>JavaScript alert pop-ups are loathed by pretty much everyone. They force your attention and overtake the browser, so you need to close them before you can interact with the page. In the modern era, we can do better than JavaScript alert boxes. SweetAlert2 is probably the best solution. It\u2019s a JavaScript-powered pop-up script that\u2019s designed&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,3808],"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>Upgrade Your Website: Responsive Alternative to JavaScript Alert Boxes - Hongkiat<\/title>\n<meta name=\"description\" content=\"JavaScript alert pop-ups are loathed by pretty much everyone. They force your attention and overtake the browser, so you need to close them before you can\" \/>\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\/sweetalert2-alert-script\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Upgrade Your Website: Responsive Alternative to JavaScript Alert Boxes\" \/>\n<meta property=\"og:description\" content=\"JavaScript alert pop-ups are loathed by pretty much everyone. They force your attention and overtake the browser, so you need to close them before you can\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/sweetalert2-alert-script\/\" \/>\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=\"2017-10-12T13:01:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-06T11:16:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/sweetalert2-alert-script\/01-sweetalert2-message-box.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\\\/sweetalert2-alert-script\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sweetalert2-alert-script\\\/\"},\"author\":{\"name\":\"Jake Rocheleau\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/966b2daea15283b4145e71aa98a82c2a\"},\"headline\":\"Upgrade Your Website: Responsive Alternative to JavaScript Alert Boxes\",\"datePublished\":\"2017-10-12T13:01:09+00:00\",\"dateModified\":\"2023-04-06T11:16:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sweetalert2-alert-script\\\/\"},\"wordCount\":367,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sweetalert2-alert-script\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/sweetalert2-alert-script\\\/01-sweetalert2-message-box.jpg\",\"keywords\":[\"Javascript Library\",\"popup windows\"],\"articleSection\":[\"Toolkit\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sweetalert2-alert-script\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sweetalert2-alert-script\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sweetalert2-alert-script\\\/\",\"name\":\"Upgrade Your Website: Responsive Alternative to JavaScript Alert Boxes - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sweetalert2-alert-script\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sweetalert2-alert-script\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/sweetalert2-alert-script\\\/01-sweetalert2-message-box.jpg\",\"datePublished\":\"2017-10-12T13:01:09+00:00\",\"dateModified\":\"2023-04-06T11:16:12+00:00\",\"description\":\"JavaScript alert pop-ups are loathed by pretty much everyone. They force your attention and overtake the browser, so you need to close them before you can\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sweetalert2-alert-script\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sweetalert2-alert-script\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sweetalert2-alert-script\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/sweetalert2-alert-script\\\/01-sweetalert2-message-box.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/sweetalert2-alert-script\\\/01-sweetalert2-message-box.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sweetalert2-alert-script\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Upgrade Your Website: Responsive Alternative to JavaScript Alert Boxes\"}]},{\"@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":"Upgrade Your Website: Responsive Alternative to JavaScript Alert Boxes - Hongkiat","description":"JavaScript alert pop-ups are loathed by pretty much everyone. They force your attention and overtake the browser, so you need to close them before you can","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\/sweetalert2-alert-script\/","og_locale":"en_US","og_type":"article","og_title":"Upgrade Your Website: Responsive Alternative to JavaScript Alert Boxes","og_description":"JavaScript alert pop-ups are loathed by pretty much everyone. They force your attention and overtake the browser, so you need to close them before you can","og_url":"https:\/\/www.hongkiat.com\/blog\/sweetalert2-alert-script\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2017-10-12T13:01:09+00:00","article_modified_time":"2023-04-06T11:16:12+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/sweetalert2-alert-script\/01-sweetalert2-message-box.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\/sweetalert2-alert-script\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/sweetalert2-alert-script\/"},"author":{"name":"Jake Rocheleau","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/966b2daea15283b4145e71aa98a82c2a"},"headline":"Upgrade Your Website: Responsive Alternative to JavaScript Alert Boxes","datePublished":"2017-10-12T13:01:09+00:00","dateModified":"2023-04-06T11:16:12+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/sweetalert2-alert-script\/"},"wordCount":367,"commentCount":0,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/sweetalert2-alert-script\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/sweetalert2-alert-script\/01-sweetalert2-message-box.jpg","keywords":["Javascript Library","popup windows"],"articleSection":["Toolkit"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/sweetalert2-alert-script\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/sweetalert2-alert-script\/","url":"https:\/\/www.hongkiat.com\/blog\/sweetalert2-alert-script\/","name":"Upgrade Your Website: Responsive Alternative to JavaScript Alert Boxes - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/sweetalert2-alert-script\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/sweetalert2-alert-script\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/sweetalert2-alert-script\/01-sweetalert2-message-box.jpg","datePublished":"2017-10-12T13:01:09+00:00","dateModified":"2023-04-06T11:16:12+00:00","description":"JavaScript alert pop-ups are loathed by pretty much everyone. They force your attention and overtake the browser, so you need to close them before you can","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/sweetalert2-alert-script\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/sweetalert2-alert-script\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/sweetalert2-alert-script\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/sweetalert2-alert-script\/01-sweetalert2-message-box.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/sweetalert2-alert-script\/01-sweetalert2-message-box.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/sweetalert2-alert-script\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Upgrade Your Website: Responsive Alternative to JavaScript Alert Boxes"}]},{"@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-9XB","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/38291","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=38291"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/38291\/revisions"}],"predecessor-version":[{"id":65903,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/38291\/revisions\/65903"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=38291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=38291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=38291"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=38291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}