{"id":4766,"date":"2025-03-13T12:08:48","date_gmt":"2025-03-13T12:08:48","guid":{"rendered":"https:\/\/www.kaashivinfotech.com\/blog\/?p=4766"},"modified":"2025-07-22T08:34:21","modified_gmt":"2025-07-22T08:34:21","slug":"mastering-if-else-if-in-javascript-a-beginners-guide","status":"publish","type":"post","link":"https:\/\/www.kaashivinfotech.com\/blog\/mastering-if-else-if-in-javascript-a-beginners-guide\/","title":{"rendered":"Mastering if-else-if in JavaScript: A Beginner&#8217;s Guide with Real-World Examples \ud83d\ude80"},"content":{"rendered":"<p data-start=\"329\" data-end=\"602\"><strong data-start=\"329\" data-end=\"485\">Ever wondered how websites make decisions\u2014like showing different content based on user actions? Or how login systems decide who gets in and who doesn&#8217;t?<\/strong><br data-start=\"485\" data-end=\"488\" \/>That\u2019s all thanks to <a href=\"https:\/\/www.wikitechy.com\/tutorials\/javascript\/\" target=\"_blank\" rel=\"noopener\">JavaScript<\/a> else if, one of the most powerful conditional statements in web development.<\/p>\n<p data-start=\"604\" data-end=\"922\">In this article, I\u2019ll break down everything you need to know about JavaScript else if, walk you through real-world examples, point out common mistakes, and even challenge you with a mini-coding puzzle. If you&#8217;re diving into JavaScript, especially for MERN or MEAN stack development, this is your must-read guide.<\/p>\n<hr \/>\n<h2>\ud83d\udd25 Key Highlights<\/h2>\n<ul>\n<li>What is <strong>if-else-if<\/strong>? (With <strong>JavaScript if-else syntax<\/strong>)<\/li>\n<li>How <strong>if-else-if in JavaScript<\/strong> works with a <strong>flowchart<\/strong><\/li>\n<li>Real-world <strong>if-else JavaScript examples<\/strong>: Grading system &amp; login system<\/li>\n<li><strong>if-else-if vs switch case in JavaScript<\/strong> \u2013 When to use what?<\/li>\n<li>Common mistakes &amp; best practices<\/li>\n<li>A <strong>fun challenge<\/strong> for you! \ud83d\udcdd<\/li>\n<\/ul>\n<figure id=\"attachment_8816\" aria-describedby=\"caption-attachment-8816\" style=\"width: 767px\" class=\"wp-caption aligncenter\"><img fetchpriority=\"high\" decoding=\"async\" class=\" wp-image-8816\" src=\"https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/if-else-if-in-JavaScript.png\" alt=\"javascript else if\" width=\"767\" height=\"431\" srcset=\"https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/if-else-if-in-JavaScript.png 1920w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/if-else-if-in-JavaScript-300x169.png 300w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/if-else-if-in-JavaScript-1024x576.png 1024w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/if-else-if-in-JavaScript-768x432.png 768w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/if-else-if-in-JavaScript-1536x864.png 1536w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/if-else-if-in-JavaScript-332x187.png 332w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/if-else-if-in-JavaScript-664x374.png 664w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/if-else-if-in-JavaScript-688x387.png 688w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/if-else-if-in-JavaScript-1376x774.png 1376w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/if-else-if-in-JavaScript-1044x587.png 1044w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/if-else-if-in-JavaScript-1400x788.png 1400w\" sizes=\"(max-width: 767px) 100vw, 767px\" \/><figcaption id=\"caption-attachment-8816\" class=\"wp-caption-text\">if-else-if in JavaScript<\/figcaption><\/figure>\n<hr \/>\n<h2>1\ufe0f\u20e3 What is else if JavaScript?<\/h2>\n<p>Think of <strong>if-else-if<\/strong> as a decision tree. Your code checks one condition at a time until it finds one that\u2019s <strong>true<\/strong>.<\/p>\n<h3>Basic Syntax of JavaScript else if:<\/h3>\n<div class=\"code-embed-wrapper\"> <pre class=\"language-javascript code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-javascript code-embed-code\">if (condition1) {<br\/>    \/\/ Executes if condition1 is true<br\/>} else if (condition2) {<br\/>    \/\/ Executes if condition1 is false and condition2 is true<br\/>} else {<br\/>    \/\/ Executes if none are true<br\/>}<\/code><\/pre> <div class=\"code-embed-infos\"> <\/div> <\/div>\n<h3>\ud83d\udd39 Quick Rules of Thumb:<\/h3>\n<ul>\n<li>Always start with <code class=\"\" data-line=\"\">if<\/code>.<\/li>\n<li>Use <code class=\"\" data-line=\"\">else if<\/code> for additional checks.<\/li>\n<li>Always add <code class=\"\" data-line=\"\">else<\/code> as a fallback (good practice!).<\/li>\n<\/ul>\n<hr \/>\n<h2>2\ufe0f\u20e3 Real-World Example: Grading System using\u00a0 <a href=\"https:\/\/www.wikitechy.com\/tutorials\/javascript\/javascript-if-else\" target=\"_blank\" rel=\"noopener\">js else if<\/a><\/h2>\n<p>Let\u2019s say we\u2019re building a grading system. Based on a student\u2019s score, we\u2019ll assign a grade.<\/p>\n<pre><code class=\"language-javascript\" data-line=\"\">let score = 85;\n\nif (score &gt;= 90) {\n    console.log(&quot;Grade: A \ud83c\udfaf&quot;);\n} else if (score &gt;= 80) {\n    console.log(&quot;Grade: B \ud83d\udc4d&quot;);\n} else if (score &gt;= 70) {\n    console.log(&quot;Grade: C \ud83d\ude42&quot;);\n} else {\n    console.log(&quot;Grade: F \u274c&quot;);\n}\n<\/code><\/pre>\n<h3>\ud83d\udca1 What\u2019s happening here?<\/h3>\n<ul>\n<li>If the score is <strong>90 or above<\/strong>, the student gets an <strong>A<\/strong>.<\/li>\n<li>If it\u2019s <strong>80-89<\/strong>, they get a <strong>B<\/strong>.<\/li>\n<li>If it\u2019s <strong>70-79<\/strong>, they get a <strong>C<\/strong>.<\/li>\n<li>Anything lower? <strong>F<\/strong> (Ouch! Better luck next time.)<\/li>\n<\/ul>\n<hr \/>\n<h2>3\ufe0f\u20e3 Real-World Use Case: Login System with if else if JavaScript<\/h2>\n<p>Websites use <strong>if-else-if in JavaScript<\/strong> to decide who gets access. Here\u2019s an example of a <strong>role-based login system<\/strong><\/p>\n<div class=\"code-embed-wrapper\"> <pre class=\"language-javascript code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-javascript code-embed-code\">let userRole = &quot;admin&quot;;<br\/><br\/>if (userRole === &quot;admin&quot;) {<br\/>    console.log(&quot;Welcome, Admin! Full access granted.&quot;);<br\/>} else if (userRole === &quot;editor&quot;) {<br\/>    console.log(&quot;Welcome, Editor! You can edit content.&quot;);<br\/>} else if (userRole === &quot;viewer&quot;) {<br\/>    console.log(&quot;Welcome, Viewer! Read-only access.&quot;);<br\/>} else {<br\/>    console.log(&quot;Access Denied!&quot;);<br\/>}<\/code><\/pre> <div class=\"code-embed-infos\"> <\/div> <\/div>\n<h3>\ud83d\udee0 Why does this matter?<\/h3>\n<ul>\n<li>Many membership-based websites use <strong>JavaScript decision-making<\/strong> like this.<\/li>\n<li>It\u2019s a common <strong>if-else-if statement in JavaScript<\/strong> used in <strong>authentication systems<\/strong>.<\/li>\n<\/ul>\n<hr \/>\n<h2>4\ufe0f\u20e3 if-else-if vs. switch: Which One is Better? \ud83e\udd14<\/h2>\n<figure id=\"attachment_8819\" aria-describedby=\"caption-attachment-8819\" style=\"width: 551px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\" wp-image-8819\" src=\"https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/if-else-if-vs.-switch.png\" alt=\"javascript else if\" width=\"551\" height=\"567\" srcset=\"https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/if-else-if-vs.-switch.png 680w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/if-else-if-vs.-switch-291x300.png 291w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/if-else-if-vs.-switch-332x342.png 332w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/if-else-if-vs.-switch-664x684.png 664w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/if-else-if-vs.-switch-24x24.png 24w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/if-else-if-vs.-switch-48x48.png 48w\" sizes=\"(max-width: 551px) 100vw, 551px\" \/><figcaption id=\"caption-attachment-8819\" class=\"wp-caption-text\">if-else-if vs. switch<\/figcaption><\/figure>\n<h3><strong>if-else-if vs switch case in JavaScript:<\/strong><\/h3>\n<table>\n<thead>\n<tr>\n<th>Feature<\/th>\n<th>if-else-if<\/th>\n<th>switch<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>Best for<\/strong><\/td>\n<td>Checking <strong>ranges<\/strong> or <strong>multiple conditions<\/strong><\/td>\n<td>Checking <strong>fixed values<\/strong> (like menu options)<\/td>\n<\/tr>\n<tr>\n<td><strong>Performance<\/strong><\/td>\n<td>Slower when too many conditions exist<\/td>\n<td>Can be <strong>faster<\/strong> in some cases<\/td>\n<\/tr>\n<tr>\n<td><strong>Readability<\/strong><\/td>\n<td>Can get messy with many conditions<\/td>\n<td>More <strong>structured &amp; cleaner<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\ud83d\udca1 When to use what?<\/h3>\n<p>\u2714\ufe0f Use <strong>if-else-if<\/strong> for number ranges (like grades or age groups). \u2714\ufe0f Use <strong>switch<\/strong> when checking <strong>fixed values<\/strong> (like menu buttons).<\/p>\n<h4>Example: Using <code class=\"\" data-line=\"\">switch<\/code> for Days of the Week \ud83d\uddd3<\/h4>\n<pre><code class=\"language-javascript\" data-line=\"\">switch (day) {\n    case &quot;Monday&quot;: console.log(&quot;Start of the work week.&quot;); break;\n    case &quot;Tuesday&quot;: console.log(&quot;Still early in the week.&quot;); break;\n    case &quot;Wednesday&quot;: console.log(&quot;Midweek!&quot;); break;\n    case &quot;Thursday&quot;: console.log(&quot;Almost there!&quot;); break;\n    case &quot;Friday&quot;: console.log(&quot;Weekend incoming!&quot;); break;\n    default: console.log(&quot;It&#039;s the weekend!&quot;);\n}\n<\/code><\/pre>\n<p>\u2714\ufe0f <strong>Why?<\/strong> <code class=\"\" data-line=\"\">switch<\/code> makes code <strong>cleaner<\/strong> when checking fixed values.<\/p>\n<hr \/>\n<h2>5\ufe0f\u20e3 Common Mistakes in JavaScript if else and Best Practices\u26a1<\/h2>\n<figure id=\"attachment_8818\" aria-describedby=\"caption-attachment-8818\" style=\"width: 548px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\" wp-image-8818\" src=\"https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/if-else-JavaScript.png\" alt=\"javascript else if\" width=\"548\" height=\"398\" srcset=\"https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/if-else-JavaScript.png 609w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/if-else-JavaScript-300x218.png 300w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/if-else-JavaScript-332x241.png 332w\" sizes=\"(max-width: 548px) 100vw, 548px\" \/><figcaption id=\"caption-attachment-8818\" class=\"wp-caption-text\">if else JavaScript<\/figcaption><\/figure>\n<h3>\ud83d\udea8 Mistake 1: Too Many Else-If Conditions<\/h3>\n<p>\u274c <strong>Bad Example:<\/strong> (Too many redundant checks)<\/p>\n<div class=\"code-embed-wrapper\"> <pre class=\"language-javascript code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-javascript code-embed-code\">if (score &gt;= 90) {<br\/>    console.log(&quot;A&quot;);<br\/>} else if (score &gt;= 80 &amp;&amp; score &lt; 90) {<br\/>    console.log(&quot;B&quot;);<br\/>}<\/code><\/pre> <div class=\"code-embed-infos\"> <\/div> <\/div>\n<p>\u2705 <strong>Better Approach:<\/strong> (Cleaner &amp; more readable)<\/p>\n<div class=\"code-embed-wrapper\"> <pre class=\"language-javascript code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-javascript code-embed-code\">if (score &gt;= 90) console.log(&quot;A&quot;);<br\/>else if (score &gt;= 80) console.log(&quot;B&quot;);<\/code><\/pre> <div class=\"code-embed-infos\"> <\/div> <\/div>\n<p>\u2714\ufe0f <strong>Why?<\/strong> Shorter &amp; easier to read!<\/p>\n<h3>\ud83d\udea8 Mistake 2: Forgetting the Else Block<\/h3>\n<p>\u2705 Always include <code class=\"\" data-line=\"\">else<\/code> to handle unexpected inputs!<\/p>\n<div class=\"code-embed-wrapper\"> <pre class=\"language-javascript code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-javascript code-embed-code\">if (userRole === &quot;admin&quot;) {<br\/>    console.log(&quot;Admin Access&quot;);<br\/>} else if (userRole === &quot;editor&quot;) {<br\/>    console.log(&quot;Editor Access&quot;);<br\/>}<\/code><\/pre> <div class=\"code-embed-infos\"> <\/div> <\/div>\n<p>\u2705 <strong>Better Approach:<\/strong><\/p>\n<div class=\"code-embed-wrapper\"> <pre class=\"language-javascript code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-javascript code-embed-code\">if (userRole === &quot;admin&quot;) {<br\/>    console.log(&quot;Admin Access&quot;);<br\/>} else if (userRole === &quot;editor&quot;) {<br\/>    console.log(&quot;Editor Access&quot;);<br\/>} else {<br\/>    console.log(&quot;Unknown role!&quot;);<br\/>}<\/code><\/pre> <div class=\"code-embed-infos\"> <\/div> <\/div>\n<hr \/>\n<h2>6\ufe0f\u20e3 Challenge: Can You Solve This? \ud83d\udcdd<\/h2>\n<p>Write an <strong>if-else-if statement<\/strong> that checks the weather and prints:<\/p>\n<ul>\n<li>\u2600\ufe0f &#8220;It&#8217;s sunny! Wear sunglasses \ud83d\ude0e&#8221; if <code class=\"\" data-line=\"\">weather === &quot;sunny&quot;<\/code><\/li>\n<li>\u2614 &#8220;It&#8217;s rainy! Take an umbrella&#8221; if <code class=\"\" data-line=\"\">weather === &quot;rainy&quot;<\/code><\/li>\n<li>\u2744\ufe0f &#8220;It&#8217;s snowy! Wear a jacket&#8221; if <code class=\"\" data-line=\"\">weather === &quot;snowy&quot;<\/code><\/li>\n<li>&#8220;Weather unknown&#8221; otherwise<\/li>\n<\/ul>\n<p>Drop your answer in the comments below! \ud83d\udc47<\/p>\n<hr \/>\n<h2>\ud83d\udee0 Best Practices with if else if JavaScript<\/h2>\n<ul>\n<li>Keep it clean: Too many else if can get messy. Consider refactoring if you&#8217;re over 4-5 branches.<\/li>\n<li>Use strict equality (===) to avoid type coercion bugs.<\/li>\n<li>Don&#8217;t forget the final else \u2013 it catches everything unhandled!<\/li>\n<li>Comment your logic, especially when conditions are complex.<\/li>\n<\/ul>\n<hr \/>\n<h2><strong>\ud83e\uddf0 Real-World Applications of\u00a0 js else if<\/strong><\/h2>\n<figure id=\"attachment_8820\" aria-describedby=\"caption-attachment-8820\" style=\"width: 641px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-8820\" src=\"https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/Real-World-Applications-of-if-else-if-JavaScript.png\" alt=\"javascript else\" width=\"641\" height=\"427\" srcset=\"https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/Real-World-Applications-of-if-else-if-JavaScript.png 1536w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/Real-World-Applications-of-if-else-if-JavaScript-300x200.png 300w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/Real-World-Applications-of-if-else-if-JavaScript-1024x683.png 1024w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/Real-World-Applications-of-if-else-if-JavaScript-768x512.png 768w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/Real-World-Applications-of-if-else-if-JavaScript-332x221.png 332w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/Real-World-Applications-of-if-else-if-JavaScript-664x443.png 664w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/Real-World-Applications-of-if-else-if-JavaScript-688x459.png 688w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/Real-World-Applications-of-if-else-if-JavaScript-1044x696.png 1044w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/03\/Real-World-Applications-of-if-else-if-JavaScript-1400x933.png 1400w\" sizes=\"(max-width: 641px) 100vw, 641px\" \/><figcaption id=\"caption-attachment-8820\" class=\"wp-caption-text\">Real-World Applications of if else if JavaScript<\/figcaption><\/figure>\n<p>You\u2019ll find javascript else if in places like:<\/p>\n<p>\ud83d\udeaa Login &amp; Access Control Systems<\/p>\n<p>\ud83e\uddfe Billing &amp; Pricing Calculations<\/p>\n<p>\ud83e\udde0 AI\/ML-Based Decision Engines (basic prototypes)<\/p>\n<p>\ud83d\udcc5 Dynamic UI Elements (changing views on user input)<\/p>\n<p>\ud83d\udcdd Form Validation Systems<\/p>\n<hr \/>\n<h2>Final Thoughts: Why if else if JavaScript is a Must-Know<\/h2>\n<p>\u2714\ufe0f Helps control program flow <strong>efficiently<\/strong>.<\/p>\n<p>\u2714\ufe0f Used in <strong>authentication, pricing, AI decision trees<\/strong>.<\/p>\n<p>\u2714\ufe0f A <strong>must-know<\/strong> for every JavaScript developer! especially in fields like <a href=\"https:\/\/www.kaashivinfotech.com\/mern-full-stack-developer-course-in-chennai\/\">MERN Stack<\/a> or <a href=\"https:\/\/www.kaashivinfotech.com\/mean-full-stack-developer-course-in-chennai\/\">MEAN Stack<\/a> development! \ud83d\ude80<\/p>\n<p>\ud83d\udc49 If you found this helpful, comment \u00a0for more <a href=\"https:\/\/www.wikitechy.com\/tutorials\/javascript\/\" target=\"_blank\" rel=\"noopener\"><strong>JavaScript tutorials<\/strong><\/a>! \ud83d\ude80<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ever wondered how websites make decisions\u2014like showing different content based on user actions? Or how login systems decide who gets in and who doesn&#8217;t?That\u2019s all thanks to JavaScript else if, one of the most powerful conditional statements in web development. In this article, I\u2019ll break down everything you need to know about JavaScript else if, [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":4770,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3383,3203],"tags":[7910,7913,7916,7914,7915,7917,7909,7911,7918,7912],"class_list":["post-4766","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-java-script","category-programming","tag-else-if-javascript","tag-if-else-if-javascript","tag-if-else-in-js","tag-javascript-conditional-statements","tag-javascript-control-flow","tag-javascript-decision-making","tag-javascript-else-if","tag-javascript-if-else","tag-javascript-programming","tag-js-else-if"],"_links":{"self":[{"href":"https:\/\/www.kaashivinfotech.com\/blog\/wp-json\/wp\/v2\/posts\/4766","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kaashivinfotech.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kaashivinfotech.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kaashivinfotech.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kaashivinfotech.com\/blog\/wp-json\/wp\/v2\/comments?post=4766"}],"version-history":[{"count":0,"href":"https:\/\/www.kaashivinfotech.com\/blog\/wp-json\/wp\/v2\/posts\/4766\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kaashivinfotech.com\/blog\/wp-json\/wp\/v2\/media\/4770"}],"wp:attachment":[{"href":"https:\/\/www.kaashivinfotech.com\/blog\/wp-json\/wp\/v2\/media?parent=4766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kaashivinfotech.com\/blog\/wp-json\/wp\/v2\/categories?post=4766"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kaashivinfotech.com\/blog\/wp-json\/wp\/v2\/tags?post=4766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}