{"id":9672,"date":"2021-02-25T19:07:57","date_gmt":"2021-02-25T13:37:57","guid":{"rendered":"https:\/\/tutorials.eyehunts.com\/?p=9672"},"modified":"2021-05-16T13:28:24","modified_gmt":"2021-05-16T07:58:24","slug":"javascript-conditional-operator-example-code","status":"publish","type":"post","link":"https:\/\/tutorial.eyehunts.com\/js\/javascript-conditional-operator-example-code\/","title":{"rendered":"JavaScript conditional operator | Example code"},"content":{"rendered":"\n<p>JavaScript conditional operator is assigned a value to a variable based on some condition. It&#8217;s the only JavaScript operator that takes three operands. It also called a <a href=\"https:\/\/tutorial.eyehunts.com\/\/js\/javascript-ternary-operator-multiple-nested-and-shorthand-codes\/\">ternary operator<\/a>.<\/p>\n\n\n\n<p>Syntax of conditional operator in JS.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>condition ? exprIfTrue : exprIfFalse<\/code><\/pre>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>JavaScript conditional operator Example<\/strong><\/h2>\n\n\n\n<p>Let&#8217;s see simple HTML example code for a given condition &#8211; If the value is above 30 then pass else fail.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\r\n&lt;html>\r\n\r\n&lt;body>\r\n    &lt;script type=\"text\/javascript\">\r\n        var marks = 80;\r\n        var result = (marks >= 80) ? \"Pass\" : \"Failed\";\r\n        console.log(result); \r\n\r\n    &lt;\/script>\r\n&lt;\/body>\r\n&lt;\/html><\/code><\/pre>\n\n\n\n<p><strong>Output<\/strong>:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"321\" height=\"118\" src=\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/\/wp-content\/uploads\/2021\/02\/JavaScript-conditional-operator-HTML-example-code.png?resize=321%2C118&#038;ssl=1\" alt=\"JavaScript conditional operator HTML example code\" class=\"wp-image-11940\" srcset=\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/02\/JavaScript-conditional-operator-HTML-example-code.png?w=321&amp;ssl=1 321w, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/02\/JavaScript-conditional-operator-HTML-example-code.png?resize=300%2C110&amp;ssl=1 300w\" sizes=\"auto, (max-width: 321px) 100vw, 321px\" \/><\/figure><\/div>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Do comment if you have any doubts and suggestions on this topic.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Note:<\/strong>&nbsp;The<strong>&nbsp;All JS Examples codes&nbsp;<\/strong>are&nbsp;tested on the Firefox browser and the Chrome browser.<\/p><p>OS:&nbsp;<strong>Windows 10<\/strong><\/p><p>Code: HTML 5 Version<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>JavaScript conditional operator is assigned a value to a variable based on some condition. It&#8217;s the only JavaScript operator that takes three operands. It also called a ternary operator. Syntax of conditional operator in JS. JavaScript conditional operator Example Let&#8217;s see simple HTML example code for a given condition &#8211; If the value is above&hellip;&nbsp;<a href=\"https:\/\/tutorial.eyehunts.com\/js\/javascript-conditional-operator-example-code\/\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">JavaScript conditional operator | Example code<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[69],"tags":[73,72],"post_series":[],"class_list":["post-9672","post","type-post","status-publish","format-standard","hentry","category-js","tag-javascript-basic","tag-js-basic"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>JavaScript conditional operator | Example code - EyeHunts<\/title>\n<meta name=\"description\" content=\"JavaScript conditional operator is assigned a value to a variable based on some condition. It&#039;s the only JavaScript operator that takes...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tutorial.eyehunts.com\/js\/javascript-conditional-operator-example-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JavaScript conditional operator | Example code - EyeHunts\" \/>\n<meta property=\"og:description\" content=\"JavaScript conditional operator is assigned a value to a variable based on some condition. It&#039;s the only JavaScript operator that takes...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tutorial.eyehunts.com\/js\/javascript-conditional-operator-example-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorial\" \/>\n<meta property=\"article:published_time\" content=\"2021-02-25T13:37:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-16T07:58:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tutorial.eyehunts.com\/\/wp-content\/uploads\/2021\/02\/JavaScript-conditional-operator-HTML-example-code.png\" \/>\n<meta name=\"author\" content=\"Rohit\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rohit\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/js\/javascript-conditional-operator-example-code\/\",\"url\":\"https:\/\/tutorial.eyehunts.com\/js\/javascript-conditional-operator-example-code\/\",\"name\":\"JavaScript conditional operator | Example code - EyeHunts\",\"isPartOf\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/js\/javascript-conditional-operator-example-code\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/js\/javascript-conditional-operator-example-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tutorial.eyehunts.com\/\/wp-content\/uploads\/2021\/02\/JavaScript-conditional-operator-HTML-example-code.png\",\"datePublished\":\"2021-02-25T13:37:57+00:00\",\"dateModified\":\"2021-05-16T07:58:24+00:00\",\"author\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1\"},\"description\":\"JavaScript conditional operator is assigned a value to a variable based on some condition. It's the only JavaScript operator that takes...\",\"breadcrumb\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/js\/javascript-conditional-operator-example-code\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tutorial.eyehunts.com\/js\/javascript-conditional-operator-example-code\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/js\/javascript-conditional-operator-example-code\/#primaryimage\",\"url\":\"https:\/\/tutorial.eyehunts.com\/\/wp-content\/uploads\/2021\/02\/JavaScript-conditional-operator-HTML-example-code.png\",\"contentUrl\":\"https:\/\/tutorial.eyehunts.com\/\/wp-content\/uploads\/2021\/02\/JavaScript-conditional-operator-HTML-example-code.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/js\/javascript-conditional-operator-example-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/tutorial.eyehunts.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JavaScript conditional operator | Example code\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#website\",\"url\":\"https:\/\/tutorial.eyehunts.com\/\",\"name\":\"Tutorial\",\"description\":\"By EyeHunts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/tutorial.eyehunts.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1\",\"name\":\"Rohit\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971\",\"contentUrl\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971\",\"caption\":\"Rohit\"},\"description\":\"Degree in Computer Science and Engineer: App Developer and has multiple Programming languages experience. Enthusiasm for technology &amp; like learning technical.\",\"url\":\"https:\/\/tutorial.eyehunts.com\/author\/rohit\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JavaScript conditional operator | Example code - EyeHunts","description":"JavaScript conditional operator is assigned a value to a variable based on some condition. It's the only JavaScript operator that takes...","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:\/\/tutorial.eyehunts.com\/js\/javascript-conditional-operator-example-code\/","og_locale":"en_US","og_type":"article","og_title":"JavaScript conditional operator | Example code - EyeHunts","og_description":"JavaScript conditional operator is assigned a value to a variable based on some condition. It's the only JavaScript operator that takes...","og_url":"https:\/\/tutorial.eyehunts.com\/js\/javascript-conditional-operator-example-code\/","og_site_name":"Tutorial","article_published_time":"2021-02-25T13:37:57+00:00","article_modified_time":"2021-05-16T07:58:24+00:00","og_image":[{"url":"https:\/\/tutorial.eyehunts.com\/\/wp-content\/uploads\/2021\/02\/JavaScript-conditional-operator-HTML-example-code.png","type":"","width":"","height":""}],"author":"Rohit","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rohit","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/tutorial.eyehunts.com\/js\/javascript-conditional-operator-example-code\/","url":"https:\/\/tutorial.eyehunts.com\/js\/javascript-conditional-operator-example-code\/","name":"JavaScript conditional operator | Example code - EyeHunts","isPartOf":{"@id":"https:\/\/tutorial.eyehunts.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tutorial.eyehunts.com\/js\/javascript-conditional-operator-example-code\/#primaryimage"},"image":{"@id":"https:\/\/tutorial.eyehunts.com\/js\/javascript-conditional-operator-example-code\/#primaryimage"},"thumbnailUrl":"https:\/\/tutorial.eyehunts.com\/\/wp-content\/uploads\/2021\/02\/JavaScript-conditional-operator-HTML-example-code.png","datePublished":"2021-02-25T13:37:57+00:00","dateModified":"2021-05-16T07:58:24+00:00","author":{"@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1"},"description":"JavaScript conditional operator is assigned a value to a variable based on some condition. It's the only JavaScript operator that takes...","breadcrumb":{"@id":"https:\/\/tutorial.eyehunts.com\/js\/javascript-conditional-operator-example-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tutorial.eyehunts.com\/js\/javascript-conditional-operator-example-code\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorial.eyehunts.com\/js\/javascript-conditional-operator-example-code\/#primaryimage","url":"https:\/\/tutorial.eyehunts.com\/\/wp-content\/uploads\/2021\/02\/JavaScript-conditional-operator-HTML-example-code.png","contentUrl":"https:\/\/tutorial.eyehunts.com\/\/wp-content\/uploads\/2021\/02\/JavaScript-conditional-operator-HTML-example-code.png"},{"@type":"BreadcrumbList","@id":"https:\/\/tutorial.eyehunts.com\/js\/javascript-conditional-operator-example-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tutorial.eyehunts.com\/"},{"@type":"ListItem","position":2,"name":"JavaScript conditional operator | Example code"}]},{"@type":"WebSite","@id":"https:\/\/tutorial.eyehunts.com\/#website","url":"https:\/\/tutorial.eyehunts.com\/","name":"Tutorial","description":"By EyeHunts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tutorial.eyehunts.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1","name":"Rohit","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/image\/","url":"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971","contentUrl":"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971","caption":"Rohit"},"description":"Degree in Computer Science and Engineer: App Developer and has multiple Programming languages experience. Enthusiasm for technology &amp; like learning technical.","url":"https:\/\/tutorial.eyehunts.com\/author\/rohit\/"}]}},"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":28719,"url":"https:\/\/tutorial.eyehunts.com\/js\/question-mark-in-javascript-operator\/","url_meta":{"origin":9672,"position":0},"title":"Question mark in JavaScript | Operator","author":"Rohit","date":"April 25, 2022","format":false,"excerpt":"The conditional or question mark operator is represented by a \"?\" question mark in JavaScript. This operator is used in conditional statements, and when paired with a :, can function as a compact alternative to if...else statements. Main Uses for the Question Mark Ternary Operator Optional Chaining Nullish Coalescing The\u2026","rel":"","context":"In &quot;JavaScript&quot;","block_context":{"text":"JavaScript","link":"https:\/\/tutorial.eyehunts.com\/category\/js\/"},"img":{"alt_text":"Question mark in JavaScript Operator","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2022\/04\/Question-mark-in-JavaScript-Operator.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":9669,"url":"https:\/\/tutorial.eyehunts.com\/js\/javascript-ternary-operator-multiple-nested-and-shorthand-codes\/","url_meta":{"origin":9672,"position":1},"title":"JavaScript ternary operator | Multiple, nested and shortHand codes","author":"Rohit","date":"August 31, 2020","format":false,"excerpt":"JavaScript ternary operator is frequently used as a shortcut for the if statement. It's a one-line shorthand for an if-else statement and is also called the conditional operator in JavaScript. The ternary operator is the only JavaScript operator that takes three operands. First condition is followed by a question mark\u2026","rel":"","context":"In &quot;JavaScript&quot;","block_context":{"text":"JavaScript","link":"https:\/\/tutorial.eyehunts.com\/category\/js\/"},"img":{"alt_text":"JavaScript ternary operator","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/\/wp-content\/uploads\/2020\/08\/JavaScript-ternary-operator.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":25340,"url":"https:\/\/tutorial.eyehunts.com\/js\/javascript-if-else-shorthand-example-code\/","url_meta":{"origin":9672,"position":2},"title":"JavaScript if else shorthand | Example code","author":"Rohit","date":"March 7, 2022","format":false,"excerpt":"You can use the ternary operator as an if-else shorthand in JavaScript. It lets us write shorthand if..else statements exactly as we want. Syntax condition ? exprIfTrue : exprIfFalse Using var hasName = (name === 'john') ? 'Y' :'N'; It looks like this: (name === 'john') - our condition ?\u2026","rel":"","context":"In &quot;JavaScript&quot;","block_context":{"text":"JavaScript","link":"https:\/\/tutorial.eyehunts.com\/category\/js\/"},"img":{"alt_text":"JavaScript if else shorthand","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2022\/03\/JavaScript-if-else-shorthand.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":38599,"url":"https:\/\/tutorial.eyehunts.com\/js\/javascript-division-operator\/","url_meta":{"origin":9672,"position":3},"title":"JavaScript division operator (\/)","author":"Rohit","date":"April 22, 2023","format":false,"excerpt":"The JavaScript division operator (\/) is used to perform floating-point division between two numbers. It is important to handle the case where the second operand is zero, as division by zero is undefined and will result in an error. x \/ y \/\/ OR dividend \/ divisor Here, dividend is\u2026","rel":"","context":"In &quot;JavaScript&quot;","block_context":{"text":"JavaScript","link":"https:\/\/tutorial.eyehunts.com\/category\/js\/"},"img":{"alt_text":"JavaScript division operator","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2023\/04\/JavaScript-division-operator.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":9654,"url":"https:\/\/tutorial.eyehunts.com\/js\/single-line-if-statement-javascript-best-one-line-syntax\/","url_meta":{"origin":9672,"position":4},"title":"Single line if statement JavaScript | Best One Line syntax","author":"Rohit","date":"August 28, 2020","format":false,"excerpt":"One way is to use a ternary operator which works as a single line if statement in JavaScript. This is the best way, let's see the example code:- var canDrive = age > 16 ? 'yes' : 'no'; The ? : is called a ternary operator and acts just like\u2026","rel":"","context":"In &quot;JavaScript&quot;","block_context":{"text":"JavaScript","link":"https:\/\/tutorial.eyehunts.com\/category\/js\/"},"img":{"alt_text":"single line if statement JavaScript","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/\/wp-content\/uploads\/2020\/08\/single-line-if-statement-JavaScript.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":37128,"url":"https:\/\/tutorial.eyehunts.com\/js\/javascript-conditional-statement\/","url_meta":{"origin":9672,"position":5},"title":"JavaScript conditional statement","author":"Rohit","date":"March 21, 2023","format":false,"excerpt":"JavaScript conditional statements allow you to make decisions in your code based on whether a certain condition is true or false. The two most commonly used conditional statements in JavaScript are if and else. Using an if statement in JavaScript: The curly braces code will only be executed if the\u2026","rel":"","context":"In &quot;JavaScript&quot;","block_context":{"text":"JavaScript","link":"https:\/\/tutorial.eyehunts.com\/category\/js\/"},"img":{"alt_text":"JavaScript conditional statement","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2023\/03\/JavaScript-conditional-statement.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/9672","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/comments?post=9672"}],"version-history":[{"count":0,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/9672\/revisions"}],"wp:attachment":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/media?parent=9672"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/categories?post=9672"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/tags?post=9672"},{"taxonomy":"post_series","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/post_series?post=9672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}