{"id":6387,"date":"2024-01-11T16:40:00","date_gmt":"2024-01-11T16:40:00","guid":{"rendered":"https:\/\/codehim.com\/?p=6387"},"modified":"2024-01-22T14:44:11","modified_gmt":"2024-01-22T09:44:11","slug":"javascript-stopwatch-with-milliseconds","status":"publish","type":"post","link":"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/","title":{"rendered":"JavaScript Stopwatch with Milliseconds"},"content":{"rendered":"<p>This JavaScript code snippet helps you to create a stopwatch with milliseconds. The plugin uses the <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/setInterval\" target=\"_blank\" rel=\"noopener\">interval function<\/a> to animate seconds and milliseconds. Moreover, the interface comes with the start, stop, and reset buttons to control the stopwatch.<\/p>\n<h2>How to Create JavaScript Stopwatch with Milliseconds<\/h2>\n<p>1. First of all, create the HTML structure as follows:<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;div class=\"wrapper\"&gt;\r\n&lt;h1&gt;Stopwatch&lt;\/h1&gt;\r\n&lt;h2&gt;Based on pure Javascript&lt;\/h2&gt; \r\n&lt;p&gt;&lt;span id=\"seconds\"&gt;00&lt;\/span&gt;:&lt;span id=\"tens\"&gt;00&lt;\/span&gt;&lt;\/p&gt;\r\n&lt;button id=\"button-start\"&gt;Start&lt;\/button&gt;\r\n&lt;button id=\"button-stop\"&gt;Stop&lt;\/button&gt;\r\n&lt;button id=\"button-reset\"&gt;Reset&lt;\/button&gt;\r\n&lt;\/div&gt; \r\n<\/pre>\n<p>2. After that, add the following CSS styles to your project:<\/p>\n<pre class=\"prettyprint linenums lang-css\">.wrapper {\r\n    background: #0f0c29;  \/* fallback for old browsers *\/\r\n    background: -webkit-linear-gradient(to right, #24243e, #302b63, #0f0c29);  \/* Chrome 10-25, Safari 5.1-6 *\/\r\n    background: linear-gradient(to right, #24243e, #302b63, #0f0c29); \/* W3C, IE 10+\/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ *\/\r\n  font-family: Arial;\r\n  width: 600px;\r\n  margin: 50px auto;\r\n  color: #fff;\r\n  text-align: center;\r\n    padding: 20px;\r\n}\r\n\r\nh1, h2, h3 {\r\n  font-family: 'Roboto', sans-serif;\r\n  font-weight: 100;\r\n  font-size: 2.6em;\r\n  text-transform: uppercase;\r\n}\r\n\r\n#seconds, #tens {\r\n  font-size: 2em;\r\n}\r\n\r\nbutton {\r\n  -moz-border-radius: 5px;\r\n  -webkit-border-radius: 5px;\r\n  border-radius: 5px;\r\n  -khtml-border-radius: 5px;\r\n  background: #ffa600;\r\n  color: #fff;\r\n  border: solid 1px #fff;\r\n  text-decoration: none;\r\n  cursor: pointer;\r\n  font-size: 1.2em;\r\n  padding: 18px 10px;\r\n  width: 180px;\r\n  margin: 10px;\r\n  outline: none;\r\n}\r\nbutton:hover {\r\n  -webkit-transition: all 0.5s ease-in-out;\r\n  -moz-transition: all 0.5s ease-in-out;\r\n  transition: all 0.5s ease-in-out;\r\n  background: #fff;\r\n  border: solid 1px #fff;\r\n  color: #ffa600;\r\n}<\/pre>\n<p>3. Finally, add the following JavaScript code and done.<\/p>\n<pre class=\"prettyprint linenums lang-js\">window.onload = function() {\r\n\r\n  var seconds = 00;\r\n  var tens = 00;\r\n  var appendTens = document.getElementById(\"tens\")\r\n  var appendSeconds = document.getElementById(\"seconds\")\r\n  var buttonStart = document.getElementById('button-start');\r\n  var buttonStop = document.getElementById('button-stop');\r\n  var buttonReset = document.getElementById('button-reset');\r\n  var Interval;\r\n\r\n  buttonStart.onclick = function() {\r\n    clearInterval(Interval);\r\n    Interval = setInterval(startTimer, 10);\r\n  }\r\n\r\n  buttonStop.onclick = function() {\r\n    clearInterval(Interval);\r\n  }\r\n\r\n  buttonReset.onclick = function() {\r\n    clearInterval(Interval);\r\n    tens = \"00\";\r\n    seconds = \"00\";\r\n    appendTens.innerHTML = tens;\r\n    appendSeconds.innerHTML = seconds;\r\n  }\r\n\r\n  function startTimer() {\r\n    tens++;\r\n\r\n    if (tens &lt; 9) {\r\n      appendTens.innerHTML = \"0\" + tens;\r\n    }\r\n\r\n    if (tens &gt; 9) {\r\n      appendTens.innerHTML = tens;\r\n\r\n    }\r\n\r\n    if (tens &gt; 99) {\r\n      seconds++;\r\n      appendSeconds.innerHTML = \"0\" + seconds;\r\n      tens = 0;\r\n      appendTens.innerHTML = \"0\" + 0;\r\n    }\r\n\r\n    if (seconds &gt; 9) {\r\n      appendSeconds.innerHTML = seconds;\r\n    }\r\n\r\n  }\r\n\r\n}<\/pre>\n<p>That&#8217;s all! hopefully, you have successfully integrated this stopwatch with millisecond code snippet into your project. If you have any questions or facing any issues, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This JavaScript code snippet helps you to create a stopwatch with milliseconds. The plugin uses the interval function to animate&#8230;<\/p>\n","protected":false},"author":1,"featured_media":6395,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[58],"tags":[],"class_list":["post-6387","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-date-time"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>JavaScript Stopwatch with Milliseconds &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a lightweight JavaScript code snippet to create stopwatch with milliseconds. You can view demo and download 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\/date-time\/javascript-stopwatch-with-milliseconds\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JavaScript Stopwatch with Milliseconds &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a lightweight JavaScript code snippet to create stopwatch with milliseconds. You can view demo and download source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/\" \/>\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-01-11T16:40:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T09:44:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/04\/www.codehim-9.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\/date-time\/javascript-stopwatch-with-milliseconds\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"JavaScript Stopwatch with Milliseconds\",\"datePublished\":\"2024-01-11T16:40:00+00:00\",\"dateModified\":\"2024-01-22T09:44:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/\"},\"wordCount\":107,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/04\/www.codehim-9.png\",\"articleSection\":[\"Date &amp; Time\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/\",\"url\":\"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/\",\"name\":\"JavaScript Stopwatch with Milliseconds &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/04\/www.codehim-9.png\",\"datePublished\":\"2024-01-11T16:40:00+00:00\",\"dateModified\":\"2024-01-22T09:44:11+00:00\",\"description\":\"Here is a lightweight JavaScript code snippet to create stopwatch with milliseconds. You can view demo and download source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/04\/www.codehim-9.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/04\/www.codehim-9.png\",\"width\":1280,\"height\":960,\"caption\":\"JavaScript Stopwatch with Milliseconds\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Date &amp; Time\",\"item\":\"https:\/\/codehim.com\/category\/date-time\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"JavaScript Stopwatch with Milliseconds\"}]},{\"@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":"JavaScript Stopwatch with Milliseconds &#8212; CodeHim","description":"Here is a lightweight JavaScript code snippet to create stopwatch with milliseconds. You can view demo and download 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\/date-time\/javascript-stopwatch-with-milliseconds\/","og_locale":"en_US","og_type":"article","og_title":"JavaScript Stopwatch with Milliseconds &#8212; CodeHim","og_description":"Here is a lightweight JavaScript code snippet to create stopwatch with milliseconds. You can view demo and download source code.","og_url":"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-11T16:40:00+00:00","article_modified_time":"2024-01-22T09:44:11+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/04\/www.codehim-9.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\/date-time\/javascript-stopwatch-with-milliseconds\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"JavaScript Stopwatch with Milliseconds","datePublished":"2024-01-11T16:40:00+00:00","dateModified":"2024-01-22T09:44:11+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/"},"wordCount":107,"commentCount":2,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/04\/www.codehim-9.png","articleSection":["Date &amp; Time"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/","url":"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/","name":"JavaScript Stopwatch with Milliseconds &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/04\/www.codehim-9.png","datePublished":"2024-01-11T16:40:00+00:00","dateModified":"2024-01-22T09:44:11+00:00","description":"Here is a lightweight JavaScript code snippet to create stopwatch with milliseconds. You can view demo and download source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/04\/www.codehim-9.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/04\/www.codehim-9.png","width":1280,"height":960,"caption":"JavaScript Stopwatch with Milliseconds"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/date-time\/javascript-stopwatch-with-milliseconds\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"Date &amp; Time","item":"https:\/\/codehim.com\/category\/date-time\/"},{"@type":"ListItem","position":3,"name":"JavaScript Stopwatch with Milliseconds"}]},{"@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":5620,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/6387","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=6387"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/6387\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/6395"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=6387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=6387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=6387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}