[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-688769-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-688769-en":130,"doc-similar-688769":249},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","code-for-teens-the-awesome-beginners-guide-to-programming","Code for Teens - The Awesome Beginner's Guide to Programming","","Code for Teens presents a structured, kid-friendly path into programming with a focus on JavaScript fundamentals. The book moves from writing first lines of code and learning core operators to working with strings, functions, booleans, conditionals, and logical operators. It introduces projects progressively, covering arrays and loop constructs, culminating in a Hangman game that combines ideas from all chapters. Chapter quizzes and back-of-book answers support self-check and learning.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/code-for-teens-the-awesome-beginners-guide-to-programming/688769/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/code-for-teens-the-awesome-beginners-guide-to-programming/688769.png","ImageObject",300,407,{"name":42,"@type":43},"Jiven","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-18","2026-11-07",true,{"@type":52,"interactionType":53,"userInteractionCount":33},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What programming language does Code for Teens focus on?","Question",{"text":62,"@type":63},"It helps readers learn JavaScript, described as the most commonly used programming language in software engineering.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"What topics are covered in the early chapters?",{"text":67,"@type":63},"The early chapters guide readers through writing first code lines, using numbers and math operators, and concatenating and commenting strings.",{"name":69,"@type":60,"acceptedAnswer":70},"What is the final project in the book?",{"text":71,"@type":63},"The final chapter focuses on making a Hangman game by combining concepts from every chapter.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},688769,1794091476,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":101,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":33,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":79,"read_time":144,"preview_page_count":145,"preview_urls":146},1099513958607,"https://ap-avatar.wpscdn.com/avatar/100002390cf8733938c?x-image-process=image/resize,m_fixed,w_180,h_180&k=1778829742770036399","To my two oldest children, Angel and  \nTony. Thank you for inspiring me to write this book and helping me see the software development learning process through the eyes of bright young teens .  \nAnd to my other four wonderful children . Thank you for the countless hours of joyful distractions .  \n[www.EBooksWorld.ir](www.EBooksWorld.ir)  \n[www.mascotbooks.com](www.mascotbooks.com)  \nCode for Teens: The Awesome Beginner's Guide to Programming  \n©2018 Jeremy Moritz. All Rights Reserved. No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form by any means electronic, mechanical, or photocopying, recording or otherwise without the permission of the author.  \nFor more information, please contact:  \nMascot Books  \n620 Herndon Parkway \\#320 Herndon, VA 20170 [info@mascotbooks.com](info@mascotbooks.com)  \nLibrary of Congress Control Number: 2018902079  \nCPSIA Code: PRTWP0218A  \nISBN-13: 978-1-68401-960-1  \nPrinted in Malaysia  \n[www.EBooksWorld.ir](www.EBooksWorld.ir)  \nCode  \nfor Teens  \nThe Awesome Beginner’s Guide to Programming  \n!  \nWritten by Illustrated by  \nJeremy Moritz Christine Moritz  \nVolume w1ww:.EBookJsWaorldv.ir aScript  \nTable of   \nContents  \nForeword ..........................................................................2  \nIntroduction ....................................................................4  \nA Word for Parents ........................................................8  \nChapter 1: Hello World!................................................. 13  \nWrite your first lines of code and make mistakes  \nChapter 2: Time to Operate ..........................................29  \nCode with numbers and math operators  \nChapter 3: Comment on the String Section ..................45  \nConcatenate strings and make snide comments  \nChapter 4: Have Some Functions ..................................59  \nDeclare and invoke functions  \nChapter 5: Shall I Compare? ......................................... 77  \nUse booleans, if blocks, conditionals, and comparison operators  \nChapter 6: Logically Operational ..................................93  \nWork with null, undefined, and logical operators  \nChapter 7: Projects Galore........................................... 113  \nPractice methods in lots of short projects  \nChapter 8: Hip Hip Array! .......................................... 131  \nIntroduce arrays and do stuff with 'em  \nChapter 9: Loop a Round ............................................ 151  \nPut your code on repeat with loops  \nChapter 10: Make a Hangman Game ......................... 173  \nCombine concepts from every chapter to build a cool game Conclusion................................................................... 184  \nAnswers ........................................................................ 186  \nGlossary of Terms .....................................................214  \n[www.EBooksWorld.ir](www.EBooksWorld.ir)  \nForeword  \nBy Sarah Phelps, Computer Science Educator  \nWhen Jeremy first asked me about writing the foreword for his book, I was excited and incredibly honored. Now, you should know that I am not a programmer. What I bring to this conversation is knowledge of children. I have been an elementary teacher for ten years now, and I developed a program for my school district with a goal to introduce kids to computer science and build an interest in pursuing it as they continue through school. I have done a ton of research, attended technology education conferences and trainings, and frequently consult with my personal software engineer: my husband. My experience in teaching and understanding how kids learn has helped me find resources and tools that are engaging and successful at teaching the fundamentals of computer science, so I began sharing these resources in technology conferences and children's STEM workshops around the country.  \nAt one such conference and workshop, I met Jeremy and Christine and their many children. From the oldest to","cbCait33Pl6L6AbU","https://ap.wps.com/l/cbCait33Pl6L6AbU","pdf",4039024,224,"English","# Foreword\n# Introduction\n# A Word for Parents\n# Chapter 1: Hello World!\n# Chapter 2: Time to Operate\n# Chapter 3: Comment on the String Section\n# Chapter 4: Have Some Functions\n# Chapter 5: Shall I Compare?\n# Chapter 6: Logically Operational\n# Chapter 7: Projects Galore\n# Chapter 8: Hip Hip Array!\n# Chapter 9: Loop a Round\n# Chapter 10: Make a Hangman Game\n# Conclusion\n# Answers\n# Glossary of Terms","[{\"question\":\"What programming language does Code for Teens focus on?\",\"answer\":\"It helps readers learn JavaScript, described as the most commonly used programming language in software engineering.\"},{\"question\":\"What topics are covered in the early chapters?\",\"answer\":\"The early chapters guide readers through writing first code lines, using numbers and math operators, and concatenating and commenting strings.\"},{\"question\":\"What is the final project in the book?\",\"answer\":\"The final chapter focuses on making a Hangman game by combining concepts from every chapter.\"}]","Code for Teens - The Awesome Beginner's Guide to Programming | PDF",564,23,[147,151,155,159,163,167,171,175,179,183,187,192,197,202,207,212,217,222,227,231,235,240,245],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/4c730a21d902dd45b9ad27170502d7e8.webp",983,1228,{"page_no":26,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/a7e33ed670752d0ef184b239725be89e.webp",982,1227,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/21ffe97fef9bb52673001d84f1e307bc.webp",981,1226,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/835b931d165d587b0ad127d20f07a134.webp",980,1225,{"page_no":96,"url":164,"width":165,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/11e7ef62de311316dd8c09d94ffdda41.webp",979,1223,{"page_no":101,"url":168,"width":169,"height":170},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/9a985cdf2a2ef51d9cb9a8b26ffe84d4.webp",978,1222,{"page_no":105,"url":172,"width":173,"height":174},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/74b683f0721754ee2825108fda80d588.webp",977,1221,{"page_no":110,"url":176,"width":177,"height":178},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/1d41a09535951668c56f6ee77b80b1e0.webp",976,1220,{"page_no":115,"url":180,"width":181,"height":182},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/168ec68fda3df43eaf5125401b9b01ce.webp",975,1218,{"page_no":123,"url":184,"width":185,"height":186},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/29d557e0ef034e7cfa57d0a99549d1b5.webp",974,1217,{"page_no":188,"url":189,"width":190,"height":191},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/c11a21381015bb3afb841e1a49a7f335.webp",973,1216,{"page_no":193,"url":194,"width":195,"height":196},12,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/8f8eb10136ee6e43e8f34c1dd7950834.webp",972,1215,{"page_no":198,"url":199,"width":200,"height":201},13,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/a925a9ee67231170bcffd925d04fae21.webp",971,1213,{"page_no":203,"url":204,"width":205,"height":206},14,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/62294e70e79211bb76ced86f09fa7287.webp",970,1212,{"page_no":208,"url":209,"width":210,"height":211},15,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/6ff048adcbfa5be3c35c64bd7bfb3df2.webp",969,1211,{"page_no":213,"url":214,"width":215,"height":216},16,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/a367d12ae4075d9482b28cc322938429.webp",968,1210,{"page_no":218,"url":219,"width":220,"height":221},17,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/b3a5214d98c57b93de275336b890dd68.webp",967,1208,{"page_no":223,"url":224,"width":225,"height":226},18,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/28c98d7bda14a567612665872589dba5.webp",966,1207,{"page_no":127,"url":228,"width":229,"height":230},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/7675d6372c7df431d58cbaed475d0d34.webp",965,1206,{"page_no":117,"url":232,"width":233,"height":234},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/c54c4971fa0bc703ec9648338f2d8979.webp",964,1205,{"page_no":236,"url":237,"width":238,"height":239},21,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/f6e0ffcc3f99eb8c17ae04a6ec7f3737.webp",963,1203,{"page_no":241,"url":242,"width":243,"height":244},22,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/dcbe0b06e1e6ce505055e20ff8c2e5ef.webp",962,1202,{"page_no":145,"url":246,"width":247,"height":248},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/c3bffe975680df4526135ed5153033b3.webp",961,1201,{"list":250,"token":11},[251,258,264,271,277,283,289,296,302,309],{"doc_id":252,"doc_title":253,"file_type":137,"home_preview_img_url":254,"slug":255,"view_count":256,"category_name":29,"create_tm":257},347398,"PROGRAMMING IN “C” - MCA 101 - Lecture Notes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911501616/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=W5vIGTYflV0l%2FMAQGaq81VmgGao%3D","programming-in-c-mca-101-lecture-notes",34,1790066783,{"doc_id":259,"doc_title":260,"file_type":137,"home_preview_img_url":261,"slug":262,"view_count":33,"category_name":29,"create_tm":263},685675,"C++ summary - basic commands, data types, input/output, and control statements","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000175952/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=Grzr%2BsUAJqtj7gHZGGP55djQzuw%3D","c-summary-basic-commands-data-types-inputoutput-and-control-statements",1794016558,{"doc_id":265,"doc_title":266,"file_type":137,"home_preview_img_url":267,"slug":268,"view_count":269,"category_name":29,"create_tm":270},19243,"Eloquent JavaScript 3rd Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229709202812/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=KNb0MeiomIF1o6bH%2B0CvIeb5OVU%3D","eloquent-javascript-3rd-edition",51,1777155815,{"doc_id":272,"doc_title":273,"file_type":137,"home_preview_img_url":274,"slug":275,"view_count":110,"category_name":29,"create_tm":276},692246,"Programming in Go - Creating Applications for the 21st Century","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003019332/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=vj3fAQbHdc4gHVQZxnfqlE9oCXY%3D","programming-in-go-creating-applications-for-the-21st-century",1794186711,{"doc_id":278,"doc_title":279,"file_type":137,"home_preview_img_url":280,"slug":281,"view_count":30,"category_name":29,"create_tm":282},707218,"JavaScript Style Guide—Version 2.1 - Guidelines for JavaScript code formatting - Indentation and spacing","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230014637018/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=ZvD7IN%2BIZj2Pd5C%2B2YSuVpSvENQ%3D","javascript-style-guideversion-21-guidelines-for-javascript-code-formatting-indentation-and-spacing",1794696414,{"doc_id":284,"doc_title":285,"file_type":137,"home_preview_img_url":286,"slug":287,"view_count":208,"category_name":29,"create_tm":288},181279,"Beginning JavaScript - 5th Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229877629328/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=U%2BRR0VRzRo7KTWgDwcCmw21Nojk%3D","beginning-javascript-5th-edition",1788344074,{"doc_id":290,"doc_title":291,"file_type":137,"home_preview_img_url":292,"slug":293,"view_count":294,"category_name":29,"create_tm":295},19438,"JavaScript Essentials","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229709214853/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=5y2m8sUR3PBglYpkeDooYJAtBtM%3D","javascript-essentials",59,1777160182,{"doc_id":297,"doc_title":298,"file_type":137,"home_preview_img_url":299,"slug":300,"view_count":208,"category_name":29,"create_tm":301},403651,"Week 1 - Programming Fundamentals - Basics & Conditionals","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229920231890/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=6igM3w1SeWf5t1DDzm2N%2B3o05Mc%3D","week-1-programming-fundamentals-basics-conditionals",1790542223,{"doc_id":303,"doc_title":304,"file_type":137,"home_preview_img_url":305,"slug":306,"view_count":307,"category_name":29,"create_tm":308},22735,"JavaScript From Zero to Hero","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229715841399/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=fdZAexMCtgOaMl1vYWLaGnykV7A%3D","javascript-from-zero-to-hero",54,1777627327,{"doc_id":310,"doc_title":311,"file_type":137,"home_preview_img_url":312,"slug":313,"view_count":198,"category_name":29,"create_tm":314},423012,"Think Java - How to Think Like a Computer Scientist - Version 6.6.0","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922611452/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=pgVMAuGu49siwA6onfZjwRc34mI%3D","think-java-how-to-think-like-a-computer-scientist-version-660",1790629747]