{"id":331,"date":"2026-10-25T13:59:43","date_gmt":"2026-10-25T10:29:43","guid":{"rendered":"https:\/\/simorghkids.ir\/?page_id=331"},"modified":"2026-10-25T13:59:46","modified_gmt":"2026-10-25T10:29:46","slug":"coding-for-kids","status":"publish","type":"page","link":"https:\/\/simorghkids.ir\/blog\/en\/learning\/coding-for-kids\/","title":{"rendered":"Teaching Children to Code with AI | Simorgh Kids Learning"},"content":{"rendered":"\n<div class=\"skh skh-learning skh-leaf seo-theme-learning\" dir=\"ltr\" lang=\"en\" lang=\"en\">\r\n\r\n<style>\r\n\/* ---------- Scoped to .skh so nothing leaks into the Blocksy theme ----------\r\n   Learning = mint\/emerald accent + the site's brand orange for primary actions (same as the learning hub). *\/\r\n.skh { --skh-accent: var(--seo-accent, #047857); --skh-soft: var(--seo-accent-soft, #ecfdf5);\r\n       --skh-border: #a7f3d0; --skh-tile: #d1fae5; --skh-ring: #10b981;\r\n       --skh-cta: #c2410c; --skh-cta-hover: #9a3412;\r\n       font-family: inherit; text-align: right; padding: 2rem 0; color: #374151; }\r\n.skh *, .skh *::before, .skh *::after { box-sizing: border-box; }\r\n.skh h1, .skh h2, .skh h3 { color: #111827; font-weight: 700; line-height: 1.6; }\r\n.skh .skh-h2 { font-size: 1.4rem; margin: 0 0 .85rem; }\r\n\r\n\/* Breadcrumb: home > learning hub > this page *\/\r\n.skh .skh-crumbs { font-size: 13px; color: #6b7280; margin: 0 0 1rem; }\r\n.skh .skh-crumbs a { color: inherit; }\r\n.skh .skh-crumbs span { display: inline-block; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }\r\n\r\n\/* Hero: image + text\/widget *\/\r\n.skh .skh-hero { display: flex; direction: ltr; gap: 2rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.5rem; }\r\n.skh .skh-hero-img { flex: 1 1 320px; min-width: 280px; }\r\n.skh .skh-hero-img img { display: block; width: 100%; height: auto; aspect-ratio: 4 \/ 3; object-fit: cover;\r\n       border-radius: 1.5rem; box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.22); }\r\n.skh .skh-hero-text { flex: 1 1 320px; min-width: 280px; direction: rtl; text-align: right; }\r\n.skh .skh-badge { display: inline-block; background: var(--skh-soft); color: var(--skh-accent); padding: 6px 14px; border-radius: 9999px; font-size: 13px; font-weight: 700; }\r\n.skh .skh-hero-text h1 { font-size: clamp(1.6rem, 4vw, 2.15rem); margin: 1rem 0 .5rem; }\r\n.skh .skh-sub { color: #4b5563; font-size: 16px; line-height: 2; margin: 0 0 1.25rem; }\r\n\r\n\/* Widget: photo upload + question *\/\r\n.skh .skh-widget { background: #fff; border: 1.5px solid var(--skh-border); border-radius: 1rem; padding: 1.25rem; box-shadow: 0 1px 2px 0 rgba(0,0,0,.05); }\r\n.skh .skh-upload { display: flex; align-items: center; gap: 10px; border: 1.5px dashed #6ee7b7; background: #f0fdf4; border-radius: .75rem; padding: 14px; cursor: pointer; }\r\n.skh .skh-upload:hover { background: var(--skh-soft); }\r\n.skh .skh-upload:focus-within { outline: 2px solid var(--skh-ring); outline-offset: 2px; }\r\n.skh .skh-upload svg { width: 22px; height: 22px; color: var(--skh-accent); flex-shrink: 0; }\r\n.skh .skh-upload span { font-size: 14px; color: #4b5563; word-break: break-all; }\r\n.skh .skh-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }   \/* visually hidden but keyboard-focusable *\/\r\n.skh .skh-hint { font-size: 12.5px; color: #6b7280; line-height: 1.9; margin: .4rem 0 .75rem; }\r\n.skh .skh-widget textarea { width: 100%; border: 1px solid var(--skh-border); border-radius: .75rem; padding: 12px; font: inherit; font-size: 14px; resize: none; outline: none; background: #fff; }\r\n.skh .skh-widget textarea:focus { border-color: var(--skh-ring); box-shadow: 0 0 0 3px var(--skh-tile); }\r\n.skh .skh-error { display: none; color: #b91c1c; font-size: 13px; margin: 6px 0 0; }\r\n.skh .skh-btn { display: block; width: 100%; background: var(--skh-cta); color: #fff; border: 0; border-radius: 9999px; padding: 13px; margin-top: 12px;\r\n       font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 12px rgba(194, 65, 12, .25); transition: background-color .15s ease-in-out; }\r\n.skh .skh-btn:hover { background: var(--skh-cta-hover); }\r\n.skh .skh-btn:disabled { opacity: .7; cursor: wait; }\r\n\r\n\/* Three feature cards *\/\r\n.skh .skh-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }\r\n.skh .skh-feature { background: var(--skh-soft); border-radius: 1rem; padding: 1.25rem; box-shadow: 0 1px 2px 0 rgba(0,0,0,.05); }\r\n.skh .skh-icon { width: 2.75rem; height: 2.75rem; background: var(--skh-tile); color: var(--skh-accent); border-radius: .75rem; display: flex; align-items: center; justify-content: center; margin-bottom: .85rem; }\r\n.skh .skh-icon svg { width: 22px; height: 22px; }\r\n.skh .skh-feature-title { font-weight: 700; color: #111827; margin: 0 0 .25rem; }\r\n.skh .skh-feature-desc { font-size: 13.5px; color: #4b5563; margin: 0; line-height: 1.9; }\r\n\r\n\/* Text + FAQ *\/\r\n.skh .skh-text { max-width: 720px; margin: 2.5rem 0 2rem; }\r\n.skh .skh-text p { color: #4b5563; font-size: 15px; line-height: 2; }\r\n.skh .skh-faq { max-width: 720px; margin-bottom: 2rem; }\r\n.skh .skh-faq details { border-bottom: 1px solid #f3f4f6; padding: 14px 0; }\r\n.skh .skh-faq summary { cursor: pointer; font-weight: 700; color: #1f2937; }\r\n.skh .skh-faq summary h3 { display: inline; font-size: 15px; font-weight: inherit; margin: 0; }\r\n.skh .skh-faq details p { color: #4b5563; margin: 8px 0 0; line-height: 1.9; font-size: 14px; }\r\n\r\n\/* Back to the learning hub (+ optional sibling links) *\/\r\n.skh a.skh-more, .skh a.skh-more:hover { text-decoration: none !important; }\r\n.skh a.skh-more { display: inline-block; border: 1.5px solid var(--skh-border); color: var(--skh-accent); background: var(--skh-soft); border-radius: 9999px; padding: 10px 22px; font-weight: 700; font-size: 14px; margin: 0 0 .75rem; transition: background-color .15s; }\r\n.skh a.skh-more:hover { background: var(--skh-tile); }\r\n.skh .skh-siblings { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1rem; }\r\n.skh .skh-siblings li { padding: 0; }\r\n\r\n\/* Mobile sticky bar *\/\r\n.skh-sticky { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; background: #064e3b; color: #fff;\r\n       padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); align-items: center; justify-content: space-between; gap: 12px;\r\n       transform: translateY(100%); transition: transform .25s ease; direction: rtl; font-family: inherit; }\r\n.skh-sticky.skh-visible { transform: translateY(0); }\r\n.skh-sticky span { font-size: 14px; }\r\n.skh-sticky button { background: #fff; color: #064e3b; border: 0; border-radius: 9999px; padding: 10px 18px; font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; }\r\n\r\n@media (max-width: 768px) {\r\n  .skh .skh-hero { flex-direction: column; }\r\n  .skh-sticky { display: flex; }\r\n}\r\n@media (prefers-reduced-motion: reduce) {\r\n  .skh *, .skh-sticky { transition: none !important; }\r\n}\r\n<\/style>\r\n\r\n<!-- Icon sprite. Allowed feature icon names: book, pencil, code, globe, lightbulb, sparkles, camera, message, scan -->\r\n<svg style=\"display:none\" aria-hidden=\"true\">\r\n  <symbol id=\"icon-book\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z\"\/><path d=\"M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z\"\/><\/symbol>\r\n  <symbol id=\"icon-pencil\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5z\"\/><path d=\"m15 5 4 4\"\/><\/symbol>\r\n  <symbol id=\"icon-code\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"16 18 22 12 16 6\"\/><polyline points=\"8 6 2 12 8 18\"\/><\/symbol>\r\n  <symbol id=\"icon-globe\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"\/><path d=\"M2 12h20\"\/><path d=\"M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z\"\/><\/symbol>\r\n  <symbol id=\"icon-lightbulb\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5\"\/><path d=\"M9 18h6\"\/><path d=\"M10 22h4\"\/><\/symbol>\r\n  <symbol id=\"icon-sparkles\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M12 3v3m0 12v3M3 12h3m12 0h3m-3.5-6.5l-2.1 2.1m-8.8 8.8l-2.1 2.1m0-13l2.1 2.1m8.8 8.8l2.1 2.1M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8z\"\/><\/symbol>\r\n  <symbol id=\"icon-scan\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M4 8V5a1 1 0 0 1 1-1h3M20 8V5a1 1 0 0 0-1-1h-3M4 16v3a1 1 0 0 0 1 1h3M20 16v3a1 1 0 0 1-1 1h-3M8 12h8\"\/><\/symbol>\r\n  <symbol id=\"icon-camera\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><rect x=\"3\" y=\"7\" width=\"18\" height=\"13\" rx=\"2\"\/><circle cx=\"12\" cy=\"13.5\" r=\"3.5\"\/><path d=\"M8 7l1.5-2h5L16 7\"\/><\/symbol>\r\n  <symbol id=\"icon-message\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M4 4h16v12H8l-4 4V4z\"\/><\/symbol>\r\n<\/svg>\r\n\r\n<nav class=\"skh-crumbs\" aria-label=\"Page path\"><a href=\"\/\">Home<\/a> \u203a <a href=\"\/en\/learning\/\">Learning<\/a> \u203a <span aria-current=\"page\">Teaching Children to Code with AI<\/span><\/nav>\r\n\r\n<div class=\"skh-hero\">\r\n  <div class=\"skh-hero-img\">\r\n    \r\n  <\/div>\r\n  <div class=\"skh-hero-text\">\r\n    <span class=\"skh-badge\">Fun &#038; Safe Learning for Kids<\/span>\r\n    <h1>Teaching Children to Code with AI<\/h1>\r\n    <p class=\"skh-sub\">Let your child explore coding, creativity, and curiosity with Simorgh\u2019s playful AI companion.<\/p>\r\n\r\n    <div class=\"skh-widget\">\r\n      <label class=\"skh-upload\" for=\"skh-file\">\r\n        <svg aria-hidden=\"true\"><use href=\"#icon-camera\"\/><\/svg>\r\n        <span id=\"skh-filename\">Send a photo of the assignment, book, or worksheet (optional)<\/span>\r\n      <\/label>\r\n      <input type=\"file\" id=\"skh-file\" class=\"skh-file\" accept=\"image\/*\" \/>\r\n      <p class=\"skh-hint\">Homework or textbook photos only; please don\u2019t send images with faces or personal information.<\/p>\r\n      <textarea id=\"skh-question\" rows=\"3\" aria-label=\"Homework question\" placeholder=\"Can Simorgh help my 8-year-old with learning basic coding concepts in a safe and playful way?\"><\/textarea>\r\n      <p id=\"skh-error\" class=\"skh-error\" role=\"alert\"><\/p>\r\n      <button type=\"button\" id=\"skh-submit\" class=\"skh-btn\">Start coding fun with Simorgh<\/button>\r\n    <\/div>\r\n  <\/div>\r\n<\/div>\r\n\r\n<div class=\"skh-features\">\r\n  <div class=\"skh-feature\"><div class=\"skh-icon\"><svg aria-hidden=\"true\"><use href=\"#icon-code\"\/><\/svg><\/div><p class=\"skh-feature-title\">Playful Coding Activities<\/p><p class=\"skh-feature-desc\">Interactive puzzles make coding fun for young minds.<\/p><\/div>\r\n  <div class=\"skh-feature\"><div class=\"skh-icon\"><svg aria-hidden=\"true\"><use href=\"#icon-lightbulb\"\/><\/svg><\/div><p class=\"skh-feature-title\">Boosts Critical Thinking<\/p><p class=\"skh-feature-desc\">Coding challenges spark creativity and problem-solving.<\/p><\/div>\r\n  <div class=\"skh-feature\"><div class=\"skh-icon\"><svg aria-hidden=\"true\"><use href=\"#icon-book\"\/><\/svg><\/div><p class=\"skh-feature-title\">Story-Based Learning<\/p><p class=\"skh-feature-desc\">Exciting stories weave coding concepts into learning.<\/p><\/div>\r\n<\/div>\r\n\r\n<section class=\"skh-text\">\r\n  <h2 class=\"skh-h2\">Teaching Children to Code with AI: Safe, Fun, and Inspiring<\/h2>\r\n  <p>Teaching Children to Code with AI is transforming how kids aged 5 to 12 learn essential digital skills. With the Simorgh platform, young learners embark on a journey into the world of coding, all guided by a friendly AI companion designed just for kids. Our approach ensures that children can safely explore programming concepts while parents enjoy confidence in online safety and suitable content.\n\nWith the rise of AI for kids, learning to code no longer feels intimidating or confusing. Kids interact with interactive story puzzles and hands-on block-based challenges that gradually introduce logical thinking, problem-solving, and the first steps of programming. The Simorgh assistant never overwhelms; instead, it offers hints, encouragement, and stories tailored to each child&#8217;s age and readiness.\n\nOnline safety for children is at the heart of everything we do. Simorgh\u2019s built-in controls mean children always interact in a protected, parent-monitored space, with no link to unsafe or filtered web content. Parents can supervise each new activity, review progress, and ensure every coding exploration aligns with family values and the child\u2019s maturity level.\n\nThe learning journey is made even more magical by Simorgh\u2019s unique blend of storytelling, creativity, and coding. Each coding challenge is presented as a story adventure, where the Simorgh bird and the child solve puzzles, build colorful sequences, or imagine new scenarios together. This approach keeps lessons memorable and engaging, planting the seeds for a lifelong love of learning and curiosity in problem-solving.\n\nTeaching Children to Code with AI means making technology approachable and exciting\u2014not something mysterious for adults only. Parents love how Simorgh scaffolds each activity according to the child&#8217;s skills, so every success builds confidence. Children experience the thrill of discovery, knowing they have a helpful, imaginative friend guiding them forward.\n\nBy choosing Teaching Children to Code with AI through Simorgh, families unlock a world of creativity, critical thinking, and digital citizenship\u2014all in a warm, inspiring, and secure environment. Explore, code, and grow together!<\/p>\r\n<\/section>\r\n\r\n<section class=\"skh-faq\">\r\n  <h2 class=\"skh-h2\">Frequently Asked Questions<\/h2>\r\n  <details><summary><h3>How can Simorgh help my child start coding?<\/h3><\/summary><p>Simorgh introduces coding concepts through interactive stories, puzzles, and blocks. Kids learn step-by-step, always encouraged and guided by the friendly AI assistant.<\/p><\/details>\r\n  <details><summary><h3>Is Teaching Children to Code with AI safe for young kids?<\/h3><\/summary><p>Yes! All coding activities occur in a secure, parent-supervised environment with no exposure to unfiltered web content. Parents are always in control.<\/p><\/details>\r\n  <details><summary><h3>What age is best to start learning coding with AI?<\/h3><\/summary><p>Simorgh&#8217;s activities are designed for children aged 5 to 12, adapting complexity to each child\u2019s abilities. Younger kids start with basics; older children can tackle more advanced challenges.<\/p><\/details>\r\n  <details><summary><h3>Can Simorgh help if my child is new to coding?<\/h3><\/summary><p>Absolutely. Teaching Children to Code with AI is designed for complete beginners, using stories and playful activities to introduce concepts gently and engagingly.<\/p><\/details>\r\n  <details><summary><h3>Does coding with AI replace teachers or parents?<\/h3><\/summary><p>No, Simorgh acts as a supportive companion. It complements\u2014not replaces\u2014guidance from teachers and parents by making learning more engaging and accessible.<\/p><\/details>\r\n  <details><summary><h3>How does coding with Simorgh increase my child\u2019s creativity?<\/h3><\/summary><p>Through story-driven problem-solving, children imagine new solutions and express ideas while learning coding fundamentals, nurturing their creative thinking skills.<\/p><\/details>\r\n<\/section>\r\n\r\n<a class=\"skh-more\" href=\"\/en\/learning\/\">Learn more about the World of Learning<\/a>\r\n\r\n<!-- Uncomment once ALL four learning leaf pages are published (so no page links to a 404).\r\n     The script below hides the link to the page you are currently on.\r\n<ul class=\"skh-siblings\">\r\n  <li><a href=\"\/en\/learning\/homework-help\/\">Homework and school subjects help<\/a><\/li>\r\n  <li><a href=\"\/en\/learning\/exam-prep\/\">Exam prep and review<\/a><\/li>\r\n  <li><a href=\"\/en\/learning\/english-for-kids\/\">English language learning<\/a><\/li>\r\n  <li><a href=\"\/en\/learning\/coding-for-kids\/\">Coding for kids<\/a><\/li>\r\n<\/ul>\r\n-->\r\n\r\n<div class=\"skh-sticky\" id=\"skh-sticky\">\r\n  <span>\ud83c\udf93 Simorgh Kids is ready to help with learning<\/span>\r\n  <button type=\"button\" id=\"skh-sticky-btn\">Get Started \u26a1<\/button>\r\n<\/div>\r\n\r\n<script>\r\n(function () {\r\n  \/\/ --- Configure these for the kids app ---\r\n  var CHAT_BASE_URL = '\/chat';\r\n  var OUTLET = 'aiagent';\r\n  var AGENT = 'learning_agent';   \/\/ TODO: replace with the real id of the learning agent\r\n  var UPLOAD_URL = 'https:\/\/backend.simorghkids.ir\/api\/agents\/upload-file\/';   \/\/ TODO: kids upload endpoint (the vision page uses backend.simorghesalamat.ir)\r\n  var TOKEN_COOKIE = 'simorgh_user_token';\r\n  var MAX_BYTES = 3 * 1024 * 1024;\r\n\r\n  var fileInput = document.getElementById('skh-file');\r\n  var filenameLabel = document.getElementById('skh-filename');\r\n  var defaultLabel = filenameLabel ? filenameLabel.textContent : '';\r\n  var input = document.getElementById('skh-question');\r\n  var errorEl = document.getElementById('skh-error');\r\n  var submitBtn = document.getElementById('skh-submit');\r\n  var submitLabel = submitBtn ? submitBtn.textContent : '';\r\n\r\n  function getAuthToken() {\r\n    var m = document.cookie.match(new RegExp('(?:^|;\\\\s*)' + TOKEN_COOKIE + '=([^;]*)'));\r\n    return m ? decodeURIComponent(m[1]) : null;\r\n  }\r\n  function showError(msg) { errorEl.textContent = msg; errorEl.style.display = 'block'; }\r\n  function hideError() { errorEl.style.display = 'none'; }\r\n\r\n  function goToChat(question, fileId) {\r\n    var params = new URLSearchParams();\r\n    params.set('outlet', OUTLET);\r\n    params.set('current_agent', AGENT);\r\n    if (question) {\r\n      var message = question;\r\n      if (fileId) message += ' file_id: ' + fileId;\r\n      params.set('send_message', message);\r\n    }\r\n    window.location.href = CHAT_BASE_URL + '?' + params.toString();\r\n  }\r\n\r\n  function uploadFile(file) {\r\n    var formData = new FormData();\r\n    formData.append('file', file);\r\n    var token = getAuthToken();\r\n    var headers = {};\r\n    if (token) headers['Authorization'] = 'Bearer ' + token;\r\n    return fetch(UPLOAD_URL, { method: 'POST', body: formData, headers: headers })\r\n      .then(function (res) { if (!res.ok) throw new Error('upload failed: ' + res.status); return res.json(); })\r\n      .then(function (data) { return data.file_id; });\r\n  }\r\n\r\n  if (fileInput) {\r\n    fileInput.addEventListener('change', function () {\r\n      var file = fileInput.files[0];\r\n      if (!file) { filenameLabel.textContent = defaultLabel; return; }\r\n      if (file.type && file.type.indexOf('image\/') !== 0) { showError('Please select an image only.'); fileInput.value = ''; filenameLabel.textContent = defaultLabel; return; }\r\n      if (file.size > MAX_BYTES) { showError('Image size must be under 3 MB.'); fileInput.value = ''; filenameLabel.textContent = defaultLabel; return; }\r\n      hideError();\r\n      filenameLabel.textContent = file.name;\r\n    });\r\n  }\r\n\r\n  if (submitBtn && input) {\r\n    submitBtn.addEventListener('click', function () {\r\n      var q = input.value.trim();\r\n      if (!q) { showError('Please type your study question.'); input.focus(); return; }\r\n      hideError();\r\n      var file = fileInput && fileInput.files[0];\r\n      submitBtn.disabled = true;\r\n      submitBtn.textContent = 'Sending...';\r\n      if (file) {\r\n        uploadFile(file)\r\n          .then(function (fileId) { goToChat(q, fileId); })\r\n          .catch(function (err) { console.warn('Simorgh: upload failed', err); goToChat(q, null); });\r\n      } else {\r\n        goToChat(q, null);\r\n      }\r\n    });\r\n    \/\/ Back button (bfcache) must not leave the button stuck in \"sending\"\r\n    window.addEventListener('pageshow', function (e) {\r\n      if (e.persisted) { submitBtn.disabled = false; submitBtn.textContent = submitLabel; }\r\n    });\r\n  }\r\n\r\n  \/\/ Hide the sibling link that points to the current page (only matters once the sibling list is enabled)\r\n  document.querySelectorAll('.skh-siblings a').forEach(function (a) {\r\n    if (a.pathname === window.location.pathname) a.parentNode.style.display = 'none';\r\n  });\r\n\r\n  var sticky = document.getElementById('skh-sticky');\r\n  var stickyBtn = document.getElementById('skh-sticky-btn');\r\n  if (sticky) {\r\n    window.addEventListener('scroll', function () {\r\n      sticky.classList.toggle('skh-visible', window.scrollY > 300);\r\n    }, { passive: true });\r\n  }\r\n  if (stickyBtn) stickyBtn.addEventListener('click', function () { goToChat(null, null); });\r\n})();\r\n<\/script>\r\n<\/div>\n<script type=\"application\/ld+json\">{\"@context\": \"https:\/\/schema.org\", \"@type\": \"FAQPage\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"How can Simorgh help my child start coding?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Simorgh introduces coding concepts through interactive stories, puzzles, and blocks. Kids learn step-by-step, always encouraged and guided by the friendly AI assistant.\"}}, {\"@type\": \"Question\", \"name\": \"Is Teaching Children to Code with AI safe for young kids?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Yes! All coding activities occur in a secure, parent-supervised environment with no exposure to unfiltered web content. Parents are always in control.\"}}, {\"@type\": \"Question\", \"name\": \"What age is best to start learning coding with AI?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Simorgh's activities are designed for children aged 5 to 12, adapting complexity to each child\u2019s abilities. Younger kids start with basics; older children can tackle more advanced challenges.\"}}, {\"@type\": \"Question\", \"name\": \"Can Simorgh help if my child is new to coding?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Absolutely. Teaching Children to Code with AI is designed for complete beginners, using stories and playful activities to introduce concepts gently and engagingly.\"}}]}<\/script>\n\n\n<h2 class=\"wp-block-heading\">\u0645\u0646\u0627\u0628\u0639<\/h2>\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/code.org\" rel=\"noopener\" target=\"_blank\">Code.org<\/a><\/p>\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/microbit.org\/createai\/\" rel=\"noopener\" target=\"_blank\">microbit.org<\/a><\/p>\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.khanacademy.org\/computing\/computer-programming\/programming-with-ai\" rel=\"noopener\" target=\"_blank\">Khan Academy &#8211; Intro to Programming with AI<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Home \u203a Learning \u203a Teaching Children to Code with AI Fun &#038; Safe Learning for Kids Teaching Children to Code with AI Let your child explore coding, creativity, and curiosity with Simorgh\u2019s playful AI companion. Send a photo of the assignment, book, or worksheet (optional) Homework or textbook photos only; please don\u2019t send images with [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":131,"parent":324,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"rank_math_title":"Teaching Children to Code with AI | Simorgh Kids Learning","rank_math_description":"Teaching Children to Code with AI is easy, safe, and fun with Simorgh. Discover playful coding, protected learning for kids, and peace of mind for parents.","rank_math_focus_keyword":"Teaching Children to Code with AI","_seo_pipeline_notes":"Reviewer notes:\nAll focus keyword usages are present and never forced. Hero image prompt follows CAST rule and visual section guidelines exactly. FAQ questions are practical and parent-focused. SEO intro section is long, natural, and informative, with keywords smoothly integrated.\n\n\u26a0\ufe0f Publishing warnings: hero image generation failed. Add the missing image(s) manually.","pipeline_lang":"","pipeline_translation_of":0,"footnotes":""},"class_list":["post-331","page","type-page","status-publish","has-post-thumbnail","hentry"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":8}},"_links":{"self":[{"href":"https:\/\/simorghkids.ir\/blog\/wp-json\/wp\/v2\/pages\/331","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/simorghkids.ir\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/simorghkids.ir\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/simorghkids.ir\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/simorghkids.ir\/blog\/wp-json\/wp\/v2\/comments?post=331"}],"version-history":[{"count":1,"href":"https:\/\/simorghkids.ir\/blog\/wp-json\/wp\/v2\/pages\/331\/revisions"}],"predecessor-version":[{"id":333,"href":"https:\/\/simorghkids.ir\/blog\/wp-json\/wp\/v2\/pages\/331\/revisions\/333"}],"up":[{"embeddable":true,"href":"https:\/\/simorghkids.ir\/blog\/wp-json\/wp\/v2\/pages\/324"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/simorghkids.ir\/blog\/wp-json\/wp\/v2\/media\/131"}],"wp:attachment":[{"href":"https:\/\/simorghkids.ir\/blog\/wp-json\/wp\/v2\/media?parent=331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}