{"id":19770,"date":"2020-07-17T20:02:27","date_gmt":"2020-07-18T03:02:27","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=19770"},"modified":"2021-01-04T02:54:09","modified_gmt":"2021-01-04T10:54:09","slug":"javascript-to-fixed","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/javascript-to-fixed\/","title":{"rendered":"JavaScript Methods: toFixed() \u2013 a Number method"},"content":{"rendered":"\n<p><em>There exists a Number object method in JavaScript that allows us to set a fixed decimal point on a number and then returns it as a string. This article will talk about the syntax of this method and illustrate how to use it.&nbsp;<\/em><br><\/p>\n\n\n\n<p>When we talk about primitive in JavaScript, we are talking about items that are not Objects and do not have any methods associated with them. When we want to take a primitive value and make it an object, we can do that with primitive wrappers that can go around the value or data type.&nbsp;<br><\/p>\n\n\n\n<p>Numbers have a primitive wrapper object. We use it to turn string representations of a number to an actual Number object that has methods we can perform on it.&nbsp;<br><\/p>\n\n\n\n<p>Say for instance we have a string representation of a number because we had a form that required the user to insert a number value for a field on the screen. We can take that input, turn it into a Number, and then use any number of methods to work with that value.&nbsp;<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n &lt;head&gt;\n   &lt;meta charset=&quot;utf-8&quot;&gt;\n   &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width&quot;&gt;\n   &lt;title&gt;repl.it&lt;\/title&gt;\n   &lt;link href=&quot;style.css&quot; rel=&quot;stylesheet&quot; type=&quot;text\/css&quot; \/&gt;\n &lt;\/head&gt;\n &lt;body&gt;\n   &lt;form onsubmit=handleSubmit(event)&gt;\n     &lt;label for=&quot;to-fixed&quot;&gt;Enter a number:&lt;\/label&gt;\n     &lt;input id=&quot;to-fixed&quot; onchange=handleChange(event) type=&quot;text&quot; name=&quot;inputVal&quot; value=&quot;&quot;\/&gt;\n     &lt;label for=&quot;num-digits&quot;&gt;Num places:&lt;\/label&gt;\n     &lt;input id=&quot;num-digits&quot; onchange=handleChange(event) type=&quot;text&quot; name=&quot;numVal&quot; value=&quot;&quot;\/&gt;\n \n     &lt;input type=&quot;submit&quot; value=&quot;Submit&quot; \/&gt;\n   &lt;\/form&gt;\n \n   &lt;h3 id=&quot;root&quot;&gt;&lt;\/h3&gt;\n \n   &lt;script&gt;\n     let inputVal = '';\n     let numVal = '';\n \n     const handleChange = e =&gt; {\n       if(e.target.name === &quot;inputVal&quot;) {\n         inputVal = e.target.value;\n       } else {\n         numVal = e.target.value;\n       }\n       console.log(e.currentTarget, e.target)\n \n     }\n     const handleSubmit = e =&gt; {\n       e.preventDefault();\n       console.log(e)\n       const root = document.querySelector(&quot;#root&quot;);\n       root.innerHTML = Number(inputVal).toFixed(Number(numVal));\n       console.log(Number(inputVal).toFixed(5))\n \n     }\n     const inputValue = document.getElementById(&quot;to-fixed&quot;).value\n   &lt;\/script&gt;\n &lt;\/body&gt;\n&lt;\/html&gt;<\/pre><\/div>\n\n\n\n<p>Here, we used the Number object\u2019s toFixed() method to make the number the length we want it. The syntax for the method is as follows:&nbsp;<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>       const toFixedNumDigits = Number([x]).toFixed(Number([y]));\n<\/pre><\/div>\n\n\n\n<p>If dealing with forms, there is one thing you have to remember: these values come in as strings. So in order to use the <code>toFixed() <\/code>method on them, you have to turn them into Number representations.&nbsp;<br><\/p>\n\n\n\n<p>We do that here by encapsulating the inputs with the Number(n) wrapper. The first variable, x, is the floating point number you would like to shorten (or lengthen as the case may be). The second variable, y, is the number of places you want the number to go out to past the decimal point.&nbsp;<br><\/p>\n\n\n\n<p>Try a few of these numbers out for yourself to see what you get back in the code editor:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Enter a number:         Num places:\n\/\/floats\n45.45678                3  \/\/ Returns '45.457'\n\/\/integers\n45                    \t 5  \/\/ Returns '45.00000'\n\/\/exponential notation\n1e-10                   3  \/\/ Returns '0.00'\n1.23e+20                2  \/\/ Returns '123000000000000000000.00'\n1.23e-10                2  \/\/ Returns '0.00'\n<\/pre><\/div>\n\n\n\n<p>As you can see the number of digits adjusts based on the y variable you plugged into the Num Places input. If the number isn\u2019t long enough to compensate for the Num Places value, it will pad the string with zeros until the desired length is reached.&nbsp;<br><\/p>\n\n\n\n<p>If the number is long and the Num Places input is shorter than the available digits you have after the decimal point, it will shorten the number and round off the end to return the desired string representation of the number.&nbsp;<br><\/p>\n\n\n\n<p><strong><em>Please Note<\/em><\/strong>: If you want to work with it as a number in your logic after it has been manipulated and returned, you will have to turn it back into a number using the Number primitive wrapper like we did above.&nbsp;<br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>What to Learn Next?<\/strong><\/h3>\n\n\n\n<p><a href=\"https:\/\/careerkarma.com\/blog\/javascript-random-number\/\">JavaScript Random Number: A Complete Guide<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/careerkarma.com\/blog\/javascript-parseint\/\">JavaScript ParseInt: A Step-By-Step Guide<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/careerkarma.com\/blog\/javascript-countdown-timer\/\">JavaScript Countdown Timer: A Tutorial<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/careerkarma.com\/blog\/javascript-tostring\/\">JavaScript toString<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/careerkarma.com\/blog\/javascript-touppercase-tolowercase\/\">JavaScript toUpperCase and toLowerCase<\/a><br><\/p>\n","protected":false},"excerpt":{"rendered":"There exists a Number object method in JavaScript that allows us to set a fixed decimal point on a number and then returns it as a string. This article will talk about the syntax of this method and illustrate how to use it.&nbsp; When we talk about primitive in JavaScript, we are talking about items&hellip;","protected":false},"author":77,"featured_media":19771,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[11933],"tags":[],"class_list":{"0":"post-19770","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-javascript"},"acf":{"post_sub_title":"","sprint_id":"","query_class":"JavaScript","school_sft":"","parent_sft":"","school_privacy_policy":"","has_review":null,"is_sponser_post":"","is_guest_post":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>JavaScript Methods: toFixed() \u2013 a Number method | Career Karma<\/title>\n<meta name=\"description\" content=\"Sometimes there\u2019s no need to work with floats that are several decimal places \u2013 a method exists that rounds off numbers to a certain number of places and turns it into a string.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/careerkarma.com\/blog\/javascript-to-fixed\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JavaScript Methods: toFixed() \u2013 a Number method\" \/>\n<meta property=\"og:description\" content=\"Sometimes there\u2019s no need to work with floats that are several decimal places \u2013 a method exists that rounds off numbers to a certain number of places and turns it into a string.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/javascript-to-fixed\/\" \/>\n<meta property=\"og:site_name\" content=\"Career Karma\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/careerkarmaapp\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-18T03:02:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-01-04T10:54:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/balloon.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"668\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Christina Kopecky\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@career_karma\" \/>\n<meta name=\"twitter:site\" content=\"@career_karma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Christina Kopecky\" \/>\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:\\\/\\\/careerkarma.com\\\/blog\\\/javascript-to-fixed\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/javascript-to-fixed\\\/\"},\"author\":{\"name\":\"Christina Kopecky\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/ae0cdc4a5d198690d78482646894074e\"},\"headline\":\"JavaScript Methods: toFixed() \u2013 a Number method\",\"datePublished\":\"2020-07-18T03:02:27+00:00\",\"dateModified\":\"2021-01-04T10:54:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/javascript-to-fixed\\\/\"},\"wordCount\":486,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/javascript-to-fixed\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/balloon.jpg\",\"articleSection\":[\"JavaScript\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/javascript-to-fixed\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/javascript-to-fixed\\\/\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/javascript-to-fixed\\\/\",\"name\":\"JavaScript Methods: toFixed() \u2013 a Number method | Career Karma\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/javascript-to-fixed\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/javascript-to-fixed\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/balloon.jpg\",\"datePublished\":\"2020-07-18T03:02:27+00:00\",\"dateModified\":\"2021-01-04T10:54:09+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/ae0cdc4a5d198690d78482646894074e\"},\"description\":\"Sometimes there\u2019s no need to work with floats that are several decimal places \u2013 a method exists that rounds off numbers to a certain number of places and turns it into a string.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/javascript-to-fixed\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/javascript-to-fixed\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/javascript-to-fixed\\\/#primaryimage\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/balloon.jpg\",\"contentUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/balloon.jpg\",\"width\":1000,\"height\":668},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/javascript-to-fixed\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JavaScript\",\"item\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/javascript\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"JavaScript Methods: toFixed() \u2013 a Number method\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/\",\"name\":\"Career Karma\",\"description\":\"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/ae0cdc4a5d198690d78482646894074e\",\"name\":\"Christina Kopecky\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/image-3-150x150.jpg\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/image-3-150x150.jpg\",\"contentUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/image-3-150x150.jpg\",\"caption\":\"Christina Kopecky\"},\"description\":\"Christina is an experienced technical writer, covering topics as diverse as Java, SQL, Python, and web development. She earned her Master of Music in flute performance from the University of Kansas and a bachelor's degree in music with minors in French and mass communication from Southeast Missouri State. Prior to joining the Career Karma team in June 2020, Christina was a teaching assistant, team lead, and section lead at Lambda School, where she led student groups, performed code and project reviews, and debugged problems for students. Christina's technical content is featured frequently in publications like Codecademy, Repl.it, and Educative.\",\"sameAs\":[\"http:\\\/\\\/www.linkedin.com\\\/in\\\/cmvnk\"],\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/author\\\/christina-kopecky\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"JavaScript Methods: toFixed() \u2013 a Number method | Career Karma","description":"Sometimes there\u2019s no need to work with floats that are several decimal places \u2013 a method exists that rounds off numbers to a certain number of places and turns it into a string.","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:\/\/careerkarma.com\/blog\/javascript-to-fixed\/","og_locale":"en_US","og_type":"article","og_title":"JavaScript Methods: toFixed() \u2013 a Number method","og_description":"Sometimes there\u2019s no need to work with floats that are several decimal places \u2013 a method exists that rounds off numbers to a certain number of places and turns it into a string.","og_url":"https:\/\/careerkarma.com\/blog\/javascript-to-fixed\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-07-18T03:02:27+00:00","article_modified_time":"2021-01-04T10:54:09+00:00","og_image":[{"width":1000,"height":668,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/balloon.jpg","type":"image\/jpeg"}],"author":"Christina Kopecky","twitter_card":"summary_large_image","twitter_creator":"@career_karma","twitter_site":"@career_karma","twitter_misc":{"Written by":"Christina Kopecky","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/javascript-to-fixed\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/javascript-to-fixed\/"},"author":{"name":"Christina Kopecky","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/ae0cdc4a5d198690d78482646894074e"},"headline":"JavaScript Methods: toFixed() \u2013 a Number method","datePublished":"2020-07-18T03:02:27+00:00","dateModified":"2021-01-04T10:54:09+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/javascript-to-fixed\/"},"wordCount":486,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/javascript-to-fixed\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/balloon.jpg","articleSection":["JavaScript"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/javascript-to-fixed\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/javascript-to-fixed\/","url":"https:\/\/careerkarma.com\/blog\/javascript-to-fixed\/","name":"JavaScript Methods: toFixed() \u2013 a Number method | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/javascript-to-fixed\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/javascript-to-fixed\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/balloon.jpg","datePublished":"2020-07-18T03:02:27+00:00","dateModified":"2021-01-04T10:54:09+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/ae0cdc4a5d198690d78482646894074e"},"description":"Sometimes there\u2019s no need to work with floats that are several decimal places \u2013 a method exists that rounds off numbers to a certain number of places and turns it into a string.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/javascript-to-fixed\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/javascript-to-fixed\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/javascript-to-fixed\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/balloon.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/balloon.jpg","width":1000,"height":668},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/javascript-to-fixed\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/careerkarma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"JavaScript","item":"https:\/\/careerkarma.com\/blog\/javascript\/"},{"@type":"ListItem","position":3,"name":"JavaScript Methods: toFixed() \u2013 a Number method"}]},{"@type":"WebSite","@id":"https:\/\/careerkarma.com\/blog\/#website","url":"https:\/\/careerkarma.com\/blog\/","name":"Career Karma","description":"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/careerkarma.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/ae0cdc4a5d198690d78482646894074e","name":"Christina Kopecky","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/image-3-150x150.jpg","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/image-3-150x150.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/image-3-150x150.jpg","caption":"Christina Kopecky"},"description":"Christina is an experienced technical writer, covering topics as diverse as Java, SQL, Python, and web development. She earned her Master of Music in flute performance from the University of Kansas and a bachelor's degree in music with minors in French and mass communication from Southeast Missouri State. Prior to joining the Career Karma team in June 2020, Christina was a teaching assistant, team lead, and section lead at Lambda School, where she led student groups, performed code and project reviews, and debugged problems for students. Christina's technical content is featured frequently in publications like Codecademy, Repl.it, and Educative.","sameAs":["http:\/\/www.linkedin.com\/in\/cmvnk"],"url":"https:\/\/careerkarma.com\/blog\/author\/christina-kopecky\/"}]}},"_links":{"self":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/19770","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/users\/77"}],"replies":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/comments?post=19770"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/19770\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/19771"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=19770"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=19770"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=19770"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}