{"id":152,"date":"2021-12-21T08:54:28","date_gmt":"2021-12-21T08:54:28","guid":{"rendered":"https:\/\/kindsonthegenius.com\/elm\/?p=152"},"modified":"2022-01-17T05:54:10","modified_gmt":"2022-01-17T05:54:10","slug":"elm-your-first-elm-program","status":"publish","type":"post","link":"https:\/\/kindsonthegenius.com\/elm\/elm-your-first-elm-program\/","title":{"rendered":"Elm &#8211; Your First Elm Program"},"content":{"rendered":"<p>In this lesson, you will write and run your first Elm program! I&#8217;ll be using IntelliJ for this demo but you can feel free to use any other IDE.<\/p>\n<p>We would cover the following<\/p>\n<ol>\n<li><a href=\"#t1\">Your First Elm Program &#8211; Hello World<\/a><\/li>\n<li><a href=\"#t2\">Your Second Elm Program &#8211; Init, View, Update<\/a><\/li>\n<li><a href=\"#t3\">Generating the JavaScript File<\/a><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h4><strong id=\"t1\">1. Your First Elm Program &#8211; Hello World<\/strong><\/h4>\n<p>Follow the steps below:<\/p>\n<p><strong>Step 1<\/strong> &#8211; Open IntelliJ and create a new\u00a0 Elm Project. Make sure to choose Elm from the list as shown below:<\/p>\n<figure id=\"attachment_154\" aria-describedby=\"caption-attachment-154\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/kindsonthegenius.com\/elm\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-21-at-08.49.47.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-154\" src=\"https:\/\/kindsonthegenius.com\/elm\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-21-at-08.49.47-300x209.png\" alt=\"Creating a new Elm Project in IntelliJ\" width=\"300\" height=\"209\" srcset=\"https:\/\/kindsonthegenius.com\/elm\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-21-at-08.49.47-300x209.png 300w, https:\/\/kindsonthegenius.com\/elm\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-21-at-08.49.47-768x536.png 768w, https:\/\/kindsonthegenius.com\/elm\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-21-at-08.49.47-120x85.png 120w, https:\/\/kindsonthegenius.com\/elm\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-21-at-08.49.47.png 816w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-154\" class=\"wp-caption-text\">Creating a new Elm Project in IntelliJ<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>You will notice that a new project is created and the Main.elm file opens up with the following content:<\/p>\n<pre style=\"margin: 0; line-height: 125%;\"><span style=\"color: #008800; font-weight: bold;\">module<\/span> <span style=\"color: #0e84b5; font-weight: bold;\">Main<\/span> exposing (main)\r\n\r\n<span style=\"color: #008800; font-weight: bold;\">import<\/span> <span style=\"color: #0e84b5; font-weight: bold;\">Html<\/span> exposing (text)\r\n\r\n<span style=\"color: #0066bb; font-weight: bold;\">main<\/span> <span style=\"color: #000000; font-weight: bold;\">=<\/span> text <span style=\"background-color: #fff0f0;\">\"hi\"<\/span>\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>Step 2<\/strong> &#8211; Replace the &#8220;hi&#8221; text with &#8220;Hello World from Elm!&#8221;<\/p>\n<p><strong>Step 3<\/strong> &#8211; Open the terminal window and navigate into the src directory (use the command cd src). Then enter the following command to compile the project<\/p>\n<pre style=\"margin: 0; line-height: 125%;\">elm make Main.elm\r\n<\/pre>\n<p>This command will yield the following output:<\/p>\n<pre style=\"margin: 0; line-height: 125%;\">Dependencies ready!         \r\nSuccess! Compiled 1 module.\r\n\r\n    Main \u2500\u2500\u2500&gt; index.html\r\n<\/pre>\n<p>At this point, you will notice the an index.html file is created in\u00a0 the same directory as the Main.elm file.<\/p>\n<p><strong>Step 4<\/strong> &#8211; Open the file location in your file system and open the index.html page on a browser. You will see the text &#8220;Hello World from Elm!&#8221;<\/p>\n<p>Congrats! You have successfully written and compiled your first Elm program<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Elm Reactor<\/strong><\/p>\n<p>This is an interactive development tool available in Elm that help you see the output of your program in a browser. To start Elm reactor, just enter the command:<\/p>\n<pre style=\"margin: 0; line-height: 125%;\">elm reactor\r\n<\/pre>\n<p>This command would give the following output:<\/p>\n<p><!-- HTML generated using hilite.me --><\/p>\n<pre style=\"margin: 0; line-height: 125%;\">Go to <span style=\"color: #0000dd; font-weight: bold;\">http:\/\/localhost:8000<\/span> to see your project dashboard<span style=\"color: #333333;\">.<\/span>\r\n<\/pre>\n<p>You can now visit the link and browse through the file and the html page.<\/p>\n<p>&nbsp;<\/p>\n<h4><strong id=\"t2\">2. Your Second Program &#8211; Init, View, Update<\/strong><\/h4>\n<p>Now I would like you to write the following code replacing the existing content of the Main program.<\/p>\n<pre style=\"margin: 0; line-height: 125%;\"><span style=\"color: #008800; font-weight: bold;\">module<\/span> <span style=\"color: #0e84b5; font-weight: bold;\">Main<\/span> exposing (<span style=\"color: #333333;\">..<\/span>)\r\n\r\n<span style=\"color: #008800; font-weight: bold;\">import<\/span> <span style=\"color: #0e84b5; font-weight: bold;\">Browser<\/span>\r\n<span style=\"color: #008800; font-weight: bold;\">import<\/span> <span style=\"color: #0e84b5; font-weight: bold;\">Html<\/span> exposing (div, text)\r\n\r\n<span style=\"color: #0066bb; font-weight: bold;\">add<\/span> a b <span style=\"color: #000000; font-weight: bold;\">=<\/span> a <span style=\"color: #333333;\">+<\/span> b\r\n<span style=\"color: #0066bb; font-weight: bold;\">init<\/span> <span style=\"color: #000000; font-weight: bold;\">=<\/span>\r\n    { value <span style=\"color: #000000; font-weight: bold;\">=<\/span> <span style=\"color: #0000dd; font-weight: bold;\">0<\/span>}\r\n\r\n<span style=\"color: #0066bb; font-weight: bold;\">view<\/span> model <span style=\"color: #000000; font-weight: bold;\">=<\/span>\r\n    div <span style=\"color: #333399; font-weight: bold;\">[]<\/span> [text <span style=\"background-color: #fff0f0;\">\"Your Second Elm Program\"<\/span>]\r\n\r\n<span style=\"color: #0066bb; font-weight: bold;\">update<\/span> model <span style=\"color: #000000; font-weight: bold;\">=<\/span>\r\n    model\r\n\r\n<span style=\"color: #0066bb; font-weight: bold;\">main<\/span> <span style=\"color: #000000; font-weight: bold;\">=<\/span>\r\n    <span style=\"color: #333399; font-weight: bold;\">Browser<\/span><span style=\"color: #333333;\">.<\/span>sandbox\r\n        {\r\n            init <span style=\"color: #000000; font-weight: bold;\">=<\/span> init,\r\n            view <span style=\"color: #000000; font-weight: bold;\">=<\/span> view,\r\n            update <span style=\"color: #000000; font-weight: bold;\">=<\/span> update\r\n        }\r\n<\/pre>\n<p>As before, you can use make command to compile the program. You can also use the elm reactor command to start the web server<\/p>\n<p>&nbsp;<\/p>\n<h4><strong id=\"t3\">3. Generating the JavaScript Code<\/strong><\/h4>\n<p>Actually, your Elm program compiles to generate a JavaScript code. To view this code, you can specify an output parameter with the make command using the command below:<\/p>\n<pre style=\"margin: 0; line-height: 125%;\">elm make Main.elm --output output.js\r\n<\/pre>\n<p>If this command executes successfully, you will see the file output.js in the same directory as the Main.elm file.<\/p>\n<p>In the next part, you would understand <a href=\"https:\/\/kindsonthegenius.com\/elm\/elm-understanding-model-view-and-update\/\" target=\"_blank\" rel=\"noopener\">how model, view and update works in Elm<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this lesson, you will write and run your first Elm program! I&#8217;ll be using IntelliJ for this demo but you can feel free to &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[2],"tags":[28,27],"class_list":["post-152","post","type-post","status-publish","format-standard","hentry","category-elm-programming-tutorial","tag-elm-make","tag-elm-reactor"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Elm - Your First Elm Program - Elm Programming<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kindsonthegenius.com\/elm\/elm-your-first-elm-program\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Elm - Your First Elm Program - Elm Programming\" \/>\n<meta property=\"og:description\" content=\"In this lesson, you will write and run your first Elm program! I&#8217;ll be using IntelliJ for this demo but you can feel free to &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kindsonthegenius.com\/elm\/elm-your-first-elm-program\/\" \/>\n<meta property=\"og:site_name\" content=\"Elm Programming\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-21T08:54:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-17T05:54:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kindsonthegenius.com\/elm\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-21-at-08.49.47-300x209.png\" \/>\n<meta name=\"author\" content=\"kindsonthegenius\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"kindsonthegenius\" \/>\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:\\\/\\\/kindsonthegenius.com\\\/elm\\\/elm-your-first-elm-program\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/elm-your-first-elm-program\\\/\"},\"author\":{\"name\":\"kindsonthegenius\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/#\\\/schema\\\/person\\\/2a5153913a1c6885206701c60aef361e\"},\"headline\":\"Elm &#8211; Your First Elm Program\",\"datePublished\":\"2021-12-21T08:54:28+00:00\",\"dateModified\":\"2022-01-17T05:54:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/elm-your-first-elm-program\\\/\"},\"wordCount\":407,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/elm-your-first-elm-program\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/Screenshot-2021-12-21-at-08.49.47-300x209.png\",\"keywords\":[\"Elm Make\",\"Elm Reactor\"],\"articleSection\":[\"Elm Programming Tutorial\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/elm-your-first-elm-program\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/elm-your-first-elm-program\\\/\",\"url\":\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/elm-your-first-elm-program\\\/\",\"name\":\"Elm - Your First Elm Program - Elm Programming\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/elm-your-first-elm-program\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/elm-your-first-elm-program\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/Screenshot-2021-12-21-at-08.49.47-300x209.png\",\"datePublished\":\"2021-12-21T08:54:28+00:00\",\"dateModified\":\"2022-01-17T05:54:10+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/#\\\/schema\\\/person\\\/2a5153913a1c6885206701c60aef361e\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/elm-your-first-elm-program\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/elm-your-first-elm-program\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/elm-your-first-elm-program\\\/#primaryimage\",\"url\":\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/Screenshot-2021-12-21-at-08.49.47.png\",\"contentUrl\":\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/Screenshot-2021-12-21-at-08.49.47.png\",\"width\":816,\"height\":569,\"caption\":\"Creating a new Elm Project in IntelliJ\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/elm-your-first-elm-program\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Elm &#8211; Your First Elm Program\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/#website\",\"url\":\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/\",\"name\":\"Elm Programming\",\"description\":\"Elm Programming Tutorials\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/#\\\/schema\\\/person\\\/2a5153913a1c6885206701c60aef361e\",\"name\":\"kindsonthegenius\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g\",\"caption\":\"kindsonthegenius\"},\"sameAs\":[\"https:\\\/\\\/kindsonthegenius.com\\\/elm\"],\"url\":\"https:\\\/\\\/kindsonthegenius.com\\\/elm\\\/author\\\/kindsonthegenius-3\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Elm - Your First Elm Program - Elm Programming","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:\/\/kindsonthegenius.com\/elm\/elm-your-first-elm-program\/","og_locale":"en_US","og_type":"article","og_title":"Elm - Your First Elm Program - Elm Programming","og_description":"In this lesson, you will write and run your first Elm program! I&#8217;ll be using IntelliJ for this demo but you can feel free to &hellip;","og_url":"https:\/\/kindsonthegenius.com\/elm\/elm-your-first-elm-program\/","og_site_name":"Elm Programming","article_published_time":"2021-12-21T08:54:28+00:00","article_modified_time":"2022-01-17T05:54:10+00:00","og_image":[{"url":"https:\/\/kindsonthegenius.com\/elm\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-21-at-08.49.47-300x209.png","type":"","width":"","height":""}],"author":"kindsonthegenius","twitter_card":"summary_large_image","twitter_misc":{"Written by":"kindsonthegenius","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kindsonthegenius.com\/elm\/elm-your-first-elm-program\/#article","isPartOf":{"@id":"https:\/\/kindsonthegenius.com\/elm\/elm-your-first-elm-program\/"},"author":{"name":"kindsonthegenius","@id":"https:\/\/kindsonthegenius.com\/elm\/#\/schema\/person\/2a5153913a1c6885206701c60aef361e"},"headline":"Elm &#8211; Your First Elm Program","datePublished":"2021-12-21T08:54:28+00:00","dateModified":"2022-01-17T05:54:10+00:00","mainEntityOfPage":{"@id":"https:\/\/kindsonthegenius.com\/elm\/elm-your-first-elm-program\/"},"wordCount":407,"commentCount":0,"image":{"@id":"https:\/\/kindsonthegenius.com\/elm\/elm-your-first-elm-program\/#primaryimage"},"thumbnailUrl":"https:\/\/kindsonthegenius.com\/elm\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-21-at-08.49.47-300x209.png","keywords":["Elm Make","Elm Reactor"],"articleSection":["Elm Programming Tutorial"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kindsonthegenius.com\/elm\/elm-your-first-elm-program\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kindsonthegenius.com\/elm\/elm-your-first-elm-program\/","url":"https:\/\/kindsonthegenius.com\/elm\/elm-your-first-elm-program\/","name":"Elm - Your First Elm Program - Elm Programming","isPartOf":{"@id":"https:\/\/kindsonthegenius.com\/elm\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kindsonthegenius.com\/elm\/elm-your-first-elm-program\/#primaryimage"},"image":{"@id":"https:\/\/kindsonthegenius.com\/elm\/elm-your-first-elm-program\/#primaryimage"},"thumbnailUrl":"https:\/\/kindsonthegenius.com\/elm\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-21-at-08.49.47-300x209.png","datePublished":"2021-12-21T08:54:28+00:00","dateModified":"2022-01-17T05:54:10+00:00","author":{"@id":"https:\/\/kindsonthegenius.com\/elm\/#\/schema\/person\/2a5153913a1c6885206701c60aef361e"},"breadcrumb":{"@id":"https:\/\/kindsonthegenius.com\/elm\/elm-your-first-elm-program\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kindsonthegenius.com\/elm\/elm-your-first-elm-program\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kindsonthegenius.com\/elm\/elm-your-first-elm-program\/#primaryimage","url":"https:\/\/kindsonthegenius.com\/elm\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-21-at-08.49.47.png","contentUrl":"https:\/\/kindsonthegenius.com\/elm\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-21-at-08.49.47.png","width":816,"height":569,"caption":"Creating a new Elm Project in IntelliJ"},{"@type":"BreadcrumbList","@id":"https:\/\/kindsonthegenius.com\/elm\/elm-your-first-elm-program\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kindsonthegenius.com\/elm\/"},{"@type":"ListItem","position":2,"name":"Elm &#8211; Your First Elm Program"}]},{"@type":"WebSite","@id":"https:\/\/kindsonthegenius.com\/elm\/#website","url":"https:\/\/kindsonthegenius.com\/elm\/","name":"Elm Programming","description":"Elm Programming Tutorials","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kindsonthegenius.com\/elm\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/kindsonthegenius.com\/elm\/#\/schema\/person\/2a5153913a1c6885206701c60aef361e","name":"kindsonthegenius","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g","caption":"kindsonthegenius"},"sameAs":["https:\/\/kindsonthegenius.com\/elm"],"url":"https:\/\/kindsonthegenius.com\/elm\/author\/kindsonthegenius-3\/"}]}},"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/kindsonthegenius.com\/elm\/wp-json\/wp\/v2\/posts\/152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kindsonthegenius.com\/elm\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kindsonthegenius.com\/elm\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kindsonthegenius.com\/elm\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kindsonthegenius.com\/elm\/wp-json\/wp\/v2\/comments?post=152"}],"version-history":[{"count":6,"href":"https:\/\/kindsonthegenius.com\/elm\/wp-json\/wp\/v2\/posts\/152\/revisions"}],"predecessor-version":[{"id":187,"href":"https:\/\/kindsonthegenius.com\/elm\/wp-json\/wp\/v2\/posts\/152\/revisions\/187"}],"wp:attachment":[{"href":"https:\/\/kindsonthegenius.com\/elm\/wp-json\/wp\/v2\/media?parent=152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kindsonthegenius.com\/elm\/wp-json\/wp\/v2\/categories?post=152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kindsonthegenius.com\/elm\/wp-json\/wp\/v2\/tags?post=152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}