{"id":11594,"date":"2024-03-31T09:26:42","date_gmt":"2024-03-31T04:26:42","guid":{"rendered":"https:\/\/codehim.com\/?p=11594"},"modified":"2024-03-31T09:26:42","modified_gmt":"2024-03-31T04:26:42","slug":"cool-animated-text-in-javascript","status":"publish","type":"post","link":"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/","title":{"rendered":"Cool Animated Text In JavaScript"},"content":{"rendered":"<p>This code creates cool animated text using JavaScript. Characters move in a spiral motion. It&#8217;s visually engaging and dynamic. You can use this code to add eye-catching animated text to your website. It enhances visual appeal.<\/p>\n<h2>How to Create Cool Animated Text In Javascript<\/h2>\n<p>1. Begin by creating a new HTML file or opening an existing one in your <a href=\"https:\/\/codehim.com\/text-input\/html5-text-editor-with-file-reader-api\/\" target=\"_blank\" rel=\"noopener\">text editor<\/a>. Inside the <code>&lt;body&gt;<\/code> tag, create the container elements where you want your animated text to appear. For example:<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;div id=\"spiral\" class=\"spiral\"&gt;&lt;\/div&gt;\r\n&lt;div id=\"spiral2\" class=\"spiral\"&gt;&lt;\/div&gt;<\/pre>\n<p>2. Next, style your container elements and define the animation properties. Here&#8217;s a basic CSS setup:<\/p>\n<pre class=\"prettyprint linenums lang-css\">body{\r\n  min-height: 720px;\r\n  margin: 0;\r\n  display: flex;\r\n  justify-content: center;\r\n  align-items: center;\r\n  background: #040509 !important;\r\n  overflow: hidden;\r\n  font-size: 62.5%\r\n}\r\n\r\n\/* The @property CSS at-rule is part of the CSS Houdini umbrella of APIs. It *\/\r\n@property --angle {\r\n    syntax: '&lt;angle&gt;';\r\n    initial-value: 0deg;\r\n    inherits: false;\r\n}\r\n\r\n.spiral{\r\n  display: flex;\r\n  align-items: center;\r\n  gap: 10px;\r\n  position: absolute;\r\n  color: #e0ecef;\r\n  font-family: \"sans-serif\";\r\n}\r\n\r\n@keyframes spiral{\r\n  0%{\r\n    --angle: 0deg;\r\n  }\r\n  100%{\r\n    --angle: 360deg;\r\n  }\r\n}\r\n\r\n.character{\r\n  font-size: 2.8rem;\r\n  color: white;\r\n  text-transform: uppercase;\r\n  transform: translateY(calc(sin(var(--angle)) * 100px)) scale(calc(cos(var(--angle)) * 0.5 + 0.5));\r\n  animation: spiral 4s linear infinite;\r\n}\r\n\r\n@media (max-width: 490px){\r\n  .character{\r\n    font-size: 2.2rem\r\n  }\r\n}<\/pre>\n<p>3. Now, let&#8217;s add the JavaScript code to create the animation effect. Copy the following JavaScript code and paste it into your HTML file, preferably just before the closing <code>&lt;\/body&gt;<\/code> tag.<\/p>\n<pre class=\"prettyprint linenums lang-js\">let isFirefox = typeof InstallTrigger !== 'undefined';\r\nconst words = \"lucasfernandodev\";\r\n\r\nlet ANGLE = 360;\r\nconst ANIMATION_DURATION = 4000;\r\n\r\nconst animation = () =&gt; {\r\n  ANGLE -= 1; \/\/ Incremento do \u00e2ngulo\r\n  document.querySelectorAll(\".spiral *\").forEach((el, i) =&gt; {\r\n    \r\n    const translateY = Math.sin(ANGLE * (Math.PI \/ 120)) * 100;\r\n    const scale = Math.cos(ANGLE * (Math.PI \/ 120)) * 0.5 + 0.5;\r\n    \r\n    \r\n    const offset = parseInt(el.dataset.offset);\r\n    const delay = i * (ANIMATION_DURATION \/ 16) - offset;\r\n\r\n    setTimeout(() =&gt; {\r\n      el.style.transform = `translateY(${translateY}px) scale(${scale})`;\r\n    }, delay);\r\n  });\r\n\r\n  requestAnimationFrame(animation);\r\n};\r\n\r\nconst characters = words.split(\"\").forEach((char, i) =&gt; {\r\n  const createElement = (offset) =&gt; {\r\n    const div = document.createElement(\"div\");\r\n    div.innerText = char;\r\n    div.classList.add(\"character\");\r\n    div.setAttribute(\"data-offset\", offset);\r\n    div.style.animationDelay = `-${i * (ANIMATION_DURATION \/ 16) - offset}ms`\r\n    return div;\r\n  };\r\n\r\n  document.querySelector(\"#spiral\").append(createElement(0));\r\n  document\r\n    .querySelector(\"#spiral2\")\r\n    .append(createElement((isFirefox ? 1 : -1) * (ANIMATION_DURATION \/ 2)));\r\n});\r\n\r\n\r\n\/\/ @property CSS doesn't work in Firefox, so it must be animated using JavaScript.\r\nif(isFirefox){\r\n  animation();\r\n}<\/pre>\n<p>Save your HTML file and open it in a web browser. You should now see the cool animated text effect displayed on your website. You can customize the text by changing the <code>words<\/code> variable in the JavaScript code to your desired text.<\/p>\n<p>Experiment with different styling and text options to create unique effects that suit your website&#8217;s design.<\/p>\n<p>That&#8217;s all! hopefully, you have successfully created Cool Animated Text on your website. If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This code creates cool animated text using JavaScript. Characters move in a spiral motion. It&#8217;s visually engaging and dynamic. You&#8230;<\/p>\n","protected":false},"author":1,"featured_media":11600,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[116],"tags":[],"class_list":["post-11594","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vanilla-javascript"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Cool Animated Text In JavaScript &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a Cool Animated Text In JavaScript. You can view demo and download the source code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cool Animated Text In JavaScript &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a Cool Animated Text In JavaScript. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/\" \/>\n<meta property=\"og:site_name\" content=\"CodeHim\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/codehimofficial\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-31T04:26:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2024\/03\/Cool-Animated-Text-In-JavaScript.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"960\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Asif Mughal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:site\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Asif Mughal\" \/>\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:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"Cool Animated Text In JavaScript\",\"datePublished\":\"2024-03-31T04:26:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/\"},\"wordCount\":213,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2024\/03\/Cool-Animated-Text-In-JavaScript.png\",\"articleSection\":[\"Vanilla JavaScript\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/\",\"url\":\"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/\",\"name\":\"Cool Animated Text In JavaScript &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2024\/03\/Cool-Animated-Text-In-JavaScript.png\",\"datePublished\":\"2024-03-31T04:26:42+00:00\",\"description\":\"Here is a free code snippet to create a Cool Animated Text In JavaScript. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2024\/03\/Cool-Animated-Text-In-JavaScript.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2024\/03\/Cool-Animated-Text-In-JavaScript.png\",\"width\":1280,\"height\":960,\"caption\":\"Cool Animated Text In JavaScript\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Vanilla JavaScript\",\"item\":\"https:\/\/codehim.com\/category\/vanilla-javascript\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Cool Animated Text In JavaScript\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/codehim.com\/#website\",\"url\":\"https:\/\/codehim.com\/\",\"name\":\"CodeHim\",\"description\":\"Web Design Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"alternateName\":\"Web Design Codes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/codehim.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/codehim.com\/#organization\",\"name\":\"CodeHim - Web Design Code & Scripts\",\"url\":\"https:\/\/codehim.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"contentUrl\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"width\":280,\"height\":280,\"caption\":\"CodeHim - Web Design Code & Scripts\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/codehimofficial\",\"https:\/\/x.com\/CodeHimOfficial\",\"https:\/\/www.instagram.com\/codehim\/\",\"https:\/\/www.linkedin.com\/company\/codehim\",\"https:\/\/co.pinterest.com\/codehim\/\",\"https:\/\/www.youtube.com\/@codehim\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\",\"name\":\"Asif Mughal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"caption\":\"Asif Mughal\"},\"description\":\"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.\",\"sameAs\":[\"https:\/\/codehim.com\"],\"url\":\"https:\/\/codehim.com\/author\/asif-mughal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Cool Animated Text In JavaScript &#8212; CodeHim","description":"Here is a free code snippet to create a Cool Animated Text In JavaScript. You can view demo and download the source code.","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:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/","og_locale":"en_US","og_type":"article","og_title":"Cool Animated Text In JavaScript &#8212; CodeHim","og_description":"Here is a free code snippet to create a Cool Animated Text In JavaScript. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-03-31T04:26:42+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2024\/03\/Cool-Animated-Text-In-JavaScript.png","type":"image\/png"}],"author":"Asif Mughal","twitter_card":"summary_large_image","twitter_creator":"@CodeHimOfficial","twitter_site":"@CodeHimOfficial","twitter_misc":{"Written by":"Asif Mughal","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"Cool Animated Text In JavaScript","datePublished":"2024-03-31T04:26:42+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/"},"wordCount":213,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2024\/03\/Cool-Animated-Text-In-JavaScript.png","articleSection":["Vanilla JavaScript"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/","url":"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/","name":"Cool Animated Text In JavaScript &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2024\/03\/Cool-Animated-Text-In-JavaScript.png","datePublished":"2024-03-31T04:26:42+00:00","description":"Here is a free code snippet to create a Cool Animated Text In JavaScript. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2024\/03\/Cool-Animated-Text-In-JavaScript.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2024\/03\/Cool-Animated-Text-In-JavaScript.png","width":1280,"height":960,"caption":"Cool Animated Text In JavaScript"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/vanilla-javascript\/cool-animated-text-in-javascript\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"Vanilla JavaScript","item":"https:\/\/codehim.com\/category\/vanilla-javascript\/"},{"@type":"ListItem","position":3,"name":"Cool Animated Text In JavaScript"}]},{"@type":"WebSite","@id":"https:\/\/codehim.com\/#website","url":"https:\/\/codehim.com\/","name":"CodeHim","description":"Web Design Code Snippets","publisher":{"@id":"https:\/\/codehim.com\/#organization"},"alternateName":"Web Design Codes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codehim.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codehim.com\/#organization","name":"CodeHim - Web Design Code & Scripts","url":"https:\/\/codehim.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/","url":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","contentUrl":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","width":280,"height":280,"caption":"CodeHim - Web Design Code & Scripts"},"image":{"@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/codehimofficial","https:\/\/x.com\/CodeHimOfficial","https:\/\/www.instagram.com\/codehim\/","https:\/\/www.linkedin.com\/company\/codehim","https:\/\/co.pinterest.com\/codehim\/","https:\/\/www.youtube.com\/@codehim"]},{"@type":"Person","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed","name":"Asif Mughal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","caption":"Asif Mughal"},"description":"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.","sameAs":["https:\/\/codehim.com"],"url":"https:\/\/codehim.com\/author\/asif-mughal\/"}]}},"views":1542,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/11594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/comments?post=11594"}],"version-history":[{"count":3,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/11594\/revisions"}],"predecessor-version":[{"id":11620,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/11594\/revisions\/11620"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/11600"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=11594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=11594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=11594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}