{"id":4030,"date":"2025-06-14T18:57:22","date_gmt":"2025-06-14T23:57:22","guid":{"rendered":"https:\/\/madlysane.com\/?page_id=4030"},"modified":"2025-06-14T18:57:22","modified_gmt":"2025-06-14T23:57:22","slug":"face-match-feel","status":"publish","type":"page","link":"https:\/\/madlysane.com\/en\/face-match-feel\/","title":{"rendered":"Face Match &#038; Feel"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"UTF-8\">\n  <title>Face Match &#038; Feel<\/title>\n  <style>\n    body {\n      font-family: Arial, sans-serif;\n      text-align: center;\n      background: #f0f0f0;\n      padding: 40px;\n    }\n    h2 {\n      margin-bottom: 10px;\n    }\n    .grid {\n      display: grid;\n      grid-template-columns: repeat(4, 100px);\n      gap: 15px;\n      justify-content: center;\n      margin-top: 20px;\n    }\n    .card {\n      width: 100px;\n      height: 100px;\n      background: #ccc;\n      border-radius: 10px;\n      cursor: pointer;\n      display: flex;\n      align-items: center;\n      justify-content: center;\n      font-size: 40px;\n      user-select: none;\n    }\n    .flipped {\n      background: #fff;\n    }\n    #message {\n      margin-top: 20px;\n      font-size: 18px;\n    }\n  <\/style>\n<\/head>\n<body>\n  <h2>Face Match &#038; Feel<\/h2>\n  <p>Match the faces to learn about emotions!<\/p>\n  <div class=\"grid\" id=\"grid\"><\/div>\n  <div id=\"message\"><\/div>\n\n  <script>\n    const faces = [\n      { emoji: \"\ud83d\ude0a\", feeling: \"This is happiness. It feels light and warm.\" },\n      { emoji: \"\ud83d\ude22\", feeling: \"This is sadness. It's okay to feel this way sometimes.\" },\n      { emoji: \"\ud83d\ude20\", feeling: \"This is anger. It's a powerful emotion that needs care.\" },\n      { emoji: \"\ud83d\ude28\", feeling: \"This is fear. It helps us stay safe.\" }\n    ];\n\n    let cards = [];\n    let flipped = [];\n    let matched = 0;\n    let level = 1;\n\n    const grid = document.getElementById(\"grid\");\n    const message = document.getElementById(\"message\");\n\n    function shuffle(array) {\n      return array.sort(() => 0.5 - Math.random());\n    }\n\n    function setupGame() {\n      message.textContent = `Level ${level}`;\n      matched = 0;\n      flipped = [];\n      grid.innerHTML = \"\";\n\n      const levelFaces = faces.slice(0, Math.min(level + 1, faces.length));\n      cards = shuffle([...levelFaces, ...levelFaces]);\n\n      cards.forEach((card, index) => {\n        const div = document.createElement(\"div\");\n        div.className = \"card\";\n        div.dataset.index = index;\n        div.onclick = () => flipCard(div, card);\n        grid.appendChild(div);\n      });\n    }\n\n    function flipCard(div, card) {\n      if (flipped.length === 2 || div.classList.contains(\"flipped\")) return;\n\n      div.textContent = card.emoji;\n      div.classList.add(\"flipped\");\n      flipped.push({ div, card });\n\n      if (flipped.length === 2) {\n        const [first, second] = flipped;\n        if (first.card.emoji === second.card.emoji) {\n          message.textContent = `\u2705 ${first.card.feeling}`;\n          matched += 2;\n          flipped = [];\n          if (matched === cards.length) {\n            setTimeout(() => {\n              level++;\n              setupGame();\n            }, 2000);\n          }\n        } else {\n          setTimeout(() => {\n            first.div.textContent = \"\";\n            second.div.textContent = \"\";\n            first.div.classList.remove(\"flipped\");\n            second.div.classList.remove(\"flipped\");\n            flipped = [];\n          }, 1000);\n        }\n      }\n    }\n\n    setupGame();\n  <\/script>\n<\/body>\n<\/html>\n\n","protected":false},"excerpt":{"rendered":"<p>Face Match &#038; Feel Face Match &#038; Feel Match the faces to learn about emotions!<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-4030","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Face Match &amp; Feel - MadlySane.com<\/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:\/\/madlysane.com\/en\/face-match-feel\/\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:locale\" content=\"en_US\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:type\" content=\"article\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:title\" content=\"Face Match &amp; Feel\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:description\" content=\"Face Match &#038; Feel Face Match &#038; Feel Match the faces to learn about emotions!\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:url\" content=\"https:\/\/madlysane.com\/en\/face-match-feel\/\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:site_name\" content=\"MadlySane.com\" class=\"yoast-seo-meta-tag\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" class=\"yoast-seo-meta-tag\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/madlysane.com\\\/face-match-feel\\\/\",\"url\":\"https:\\\/\\\/madlysane.com\\\/face-match-feel\\\/\",\"name\":\"Face Match & Feel - MadlySane.com\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\\\/#website\"},\"datePublished\":\"2025-06-14T23:57:22+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/madlysane.com\\\/face-match-feel\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/madlysane.com\\\/face-match-feel\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/madlysane.com\\\/face-match-feel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Face Match &#038; Feel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\\\/#website\",\"url\":\"https:\\\/\\\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\\\/\",\"name\":\"MadlySane.com\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\\\/#organization\",\"name\":\"MadlySane.com LLC\",\"url\":\"https:\\\/\\\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/madlysane.com\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/profile_logo_e0516ebb-57a8-447d-9489-b48962f2e18e-2-e1753881599226.jpg\",\"contentUrl\":\"https:\\\/\\\/madlysane.com\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/profile_logo_e0516ebb-57a8-447d-9489-b48962f2e18e-2-e1753881599226.jpg\",\"width\":60,\"height\":60,\"caption\":\"MadlySane.com LLC\"},\"image\":{\"@id\":\"https:\\\/\\\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/madlysane.com\\\/yoast\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Face Match & Feel - MadlySane.com","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:\/\/madlysane.com\/en\/face-match-feel\/","og_locale":"en_US","og_type":"article","og_title":"Face Match & Feel","og_description":"Face Match &#038; Feel Face Match &#038; Feel Match the faces to learn about emotions!","og_url":"https:\/\/madlysane.com\/en\/face-match-feel\/","og_site_name":"MadlySane.com","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/madlysane.com\/face-match-feel\/","url":"https:\/\/madlysane.com\/face-match-feel\/","name":"Face Match & Feel - MadlySane.com","isPartOf":{"@id":"https:\/\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\/#website"},"datePublished":"2025-06-14T23:57:22+00:00","breadcrumb":{"@id":"https:\/\/madlysane.com\/face-match-feel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/madlysane.com\/face-match-feel\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/madlysane.com\/face-match-feel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\/"},{"@type":"ListItem","position":2,"name":"Face Match &#038; Feel"}]},{"@type":"WebSite","@id":"https:\/\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\/#website","url":"https:\/\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\/","name":"MadlySane.com","description":"","publisher":{"@id":"https:\/\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\/#organization","name":"MadlySane.com LLC","url":"https:\/\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\/#\/schema\/logo\/image\/","url":"https:\/\/madlysane.com\/wp-content\/uploads\/2025\/05\/profile_logo_e0516ebb-57a8-447d-9489-b48962f2e18e-2-e1753881599226.jpg","contentUrl":"https:\/\/madlysane.com\/wp-content\/uploads\/2025\/05\/profile_logo_e0516ebb-57a8-447d-9489-b48962f2e18e-2-e1753881599226.jpg","width":60,"height":60,"caption":"MadlySane.com LLC"},"image":{"@id":"https:\/\/madlysanecom-fc9fa3.ingress-alpha.ewp.live\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/madlysane.com\/yoast"]}]}},"jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/madlysane.com\/en\/wp-json\/wp\/v2\/pages\/4030","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/madlysane.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/madlysane.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/madlysane.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/madlysane.com\/en\/wp-json\/wp\/v2\/comments?post=4030"}],"version-history":[{"count":2,"href":"https:\/\/madlysane.com\/en\/wp-json\/wp\/v2\/pages\/4030\/revisions"}],"predecessor-version":[{"id":4032,"href":"https:\/\/madlysane.com\/en\/wp-json\/wp\/v2\/pages\/4030\/revisions\/4032"}],"wp:attachment":[{"href":"https:\/\/madlysane.com\/en\/wp-json\/wp\/v2\/media?parent=4030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}