{"id":346,"date":"2026-09-07T20:13:37","date_gmt":"2026-09-07T20:13:37","guid":{"rendered":"https:\/\/ndovu.org.uk\/cs\/?p=346"},"modified":"2026-10-14T11:15:26","modified_gmt":"2026-10-14T11:15:26","slug":"yr6-term-1-1-5-coding-a-poem","status":"publish","type":"post","link":"https:\/\/ndovu.org.uk\/cs\/yr6-term-1-1-5-coding-a-poem\/","title":{"rendered":"Yr6 Term 1.1.5 Coding a poem"},"content":{"rendered":"\n<p><strong>Welcome back to Year 6 Computing! \ud83d\udcdc\ud83c\udfa8<\/strong><\/p>\n<p>Today we are blending technology and creative arts! You will learn how to write your own digital poetry and use block-based code to bring your poem to life with animated visual effects, background scenes, and sounds. Let&#8217;s dive in!<\/p>\n\n<p><strong>Step 1: Time to Type! \u2328\ufe0f<\/strong><\/p>\n<ul>\n  <li>Click here to warm up your fingers: <a href=\"https:\/\/dyson-fereday.ovh\/type\/\" target=\"_blank\" rel=\"noopener\">Start Typing Practice<\/a>.<\/li>\n  <li>Today&#8217;s typing challenge focuses on famous poetic lines and computer algorithms. Aim for smooth, steady rhythm and high accuracy!<\/li>\n<\/ul>\n\n<p><strong>Step 2: Coding Poetry in Code.org \ud83d\ude80<\/strong><\/p>\n<p>We are going to use Code.org&#8217;s Poetry module to code dynamic visual effects that react to the words in a poem.<\/p>\n\n<div style=\"background-color: #f9f9f9; border-left: 5px solid #0073aa; padding: 15px 20px; border-radius: 8px; margin: 20px 0;\">\n  <p style=\"margin-top: 0; font-weight: bold; font-size: 18px;\">\ud83d\udccd Important Access Instructions:<\/p>\n  <ol style=\"margin-bottom: 0;\">\n    <li>Click the link below to launch the Code.org Poetry module:<\/li>\n    <p style=\"margin: 10px 0;\"><a href=\"https:\/\/studio.code.org\/courses\/poetry-2023\/units\/1\/lessons\/1\/levels\/1?lang=en-US\" target=\"_blank\" rel=\"noopener\" style=\"display: inline-block; background-color: #0073aa; color: white; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold;\">Launch Code.org Poetry Studio \u2794<\/a><\/p>\n    <li>When the page opens, <strong>do not sign in<\/strong>. Click the <strong>&#8220;Continue without logging in&#8221;<\/strong> option or simply begin on Level 1 as a guest.<\/li>\n  <\/ol>\n<\/div>\n\n<p><strong>Step 3: Poetic Code Elements \ud83e\udde9<\/strong><\/p>\n<p>As you work through the levels, pay close attention to these key coding concepts:<\/p>\n<ul>\n  <li><strong>Events:<\/strong> Blocks that wait for something to happen (e.g., <code>when line 2 is read<\/code> or <code>when clicked<\/code>).<\/li>\n  <li><strong>Effects:<\/strong> Animated background filters like rain, sparkles, or color shifts that match the poem&#8217;s mood.<\/li>\n  <li><strong>Sprites:<\/strong> Visual characters or items that appear, move, or change size as the poem progresses.<\/li>\n<\/ul>\n\n<p><strong>Step 4: Interactive Poetry Creator \ud83d\udcdd<\/strong><\/p>\n<p>Now it is time to plan your own masterpiece! Choose a theme, write a short 3-line poem, and plan which code effects you will use to animate it.<\/p>\n\n<!-- INTERACTIVE LESSON WIDGET -->\n<div id=\"poetry-planner-widget\" style=\"max-width: 800px; margin: 20px auto; font-family: Arial, sans-serif; border: 2px solid #ddd; border-radius: 10px; padding: 20px; background-color: #fcfcfc; box-shadow: 0 4px 8px rgba(0,0,0,0.05);\">\n\n  <!-- Progress Bar -->\n  <div style=\"width: 100%; background-color: #e0e0e0; border-radius: 5px; margin-bottom: 20px;\">\n    <div id=\"progress-bar\" style=\"width: 25%; height: 10px; background-color: #9c27b0; border-radius: 5px; transition: width 0.3s;\"><\/div>\n  <\/div>\n\n  <!-- Slide 1: Theme Selection -->\n  <div class=\"slide active\" id=\"slide-0\" style=\"display: block;\">\n    <h2 style=\"margin-top:0; color: #9c27b0;\">Step 1: Choose Your Poem&#8217;s Theme<\/h2>\n    <p>Select a mood\/theme for your animated poem:<\/p>\n    <div style=\"display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-bottom: 20px;\">\n      <button type=\"button\" class=\"theme-btn\" data-theme=\"Ocean and Nature\" style=\"padding: 15px; border: 2px solid #ccc; border-radius: 8px; cursor: pointer; background: white; font-size: 16px;\">\ud83c\udf0a Ocean &amp; Nature<\/button>\n      <button type=\"button\" class=\"theme-btn\" data-theme=\"Space and Stars\" style=\"padding: 15px; border: 2px solid #ccc; border-radius: 8px; cursor: pointer; background: white; font-size: 16px;\">\ud83d\ude80 Space &amp; Stars<\/button>\n      <button type=\"button\" class=\"theme-btn\" data-theme=\"Storm and Mystery\" style=\"padding: 15px; border: 2px solid #ccc; border-radius: 8px; cursor: pointer; background: white; font-size: 16px;\">\ud83c\udf29\ufe0f Storm &amp; Mystery<\/button>\n      <button type=\"button\" class=\"theme-btn\" data-theme=\"Joy and Sunshine\" style=\"padding: 15px; border: 2px solid #ccc; border-radius: 8px; cursor: pointer; background: white; font-size: 16px;\">\u2600\ufe0f Joy &amp; Sunshine<\/button>\n    <\/div>\n    <div style=\"text-align: right;\">\n      <button type=\"button\" id=\"btn-next-1\" style=\"background-color: #9c27b0; color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; font-size: 16px;\">Next \u2794<\/button>\n    <\/div>\n  <\/div>\n\n  <!-- Slide 2: Write Poem Lines -->\n  <div class=\"slide\" id=\"slide-1\" style=\"display: none;\">\n    <h2 style=\"margin-top:0; color: #9c27b0;\">Step 2: Write Your Poem<\/h2>\n    <p>Compose a 3-line poem based on your chosen theme:<\/p>\n    \n    <label style=\"font-weight: bold; display: block; margin-top: 10px;\">Line 1:<\/label>\n    <input type=\"text\" id=\"line1\" placeholder=\"e.g., Silent waves crash on the shore...\" style=\"width: 100%; padding: 10px; margin-bottom: 10px; border: 1px solid #ccc; border-radius: 5px; box-sizing: border-box;\">\n    \n    <label style=\"font-weight: bold; display: block; margin-top: 10px;\">Line 2:<\/label>\n    <input type=\"text\" id=\"line2\" placeholder=\"e.g., Deep blue waters dark and pure...\" style=\"width: 100%; padding: 10px; margin-bottom: 10px; border: 1px solid #ccc; border-radius: 5px; box-sizing: border-box;\">\n    \n    <label style=\"font-weight: bold; display: block; margin-top: 10px;\">Line 3:<\/label>\n    <input type=\"text\" id=\"line3\" placeholder=\"e.g., Whispering secrets forevermore.\" style=\"width: 100%; padding: 10px; margin-bottom: 20px; border: 1px solid #ccc; border-radius: 5px; box-sizing: border-box;\">\n\n    <div style=\"text-align: right;\">\n      <button type=\"button\" id=\"btn-next-2\" style=\"background-color: #9c27b0; color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; font-size: 16px;\">Next \u2794<\/button>\n    <\/div>\n  <\/div>\n\n  <!-- Slide 3: Code Event Mapping -->\n  <div class=\"slide\" id=\"slide-2\" style=\"display: none;\">\n    <h2 style=\"margin-top:0; color: #9c27b0;\">Step 3: Plan Your Code Effects<\/h2>\n    <p>Describe what visual effects or sprite movements you will code for each line in Code.org:<\/p>\n    \n    <label style=\"font-weight: bold; display: block; margin-top: 10px;\">Effect for Line 1:<\/label>\n    <textarea id=\"effect1\" rows=\"2\" placeholder=\"e.g., Set background to ocean and play wave sound\" style=\"width: 100%; padding: 10px; margin-bottom: 10px; border: 1px solid #ccc; border-radius: 5px; box-sizing: border-box;\"><\/textarea>\n    \n    <label style=\"font-weight: bold; display: block; margin-top: 10px;\">Effect for Line 2:<\/label>\n    <textarea id=\"effect2\" rows=\"2\" placeholder=\"e.g., Make a fish sprite swim across the screen\" style=\"width: 100%; padding: 10px; margin-bottom: 10px; border: 1px solid #ccc; border-radius: 5px; box-sizing: border-box;\"><\/textarea>\n    \n    <label style=\"font-weight: bold; display: block; margin-top: 10px;\">Effect for Line 3:<\/label>\n    <textarea id=\"effect3\" rows=\"2\" placeholder=\"e.g., Fade screen to dark blue and start bubble effect\" style=\"width: 100%; padding: 10px; margin-bottom: 20px; border: 1px solid #ccc; border-radius: 5px; box-sizing: border-box;\"><\/textarea>\n\n    <div style=\"text-align: right;\">\n      <button type=\"button\" id=\"btn-next-3\" style=\"background-color: #4CAF50; color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; font-size: 16px;\">Finish &amp; View \u2794<\/button>\n    <\/div>\n  <\/div>\n\n  <!-- Slide 4: Download & Preview -->\n  <div class=\"slide\" id=\"slide-3\" style=\"display: none; text-align: center;\">\n    <h2 style=\"margin-top:0; color: #9c27b0;\">Poetry Plan Complete! \ud83c\udfad<\/h2>\n    <p style=\"font-size: 16px; margin-bottom: 20px;\">Review your beautiful Poetry Blueprint below. Click the download button to save it to your digital portfolio!<\/p>\n    \n    <!-- Visual Screen Preview -->\n    <div style=\"border: 2px solid #ccc; border-radius: 8px; background: #eee; margin-bottom: 20px; max-height: 500px; overflow-y: auto;\">\n      <img decoding=\"async\" id=\"blueprint-preview\" src=\"\" style=\"width: 100%; height: auto; display: block;\" alt=\"Generating Blueprint...\">\n    <\/div>\n    \n    <button type=\"button\" id=\"btn-download\" style=\"background-color: #9c27b0; color: white; border: none; padding: 15px 25px; border-radius: 5px; cursor: pointer; font-size: 18px; margin-top: 10px; font-weight: bold;\">\ud83d\udcbe Download My Poetry Plan<\/button>\n  <\/div>\n\n<\/div>\n\n<p><strong>Step 5: Log Off and Reflect \ud83d\udc4b<\/strong><\/p>\n<ul>\n  <li><strong>Exit Ticket:<\/strong> Share with a partner how using code event blocks (like <code>when line 2 is read<\/code>) helps express the emotions or story in a poem.<\/li>\n  <li>Log out securely and tidy your desk space!<\/li>\n<\/ul>&#8216;\n<script>\n(function(){\nfunction initPoetry(){\nwindow.poetryData={};\nwindow.selectedTheme=\"\";\nwindow.certDataURL=\"\";\nwindow.showSlide=function(n){\nvar s=document.querySelectorAll(\"#poetry-planner-widget .slide\");\nfor(var j=0;j!==s.length;j++){s[j].style.display=\"none\";}\nvar t=document.getElementById(\"slide-\"+n);\nif(t)t.style.display=\"block\";\nvar p=[25,50,75,100];\nvar b=document.getElementById(\"progress-bar\");\nif(b)b.style.width=p[n]+\"%\";\n};\ndocument.addEventListener(\"click\",function(e){\nvar btn=e.target.closest(\"button\");\nif(!btn)return;\nvar id=btn.id;\nif(btn.classList.contains(\"theme-btn\")){\nwindow.selectedTheme=btn.getAttribute(\"data-theme\");\nvar siblings=document.querySelectorAll(\".theme-btn\");\nfor(var i=0;i!==siblings.length;i++){\nsiblings[i].style.borderColor=\"#ccc\";\nsiblings[i].style.backgroundColor=\"white\";\n}\nbtn.style.borderColor=\"#9c27b0\";\nbtn.style.backgroundColor=\"#f3e5f5\";\n}\nif(id===\"btn-next-1\"){\nif(window.selectedTheme===\"\"){alert(\"Please select a theme before continuing!\");return;}\nwindow.poetryData.theme=window.selectedTheme;\nwindow.showSlide(1);\n}\nif(id===\"btn-next-2\"){\nvar l1=document.getElementById(\"line1\").value.trim();\nvar l2=document.getElementById(\"line2\").value.trim();\nvar l3=document.getElementById(\"line3\").value.trim();\nif(l1===\"\"||l2===\"\"||l3===\"\"){alert(\"Please fill in all three lines of your poem!\");return;}\nwindow.poetryData.l1=l1;window.poetryData.l2=l2;window.poetryData.l3=l3;\nwindow.showSlide(2);\n}\nif(id===\"btn-next-3\"){\nvar e1=document.getElementById(\"effect1\").value.trim();\nvar e2=document.getElementById(\"effect2\").value.trim();\nvar e3=document.getElementById(\"effect3\").value.trim();\nif(e1===\"\"||e2===\"\"||e3===\"\"){alert(\"Please describe the code effect for each line!\");return;}\nwindow.poetryData.e1=e1;window.poetryData.e2=e2;window.poetryData.e3=e3;\nvar c=document.createElement(\"canvas\");\nc.width=800;c.height=1200;\nvar x=c.getContext(\"2d\");\nvar bgC=\"#ffffff\",headC=\"#9c27b0\",txtC=\"#333333\",divC=\"#e0e0e0\";\nvar tName=window.poetryData.theme;\nif(tName===\"Ocean and Nature\"){bgC=\"#e0f7fa\";headC=\"#006064\";txtC=\"#004d40\";divC=\"#4dd0e1\";}\nif(tName===\"Space and Stars\"){bgC=\"#1c1c3c\";headC=\"#b39ddb\";txtC=\"#f8f9fa\";divC=\"#673ab7\";}\nif(tName===\"Storm and Mystery\"){bgC=\"#37474f\";headC=\"#90a4ae\";txtC=\"#eceff1\";divC=\"#607d8b\";}\nif(tName===\"Joy and Sunshine\"){bgC=\"#fff9c4\";headC=\"#f57f17\";txtC=\"#bf360c\";divC=\"#ffd54f\";}\nx.fillStyle=bgC;\nx.fillRect(0,0,c.width,c.height);\nx.strokeStyle=headC;\nx.lineWidth=15;\nx.strokeRect(20,20,c.width-40,c.height-40);\nx.lineWidth=4;\nx.strokeRect(30,30,c.width-60,c.height-60);\nfunction w(txt,sx,sy,wl,lh){\nvar ws=txt.split(\" \");var cl=\"\";\nfor(var n=0;n!==ws.length;n++){\nvar tl=cl+ws[n]+\" \";\nvar m=x.measureText(tl);\nif(Math.max(m.width,wl)!==wl&&n!==0){\nx.fillText(cl,sx,sy);cl=ws[n]+\" \";sy+=lh;\n}else{cl=tl;}\n}\nx.fillText(cl,sx,sy);return sy+lh;\n}\nvar y=100;\nx.fillStyle=headC;x.font=\"bold 45px Arial\";\nx.textAlign=\"center\";\nx.fillText(\"My Animated Poetry Blueprint\",400,y);y+=60;\nx.fillStyle=txtC;x.font=\"bold 24px Arial\";\nx.fillText(\"Theme: \"+window.poetryData.theme,400,y);y+=80;\nx.textAlign=\"left\";\nfor(var i=1;i!==4;i++){\nx.fillStyle=headC;x.font=\"bold 28px Arial\";\nx.fillText(\"Line \"+i+\" & Code Event\",60,y);y+=40;\nx.fillStyle=txtC;x.font=\"italic 24px Georgia\";\ny=w('\"' + window.poetryData[\"l\"+i] + '\"',60,y,680,32);y+=20;\nx.fillStyle=headC;x.font=\"bold 20px Arial\";\nx.fillText(\"Coded Animation Plan:\",60,y);y+=30;\nx.fillStyle=txtC;x.font=\"normal 22px Arial\";\ny=w(window.poetryData[\"e\"+i],60,y,680,30);y+=40;\nx.fillStyle=divC;\nx.fillRect(60,y,680,4);y+=50;\n}\nwindow.certDataURL=c.toDataURL(\"image\/png\");\nvar prv=document.getElementById(\"blueprint-preview\");\nif(prv)prv.src=window.certDataURL;\nwindow.showSlide(3);\n}\nif(id===\"btn-download\"){\nvar ln=document.createElement(\"a\");\nln.href=window.certDataURL;\nln.download=\"My_Poetry_Blueprint.png\";\ndocument.body.appendChild(ln);\nln.click();\ndocument.body.removeChild(ln);\nalert(\"Blueprint downloaded! Paste this PNG into your Word Document.\");\n}\n});\n}\nif(document.readyState===\"loading\"){\ndocument.addEventListener(\"DOMContentLoaded\",initPoetry);\n}else{initPoetry();}\n})();\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Welcome back to Year 6 Computing! \ud83d\udcdc\ud83c\udfa8 Today we are blending technology and creative arts! You will learn how to write your own digital poetry&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/ndovu.org.uk\/cs\/yr6-term-1-1-5-coding-a-poem\/\">Continue Reading<span class=\"screen-reader-text\">Yr6 Term 1.1.5 Coding a poem<\/span><\/a><\/div>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kilabel_text_disclosure":"","_kilabel_text_reviewed_by":"","_kilabel_text_reviewed_on":"","_kilabel_text_responsible":"","iawp_total_views":0,"footnotes":""},"categories":[9],"tags":[],"class_list":["post-346","post","type-post","status-publish","format-standard","hentry","category-year6","entry"],"_links":{"self":[{"href":"https:\/\/ndovu.org.uk\/cs\/wp-json\/wp\/v2\/posts\/346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ndovu.org.uk\/cs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ndovu.org.uk\/cs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ndovu.org.uk\/cs\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ndovu.org.uk\/cs\/wp-json\/wp\/v2\/comments?post=346"}],"version-history":[{"count":6,"href":"https:\/\/ndovu.org.uk\/cs\/wp-json\/wp\/v2\/posts\/346\/revisions"}],"predecessor-version":[{"id":597,"href":"https:\/\/ndovu.org.uk\/cs\/wp-json\/wp\/v2\/posts\/346\/revisions\/597"}],"wp:attachment":[{"href":"https:\/\/ndovu.org.uk\/cs\/wp-json\/wp\/v2\/media?parent=346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ndovu.org.uk\/cs\/wp-json\/wp\/v2\/categories?post=346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ndovu.org.uk\/cs\/wp-json\/wp\/v2\/tags?post=346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}