{"id":3674,"date":"2020-12-24T04:42:44","date_gmt":"2020-12-24T04:42:44","guid":{"rendered":"https:\/\/studysection.com\/blog\/?p=3674"},"modified":"2021-01-20T04:30:24","modified_gmt":"2021-01-20T04:30:24","slug":"basics-of-jquery","status":"publish","type":"post","link":"https:\/\/studysection.com\/blog\/basics-of-jquery\/","title":{"rendered":"Basics of jQuery"},"content":{"rendered":"<p>jQuery is the javaScript library to shorten the javaScript code.<br \/>\n For example \u2013<br \/>\n<img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2020\/12\/code1.png\" alt=\"code1\"\/><\/p>\n<p><strong>Note &#8211; document.querySelector(\u201ctag\u201d):-<\/strong> It will select the 1st matched tag of the page.<br \/>\nIn jQuery, to select all elements with the same tag we use $ simply.<br \/>\n<strong>For example \u2013<\/strong><br \/>\n<img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2020\/12\/code2.png\" alt=\"code2\"\/>  <\/p>\n<h2>Using jQuery in application<\/h2>\n<p>There are two ways to use jQuery &#8211; <\/p>\n<ol>\n<li>We can download it and add its link in href tag<\/li>\n<li>We can add its CDN<\/li>\n<\/ol>\n<h3>The preferred way to use jQuery<\/h3>\n<p>We always prefer the CDN method because most of the systems have pre-installed jQuery from google, hence jQuery will be loaded from cache and our application would be faster in terms of loading.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2020\/12\/code3.png\" alt=\"code3\"\/><\/p>\n<h3>jQuery Syntax<\/h3>\n<p>jQuery is for selecting html elements and performing actions on it.<br \/>\n<strong>$(selector).action();<\/strong><\/p>\n<p><strong>For example &#8211;<\/strong><br \/>\n<img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2020\/12\/code4.png\" alt=\"code4\"\/> <\/p>\n<h3>Selectors<\/h3>\n<p>To select any HTML element for performing actions on it, we need a selector to select elements.<br \/>\n<strong>#id selector<\/strong><br \/>\nIt is used to select elements on the basis of id. The id should be unique for every element on the whole page for correctly selecting the elements without any confusion.<\/p>\n<p><em>Syntax <\/em><br \/>\nUse # in front of id<br \/>\n<img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2020\/12\/code5.png\" alt=\"code5\"\/><\/p>\n<h3>.class selector<\/h3>\n<p>It is used to select elements on the basis of class. When we need to perform the same function on a group of elements, we give all those elements the same class name and then select on the basis of class to simultaneously perform an action on them.<\/p>\n<p><em>Syntax<\/em><br \/>\n<img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2020\/12\/code6.png\" alt=\"code6\"\/><\/p>\n<h3>Events<\/h3>\n<p>Event is a piece of information, which holds what happened to the page or what the user did.<br \/>\n<strong>For example<\/strong> &#8211; a mouse click, mouse hover, selecting a radio button, etc.<\/p>\n<p>We generally associate fire with events.<br \/>\n<img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2020\/12\/code7.png\" alt=\"code7\"\/><\/p>\n<h3>Adding effects\/Styling in jQuery \u2013<\/h3>\n<p>Styling in jQuery is very flexible.<br \/>\n<code>$(\u201celementName\u201d).css(\u201cproperty\u201d, \u201cvalue\u201d);<\/code><br \/>\n<img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2020\/12\/code8.png\" alt=\"code8\"\/><\/p>\n<p>Now if you want to get the value of the property then simply pass a single parameter i.e., the property you want to retrieve the value.<br \/>\n<code>$(\u201celementName\u201d).css(\u201cproperty\u201d);<\/code><br \/>\n<img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2020\/12\/code9.png\" alt=\"code9\"\/><\/p>\n<p><strong>To add class to elements \u2013<\/strong><br \/>\n<code>$(\u201celementName\u201d).addClass(\u201cclassName\u201d);<\/code><\/p>\n<p><strong>To add multiple classes to the same elements \u2013<\/strong><br \/>\n<code>$(\u201celementName\u201d).addClass(\u201cclassName1 className2 \u2026 n\u201d); \/\/ same quote, with space.<\/code><\/p>\n<p><strong>To remove class to elements \u2013<\/strong><br \/>\n<code>$(\u201celementName\u201d).removeClass(\u201cclassName\u201d);<\/code><\/p>\n<p><strong>To check whether class is applied or not \u2013<\/strong><br \/>\n<code>$(\u201celementName\u201d).hasClass(\u201cclassName\u201d);<\/code><\/p>\n<p><strong>Manipulating text with jQuery \u2013<\/strong><br \/>\n<code>$(\u201celementName\u201d).text(\u201ctext\u201d):<br \/>\n$(\u201celementName\u201d).html(\u201c&lt;htmlTags>text&lt;\/htmlTags\u201d):<\/code><\/p>\n<p><strong>Manipulating Attributes with jQuery \u2013<\/strong><br \/>\n<code>$(\u201celementName\u201d).attr(\u201csrc\u201d, \u201cwww.yahoo.com\u201d);<\/code><br \/>\nIf you want to get an attribute list, you will pass only one parameter i.e., the name of the attribute.<\/p>\n<h3>Adding Event Listener \u2013<\/h3>\n<p><code>$(\u201celementName\u201d).event(function(){<br \/>\n  \/\/whatever you want to do<br \/>\n});<\/code><br \/>\nExample \u2013<br \/>\n<img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2020\/12\/code10.png\" alt=\"code10\"\/><\/p>\n<p>Instead of clicking, we can use any of the events.<br \/>\nWe have one more way of doing this is as \u2013<br \/>\n<code>$(\u201celementName\u201d).on(\u201cevent\u201d, function(){<br \/>\n  \/\/whatever you want to do<br \/>\n});<\/code><br \/>\nExample \u2013<br \/>\n<img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2020\/12\/code11.png\" alt=\"code11\"\/><\/p>\n<p><strong>Chaining of Effects\/styling<\/strong><br \/>\nWe can simply chain effects one after another using dot(.)<br \/>\n<img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2020\/12\/code12.png\" alt=\"code12\"\/><\/p>\n<h3>Adding element through jQuery<\/h3>\n<p>We can also add and remove element through jQuery without actually changing HTML<\/p>\n<ul>\n<li>If we have an &lt;a> tag and we need a button before that &lt;a> tag.<br \/>\n<code>$(\u201ca\u201d).before(\u201c&lt;button>Click Me&lt;\/button>\u201d);<\/code><\/li>\n<li> If we have an &lt;a> tag and we need a button after that &lt;a> tag.<br \/>\n<code>$(\u201ca\u201d).after(\u201c&lt;button>Click Me&lt;\/button>\u201d);<\/code><\/li>\n<li>If we want to add inside the element but before the current value i.e., if we have an &lt;a> tag and we want to add a button inside that tag but before current href then we use prepend.<br \/>\n<code>$(\"a\").prepend(\"&lt;button> Click Me &lt;\/button>\");<\/code><\/li>\n<li>If we want to add inside the element but after the current value i.e., if we have an &lt;a> tag and we want to add a button inside that tag but after the current href then we use append.<br \/>\n<code>$(\"a\").apend(\"&lt;button> Click Me &lt;\/button>\");<\/code><\/li>\n<\/ul>\n<h3>Removing element through jQuery<\/h3>\n<p>Now removing element is also easy, let\u2019s say I want to remove all button then \u2013<br \/>\n<code>$(\u201cbutton\u201d).remove();<\/code><\/p>\n<h3>Animation with jQuery \u2013<\/h3>\n<p><strong>To hide \u2013<\/strong><br \/>\n<code>$(\u201celementName\u201d).hide();<\/code><\/p>\n<p><strong>To show \u2013<\/strong><br \/>\n<code>$(\u201celementName\u201d).show();<\/code><\/p>\n<p><strong>To hide and show with respect to the current state of the element i.e., show if hide and hide if show.<\/strong><br \/>\n<code>$(\u201celementName\u201d).toggle();<\/code><\/p>\n<p>In hide, the action is too quick to realize. To overcome this we have <em>fadeOut, fadeIn, and fadeToggle.<\/em><br \/>\nAlso, we have <em>slideUp, slideDown, slideToggle.<\/em><\/p>\n<p>We can also apply additional animation to our element, but we only use animation which has numeric value to the property inside animation such as font-size, opacity, margin, padding, etc.<\/p>\n<p><code>$(\u201celementName\u201d).animate({opacity:0.5});<\/code><br \/>\nTo combine more effects, we simply add methods.<br \/>\n<code>$(\u201celementName\u201d).hide().show().hide().show();<\/code><\/p>\n<p><small><em>If you have skills in PHP programming and you want to enhance your career in this field, a PHP certification from StudySection can help you reach your desired goals. Both beginner level and expert level <a href=\"https:\/\/www.studysection.com\/php-web-developer-foundation-diploma\">PHP Certification Exams<\/a> are offered by StudySection along with other programming certification exams. <\/em><\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>jQuery is the javaScript library to shorten the javaScript code. For example \u2013 Note &#8211; document.querySelector(\u201ctag\u201d):- It will select the<\/p>\n","protected":false},"author":1,"featured_media":3675,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[609,320,170],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>StudySection Blog - Basics of jQuery (JavaScript library).<\/title>\n<meta name=\"description\" content=\"We always prefer the CDN method because most of the systems have pre-installed jQuery from google, hence jQuery will be loaded from cache.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/studysection.com\/blog\/basics-of-jquery\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"StudySection Blog - Basics of jQuery (JavaScript library).\" \/>\n<meta property=\"og:description\" content=\"We always prefer the CDN method because most of the systems have pre-installed jQuery from google, hence jQuery will be loaded from cache.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/studysection.com\/blog\/basics-of-jquery\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog Posts on famous people, innovations and educational topics\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/studysection\" \/>\n<meta property=\"article:published_time\" content=\"2020-12-24T04:42:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-01-20T04:30:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2020\/12\/jquery.png\" \/>\n\t<meta property=\"og:image:width\" content=\"300\" \/>\n\t<meta property=\"og:image:height\" content=\"200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin-studysection-blog\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@studysection\" \/>\n<meta name=\"twitter:site\" content=\"@studysection\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin-studysection-blog\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/studysection.com\/blog\/basics-of-jquery\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/studysection.com\/blog\/basics-of-jquery\/\"},\"author\":{\"name\":\"admin-studysection-blog\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402\"},\"headline\":\"Basics of jQuery\",\"datePublished\":\"2020-12-24T04:42:44+00:00\",\"dateModified\":\"2021-01-20T04:30:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/studysection.com\/blog\/basics-of-jquery\/\"},\"wordCount\":700,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/studysection.com\/blog\/#organization\"},\"keywords\":[\"Basics of jQuery\",\"Front-end\",\"Jquery\"],\"articleSection\":[\"Learn and Grow\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/studysection.com\/blog\/basics-of-jquery\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/studysection.com\/blog\/basics-of-jquery\/\",\"url\":\"https:\/\/studysection.com\/blog\/basics-of-jquery\/\",\"name\":\"StudySection Blog - Basics of jQuery (JavaScript library).\",\"isPartOf\":{\"@id\":\"https:\/\/studysection.com\/blog\/#website\"},\"datePublished\":\"2020-12-24T04:42:44+00:00\",\"dateModified\":\"2021-01-20T04:30:24+00:00\",\"description\":\"We always prefer the CDN method because most of the systems have pre-installed jQuery from google, hence jQuery will be loaded from cache.\",\"breadcrumb\":{\"@id\":\"https:\/\/studysection.com\/blog\/basics-of-jquery\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/studysection.com\/blog\/basics-of-jquery\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/studysection.com\/blog\/basics-of-jquery\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/studysection.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Basics of jQuery\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/studysection.com\/blog\/#website\",\"url\":\"https:\/\/studysection.com\/blog\/\",\"name\":\"Blog Posts on famous people, innovations and educational topics\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/studysection.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/studysection.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/studysection.com\/blog\/#organization\",\"name\":\"StudySection\",\"url\":\"https:\/\/studysection.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png\",\"contentUrl\":\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png\",\"width\":920,\"height\":440,\"caption\":\"StudySection\"},\"image\":{\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/studysection\",\"https:\/\/twitter.com\/studysection\",\"https:\/\/www.instagram.com\/study.section\/\",\"https:\/\/www.linkedin.com\/company\/studysection\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402\",\"name\":\"admin-studysection-blog\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g\",\"caption\":\"admin-studysection-blog\"},\"url\":\"https:\/\/studysection.com\/blog\/author\/admin-studysection-blog\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"StudySection Blog - Basics of jQuery (JavaScript library).","description":"We always prefer the CDN method because most of the systems have pre-installed jQuery from google, hence jQuery will be loaded from cache.","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:\/\/studysection.com\/blog\/basics-of-jquery\/","og_locale":"en_US","og_type":"article","og_title":"StudySection Blog - Basics of jQuery (JavaScript library).","og_description":"We always prefer the CDN method because most of the systems have pre-installed jQuery from google, hence jQuery will be loaded from cache.","og_url":"https:\/\/studysection.com\/blog\/basics-of-jquery\/","og_site_name":"Blog Posts on famous people, innovations and educational topics","article_publisher":"https:\/\/www.facebook.com\/studysection","article_published_time":"2020-12-24T04:42:44+00:00","article_modified_time":"2021-01-20T04:30:24+00:00","og_image":[{"width":300,"height":200,"url":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2020\/12\/jquery.png","type":"image\/png"}],"author":"admin-studysection-blog","twitter_card":"summary_large_image","twitter_creator":"@studysection","twitter_site":"@studysection","twitter_misc":{"Written by":"admin-studysection-blog","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/studysection.com\/blog\/basics-of-jquery\/#article","isPartOf":{"@id":"https:\/\/studysection.com\/blog\/basics-of-jquery\/"},"author":{"name":"admin-studysection-blog","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402"},"headline":"Basics of jQuery","datePublished":"2020-12-24T04:42:44+00:00","dateModified":"2021-01-20T04:30:24+00:00","mainEntityOfPage":{"@id":"https:\/\/studysection.com\/blog\/basics-of-jquery\/"},"wordCount":700,"commentCount":0,"publisher":{"@id":"https:\/\/studysection.com\/blog\/#organization"},"keywords":["Basics of jQuery","Front-end","Jquery"],"articleSection":["Learn and Grow"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/studysection.com\/blog\/basics-of-jquery\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/studysection.com\/blog\/basics-of-jquery\/","url":"https:\/\/studysection.com\/blog\/basics-of-jquery\/","name":"StudySection Blog - Basics of jQuery (JavaScript library).","isPartOf":{"@id":"https:\/\/studysection.com\/blog\/#website"},"datePublished":"2020-12-24T04:42:44+00:00","dateModified":"2021-01-20T04:30:24+00:00","description":"We always prefer the CDN method because most of the systems have pre-installed jQuery from google, hence jQuery will be loaded from cache.","breadcrumb":{"@id":"https:\/\/studysection.com\/blog\/basics-of-jquery\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/studysection.com\/blog\/basics-of-jquery\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/studysection.com\/blog\/basics-of-jquery\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/studysection.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Basics of jQuery"}]},{"@type":"WebSite","@id":"https:\/\/studysection.com\/blog\/#website","url":"https:\/\/studysection.com\/blog\/","name":"Blog Posts on famous people, innovations and educational topics","description":"","publisher":{"@id":"https:\/\/studysection.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/studysection.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/studysection.com\/blog\/#organization","name":"StudySection","url":"https:\/\/studysection.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png","contentUrl":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png","width":920,"height":440,"caption":"StudySection"},"image":{"@id":"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/studysection","https:\/\/twitter.com\/studysection","https:\/\/www.instagram.com\/study.section\/","https:\/\/www.linkedin.com\/company\/studysection"]},{"@type":"Person","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402","name":"admin-studysection-blog","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g","caption":"admin-studysection-blog"},"url":"https:\/\/studysection.com\/blog\/author\/admin-studysection-blog\/"}]}},"views":332,"_links":{"self":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/3674"}],"collection":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/comments?post=3674"}],"version-history":[{"count":4,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/3674\/revisions"}],"predecessor-version":[{"id":3806,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/3674\/revisions\/3806"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/media\/3675"}],"wp:attachment":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/media?parent=3674"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/categories?post=3674"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/tags?post=3674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}