{"id":108,"date":"2026-04-17T13:35:12","date_gmt":"2026-04-17T13:35:12","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/c_jones\/?p=108"},"modified":"2026-04-17T13:35:13","modified_gmt":"2026-04-17T13:35:13","slug":"free-friday-4-17-26","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/c_jones\/2026\/04\/17\/free-friday-4-17-26\/","title":{"rendered":"Free Friday 4\/17\/26"},"content":{"rendered":"\n<p>Today in class I continued my Sonic Dash game, and I added a background to the intro of the game<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"880\" height=\"902\" src=\"https:\/\/theroyalscode.com\/students\/c_jones\/wp-content\/uploads\/2026\/04\/image-1.png\" alt=\"\" class=\"wp-image-109\" srcset=\"https:\/\/theroyalscode.com\/students\/c_jones\/wp-content\/uploads\/2026\/04\/image-1.png 880w, https:\/\/theroyalscode.com\/students\/c_jones\/wp-content\/uploads\/2026\/04\/image-1-293x300.png 293w, https:\/\/theroyalscode.com\/students\/c_jones\/wp-content\/uploads\/2026\/04\/image-1-768x787.png 768w\" sizes=\"auto, (max-width: 880px) 100vw, 880px\" \/><\/figure>\n\n\n\n<p>I used the is part of my code to add the background of the screen. body {<\/p>\n\n\n\n<p>&nbsp; margin: 0;<\/p>\n\n\n\n<p>&nbsp; \/* Updated size and position: Higher % = Lower image *\/<\/p>\n\n\n\n<p>&nbsp; background: url(&#8216;background.png&#8217;) no-repeat;<\/p>\n\n\n\n<p>&nbsp; background-size: 110%;<\/p>\n\n\n\n<p>&nbsp; background-position: center 25%;<\/p>\n\n\n\n<p>&nbsp; background-attachment: fixed;<\/p>\n\n\n\n<p>&nbsp; font-family: Arial, sans-serif;<\/p>\n\n\n\n<p>&nbsp; color: white;<\/p>\n\n\n\n<p>&nbsp; text-align: center;<\/p>\n\n\n\n<p>&nbsp; height: 100vh;<\/p>\n\n\n\n<p>&nbsp; overflow: hidden;<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<p>I used background: url to add the image that I adjusted in Canva to make the background look like the actual game.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today in class I continued my Sonic Dash game, and I added a background to the intro of<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-108","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/posts\/108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/comments?post=108"}],"version-history":[{"count":1,"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/posts\/108\/revisions"}],"predecessor-version":[{"id":110,"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/posts\/108\/revisions\/110"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/media?parent=108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/categories?post=108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/tags?post=108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}