{"id":28,"date":"2025-06-04T03:55:23","date_gmt":"2025-06-04T03:55:23","guid":{"rendered":"https:\/\/gurencodes.com\/blog\/wordpress\/?p=28"},"modified":"2025-06-04T05:13:41","modified_gmt":"2025-06-04T05:13:41","slug":"project-7-dice-face-generator","status":"publish","type":"post","link":"https:\/\/gurencodes.com\/blog\/wordpress\/index.php\/2025\/06\/04\/project-7-dice-face-generator\/","title":{"rendered":"Project #7:\u00a0Dice face generator"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/safebooru.org\/\/samples\/4334\/sample_46fb17a3f69b49bea9721eeff587bae6ff79e591.jpg?4523518\" alt=\"1girl chibi dice floral_print full_body geta hand_fan holding holding_fan japanese_clothes kimono komakusa_sannyo looking_at_viewer maaru_(akira428) ponytail purple_hair purple_skirt red_eyes red_kimono skirt smoking smoking_pipe solo touhou white_background wide_sleeves\"\/><\/figure>\n\n\n\n<p><a href=\"https:\/\/jordanislame.neocities.org\/pages\/some_little_projects\/die_face_generator\/\" data-type=\"link\" data-id=\"https:\/\/jordanislame.neocities.org\/pages\/some_little_projects\/die_face_generator\/\">Link<\/a><\/p>\n\n\n\n<p><strong>Estimated date of creation:<\/strong>&nbsp;November 2022<\/p>\n\n\n\n<p><strong>Status:<\/strong>&nbsp;Online \ud83d\udfe2<\/p>\n\n\n\n<p>I forget if this was from some tutorial. When you click the button, it generates a dice face. I think it&#8217;s kind of a cool idea, actually. We create a DOM entity called &#8220;img&#8221;, and store it in the variable img. But then, depending on what the randomizer number is, we download a source image file from Google Drive to that DOM element &#8220;img&#8221;. I think it&#8217;s kind of a cool idea. By the way, I try not to take credit for other people&#8217;s work too much, or add other people&#8217;s work to a list like this of my projects, but I include some of the tutorial followalongs that I do, and I also don&#8217;t remember if this project was from a course or not.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Link Estimated date of creation:&nbsp;November 2022 Status:&nbsp;Online \ud83d\udfe2 I forget if this was from some tutorial. When you click the button, it generates a dice face. I think it&#8217;s kind of a cool idea, actually. We create a DOM entity called &#8220;img&#8221;, and store it in the variable img. But then, depending on what the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-28","post","type-post","status-publish","format-standard","hentry","category-code-projects"],"_links":{"self":[{"href":"https:\/\/gurencodes.com\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/28","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gurencodes.com\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gurencodes.com\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gurencodes.com\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gurencodes.com\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=28"}],"version-history":[{"count":2,"href":"https:\/\/gurencodes.com\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/28\/revisions"}],"predecessor-version":[{"id":97,"href":"https:\/\/gurencodes.com\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/28\/revisions\/97"}],"wp:attachment":[{"href":"https:\/\/gurencodes.com\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gurencodes.com\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gurencodes.com\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}