{"id":28844,"date":"2017-01-04T20:01:07","date_gmt":"2017-01-04T12:01:07","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=28844"},"modified":"2018-04-09T16:36:09","modified_gmt":"2018-04-09T08:36:09","slug":"flexbox-froggy","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/flexbox-froggy\/","title":{"rendered":"Teach yourself CSS Flexbox with the Flexbox Froggy Game"},"content":{"rendered":"<p>In the past we\u2019ve glossed over <a href=\"https:\/\/www.hongkiat.com\/blog\/ui-design-an-intro-to-flexible-box\/\">flexbox<\/a> and the basics of how it works. But actually applying flexbox to your workflow can be challenging because it\u2019s such a complicated addition to the CSS spec.<\/p>\n<p class=\"recommended_top\">\n\t\t\t\t\t<strong>Read Also:<\/strong>\u00a0\n\t\t\t\t\t<a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/css-tricks-vertical-align-content\/\">6 Ways to Align Content Vertically with CSS<\/a>\n\t\t\t\t<\/p>\n<p>With <a target=\"_blank\" href=\"https:\/\/flexboxfroggy.com\/\">Flexbox Froggy<\/a> you can <strong>learn all the basics of flexbox with a fun webgame involving frogs and lilypads<\/strong>. I know it sounds crazy but this is seriously an awesome webapp.<\/p>\n<figure><a target=\"_blank\" href=\"https:\/\/flexboxfroggy.com\/\"><img decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/flexbox-froggy\/01-flexbox-froggy-css-example.jpg\" alt=\"homepage flexbox froggy\"><\/a><\/figure>\n<p>You start at level 1 and <strong>slowly work your way through 24 different levels<\/strong> teaching the many aspects of flexbox orientation. The early levels start easy by asking you to <strong>align one or two frogs along a single container<\/strong>. Early lessons also include tips and suggestions to help you along the way.<\/p>\n<p>But once you get past lesson 10 things really heat up. You\u2019ll need to learn how to re-<strong>organize items within a container<\/strong>, how to <strong>organize<\/strong> content <strong>vertically<\/strong>, and how to create <strong>equidistant spacing<\/strong> between different rows of different content.<\/p>\n<p>The cute little frogs may lure you in, but rest assure this is a tough game.<\/p>\n<p>However, <strong>from complete novices to more experienced web developers<\/strong>, the game is made for all levels. The early lessons are a breeze and the later lessons can leave you hunched over the screen with clumps of hair by your side.<\/p>\n<figure><a target=\"_blank\" href=\"https:\/\/flexboxfroggy.com\/\"><img decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/flexbox-froggy\/02-level-18-flexbox-froggy.jpg\" alt=\"flexbox froggy level 18\"><\/a><\/figure>\n<p>The full game source code is available for free <a target=\"_blank\" href=\"https:\/\/github.com\/thomaspark\/flexboxfroggy\">on GitHub<\/a> so you can download and play it locally if you wish.<\/p>\n<p>Plus the webapp is multilingual <strong>offering 20 languages<\/strong> including English, French, German, Italian, Chinese, Japanese, and Russian(plus many others).<\/p>\n<p>I will admit that <strong>rearranging frogs will not immediately make you a master<\/strong> of flexbox. But these lessons are meant to <strong>get you familiar with the flexbox syntax<\/strong> so you can feel more comfortable working in real-world scenarios.<\/p>\n<p>If you\u2019re a <strong>web developer of any skill level<\/strong> you should definitely check out <a target=\"_blank\" href=\"https:\/\/flexboxfroggy.com\/\">Flexbox Froggy<\/a>. It\u2019s completely free, quite fun to play and surprisingly educational.<\/p>\n<p class=\"recommended_top\">\n\t\t\t\t\t<strong>Read Also:<\/strong>\u00a0\n\t\t\t\t\t<a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/sites-to-learn-coding-online\/\">13 Sites to Learn How to Code for Web Developers<\/a>\n\t\t\t\t<\/p>","protected":false},"excerpt":{"rendered":"<p>In the past we\u2019ve glossed over flexbox and the basics of how it works. But actually applying flexbox to your workflow can be challenging because it\u2019s such a complicated addition to the CSS spec. With Flexbox Froggy you can learn all the basics of flexbox with a fun webgame involving frogs and lilypads. I know&hellip;<\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[352],"tags":[507,4109],"topic":[4520],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Teach yourself CSS Flexbox with the Flexbox Froggy Game - Hongkiat<\/title>\n<meta name=\"description\" content=\"In the past we&#039;ve glossed over flexbox and the basics of how it works. But actually applying flexbox to your workflow can be challenging because it&#039;s such\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/flexbox-froggy\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Teach yourself CSS Flexbox with the Flexbox Froggy Game\" \/>\n<meta property=\"og:description\" content=\"In the past we&#039;ve glossed over flexbox and the basics of how it works. But actually applying flexbox to your workflow can be challenging because it&#039;s such\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/flexbox-froggy\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2017-01-04T12:01:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-04-09T08:36:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/flexbox-froggy\/01-flexbox-froggy-css-example.jpg\" \/>\n<meta name=\"author\" content=\"Jake Rocheleau\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jake Rocheleau\" \/>\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:\\\/\\\/www.hongkiat.com\\\/blog\\\/flexbox-froggy\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/flexbox-froggy\\\/\"},\"author\":{\"name\":\"Jake Rocheleau\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/966b2daea15283b4145e71aa98a82c2a\"},\"headline\":\"Teach yourself CSS Flexbox with the Flexbox Froggy Game\",\"datePublished\":\"2017-01-04T12:01:07+00:00\",\"dateModified\":\"2018-04-09T08:36:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/flexbox-froggy\\\/\"},\"wordCount\":329,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/flexbox-froggy\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/flexbox-froggy\\\/01-flexbox-froggy-css-example.jpg\",\"keywords\":[\"CSS\",\"CSS Frameworks\"],\"articleSection\":[\"Web Design\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/flexbox-froggy\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/flexbox-froggy\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/flexbox-froggy\\\/\",\"name\":\"Teach yourself CSS Flexbox with the Flexbox Froggy Game - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/flexbox-froggy\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/flexbox-froggy\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/flexbox-froggy\\\/01-flexbox-froggy-css-example.jpg\",\"datePublished\":\"2017-01-04T12:01:07+00:00\",\"dateModified\":\"2018-04-09T08:36:09+00:00\",\"description\":\"In the past we've glossed over flexbox and the basics of how it works. But actually applying flexbox to your workflow can be challenging because it's such\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/flexbox-froggy\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/flexbox-froggy\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/flexbox-froggy\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/flexbox-froggy\\\/01-flexbox-froggy-css-example.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/flexbox-froggy\\\/01-flexbox-froggy-css-example.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/flexbox-froggy\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Teach yourself CSS Flexbox with the Flexbox Froggy Game\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/966b2daea15283b4145e71aa98a82c2a\",\"name\":\"Jake Rocheleau\",\"description\":\"Jake is a writer and designer with over 10 years experience working on the web. He writes about user experience design and cool resources for designers\",\"sameAs\":[\"https:\\\/\\\/www.hongkiat.com\"],\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/jake\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Teach yourself CSS Flexbox with the Flexbox Froggy Game - Hongkiat","description":"In the past we've glossed over flexbox and the basics of how it works. But actually applying flexbox to your workflow can be challenging because it's such","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:\/\/www.hongkiat.com\/blog\/flexbox-froggy\/","og_locale":"en_US","og_type":"article","og_title":"Teach yourself CSS Flexbox with the Flexbox Froggy Game","og_description":"In the past we've glossed over flexbox and the basics of how it works. But actually applying flexbox to your workflow can be challenging because it's such","og_url":"https:\/\/www.hongkiat.com\/blog\/flexbox-froggy\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2017-01-04T12:01:07+00:00","article_modified_time":"2018-04-09T08:36:09+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/flexbox-froggy\/01-flexbox-froggy-css-example.jpg","type":"","width":"","height":""}],"author":"Jake Rocheleau","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Jake Rocheleau","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/flexbox-froggy\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/flexbox-froggy\/"},"author":{"name":"Jake Rocheleau","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/966b2daea15283b4145e71aa98a82c2a"},"headline":"Teach yourself CSS Flexbox with the Flexbox Froggy Game","datePublished":"2017-01-04T12:01:07+00:00","dateModified":"2018-04-09T08:36:09+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/flexbox-froggy\/"},"wordCount":329,"commentCount":4,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/flexbox-froggy\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/flexbox-froggy\/01-flexbox-froggy-css-example.jpg","keywords":["CSS","CSS Frameworks"],"articleSection":["Web Design"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/flexbox-froggy\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/flexbox-froggy\/","url":"https:\/\/www.hongkiat.com\/blog\/flexbox-froggy\/","name":"Teach yourself CSS Flexbox with the Flexbox Froggy Game - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/flexbox-froggy\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/flexbox-froggy\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/flexbox-froggy\/01-flexbox-froggy-css-example.jpg","datePublished":"2017-01-04T12:01:07+00:00","dateModified":"2018-04-09T08:36:09+00:00","description":"In the past we've glossed over flexbox and the basics of how it works. But actually applying flexbox to your workflow can be challenging because it's such","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/flexbox-froggy\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/flexbox-froggy\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/flexbox-froggy\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/flexbox-froggy\/01-flexbox-froggy-css-example.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/flexbox-froggy\/01-flexbox-froggy-css-example.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/flexbox-froggy\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Teach yourself CSS Flexbox with the Flexbox Froggy Game"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/966b2daea15283b4145e71aa98a82c2a","name":"Jake Rocheleau","description":"Jake is a writer and designer with over 10 years experience working on the web. He writes about user experience design and cool resources for designers","sameAs":["https:\/\/www.hongkiat.com"],"url":"https:\/\/www.hongkiat.com\/blog\/author\/jake\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-7ve","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/28844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=28844"}],"version-history":[{"count":2,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/28844\/revisions"}],"predecessor-version":[{"id":28846,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/28844\/revisions\/28846"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=28844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=28844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=28844"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=28844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}