Posts Tagged coding books

STEM Tuesday — Coding– Interview with Janet Slingerland

Welcome to STEM Tuesday: Author Interview & Book Giveaway, a repeating feature for the last Tuesday of every month. Go Science-Tech-Engineering-Math!


Many of us on the STEM Tuesday team work hard to showcase the often unsung heroes writing books that spark the imagination of young readers. But it is not often that we get to celebrate one of our own. Today we are interviewing Janet Slingerland – author Coding Creations, Coding 123 and Video Game Coding. Janet is a STEM advocate whose books have covered a wide range of non-fiction topics for k-12. The subjects include plant development, atoms and molecules, nanotechnology, military vehicles and more.

* * *

Christine Taylor-Butler: Janet, You are a kindred spirit. We both grew up reading, writing and conducting science experiments as kids. What was the most ambitious experiment you tried as a child? Was there praise and encouragement or were your parents (like mine) a bit flabbergasted?

JJanet and butterflyanet Slingerland: When I was growing up, I did a little bit of everything. I wrote really bad poetry, played lots of instruments (everything but strings and percussion) and sang, wandered around the woods, did theater, played sports, and read A LOT. When I was really young, I remember making mud pies and performing “experiments” at the dinner table. I’m sure you can guess what my parents thought of those experiments. I’m not sure I ever got really ambitious with science experiments after that. I fell in love with math and physics in high school – that propelled me into engineering school.

CTB: Women in children’s literature aren’t often acknowledged for our technical backgrounds. You earned a degree in electrical engineering and wrote computer software before becoming a writer. Tell us a bit about that journey. What it was like writing subroutines for submarines (and other machines)!

Janet: I’mCoding 1 2 3 not sure I really knew what I was getting into when I went to engineering school. I loved physics and math, but the science and math I had to learn in college was at a level I had never imagined! It was in college that I wrote my first computer program. Programming (or coding) combines learning another language with logical thinking – two things I’m pretty good at. (I was almost fluent in Spanish when I graduated from high school – unfortunately, I’ve forgotten most of it since then.)

When I graduated from college, I entered the Edison Engineering Program at General Electric Aerospace.  The location I worked at was originally an RCA/Victor facility – where they once made Victrola phonographs. It still specialized in communication systems, so I ended up working in both coding and codes. I programmed computers inside things like submarines, telephones, and airplanes. The programs I worked on supported secure communications – things that used cryptography to make the communications unintelligible to anyone spying on them.

I found the work incredibly rewarding. I still remember the first day we got our secure telephone system working in the lab. We were talking back and forth, and it sounded like we were just talking over a regular telephone. We spent several days convincing ourselves that our voices were being encrypted and decrypted – old encrypted systems would warp the voices so it was obvious you were not talking on a normal phone.

CTB: When I was learning coding, it was Fortran, then PL1. Computers were room sized. That was a long time ago. How much has coding changed since you were in the field? Ever think of diving back in?

Janet: My first programming language was also Fortran – Fortran 77, to be exact. My college year was one of the first that wasn’t required to program a computer using punch cards. (It was fun to see those in the movie Hidden Figures.)

Fortran example

Example of Fortran 77

When I was working, I programmed primarily in assembly language and C. Assembly language doesn’t read like a normal language. It’s designed at a very low level. Grace Hopper was one of the visionaries who felt that a computer language should read in a way that you could tell what the programmer was intending for the computer to do.

I know coding has changed a bit since I first learned it. There are a lot more languages out there, running on a lot more platforms (like cell phones and e-readers/tablets). But I think at its core, coding hasn’t changed much at all. Logic really doesn’t change over time, and a coding language is really just a tool coders use to communicate with a computer. It’s easy to learn a new tool once you know the basics.

I do sometimes feel the desire to get back to coding. There is something very satisfying in starting with just an idea and building up code that brings that idea to life.

CTB: Your books cover a wide range of topics. Why did you make the switch from engineering to writing books about STEM?

Janet: I’ve always loved books and reading. It turns out, I also always had a love of writing. I was often the person (or one of the people) who wrote the documentation for our work – whether that was a lab in school or a project at work.

I found being a woman in the field of engineering/coding to be very challenging. When I was pregnant with my 3rd child, I struggled a lot with the work environment. When he was born, I found the joys at work were too few compare to the struggles. I started following my second love – writing. My background in math, science, and engineering, and my endless curiosity made writing STEM a natural fit.

CTB: So one advantage of writing in STEM is that you are never bored. It’s a major component in the development of just about everything.

Janet: So true! I have yet to find a subject that wasn’t totally fascinating once I started learning about it

Coding Creations CoverCTB: For purely selfish reasons I was fascinated by your book, Coding Creations, which covers Scratch, a free coding language for young people developed by my alma mater. I had not realized MIT’s Media Lab had a Lifelong Kindergarten Group division. Did you have an opportunity to experiment with Scratch while writing the book?

Janet: Absolutely! The first thing I had to do for Coding Creations was to decide on what computer language we would use. I tried out a few, including Scratch and Python – two free coding languages. (I didn’t want money to be a barrier that would keep a curious kid from learning about coding.)

A lot of people dismiss Scratch because it is a block coding language. Each command is represented by a block you connect together to build a program. Scratch doesn’t let you put the blocks together in a way that won’t work. In traditional coding languages, you have to use the proper syntax – you need to spell commands correctly, give them the correct inputs, and use the proper punctuation – in order for it to work. Sometimes, a simple error in syntax can take a long time to figure out.

Scratch example

Scratch 3.0

When I was working with Scratch for the book, I realized it’s actually a very powerful language. It has some limitations, but there are ways to work around most of them. It also works on many different platforms. You don’t even need to download it onto your computer – you can work with it online, if you have a reliable internet connection. That means you can work on your code from different computers if you have to.

My kids used Scratch when they were in school. One of the things that frustrated them is that they were given a lot of time to “play around.” Unfortunately, they didn’t really know much about coding and didn’t feel comfortable playing around with it. My goal with Coding Creations was to introduce readers to Scratch so they would be comfortable playing around with it. Not only did I want to give them a taste of what they could do with it – animation, music/sound, drawing, and coding – but I wanted them to see what other resources were available from Scratch so they could explore more on their own.

Video Game CoverCTB: For students interested in video games as a career, your book on Video Game Coding might serve as a launching point for exploring careers. At my daughter’s college, for instance, students in the video games division had a 100% rate of employment at graduation. If you had to do it again, would you code video games? Or better, what’s your favorite if you play them?

Janet: I wrote the Video Game Coding book mainly because I have a son who is interested in coding – specifically in video game coding. I wanted to learn how video game coding was similar to and different from the coding I did. As I suspected, the basics are pretty much the same, but there are differences in the details – and, of course, in how fun the end result is.

I think a lot of young gamers imagine video game coding to be a very glamorous career. While I’m sure it has its moments of fun and glamour – it’s like all other programming careers. It’s a lot of work and long hours.

All of my kids are big gamers. My favorite video games are puzzle and word games. I’ve tried playing games with my kids, and it’s pitiful – I have no idea what I’m doing. If it’s a game where you lose lives, I die VERY quickly. I could probably get into something like Animal Crossing (one of my daughter’s favorite games), but I honestly prefer to read.

Secret Life of Plants coverCTB: One of the things I love about your website is that you include resources to pair with each book. For instance, for your graphic novel on The Secret Life of Plants, you list not only links to science experiments, but a plant detective game, and the world carrot museum. Whats one of the most unusual or fascinating resources you encountered?

Janet:  That’s a really tough question. In addition to writing, I do a lot of work with scouts. When my daughter was younger, I was a Girl Scout leader. Now, I’m a Scouts BSA merit badge counselor. For that and for STEM Tuesday, I’m always looking for new ways to engage with or learn about things.

MoleculariumThere are a few things that pop into my head as being unusually compelling – and the World Carrot Museum is definitely up there. Another is the Molecularium Project – which was put out by one of my alma maters, Rensselaer – It’s like a video game where you can explore molecules.

Phet LogoI also love PhET – This site is filled with simulations that illustrate just about every math and science concept you can think of. For instance, here’s one that shows how people see color: . It shows that seeing color actually involves more that one science – it involves the physics of light and the biology of the human eye.

CTB: People often conflate STEM with pushing young people into careers in coding. Your book Sports Science and Technology was an excellent example of how STEM is used everywhere, including careers that might dovetail with a person’s real interest. For instance, part of helping a gymnast improve their skill is understanding physics. What one thing fascinated you as you researched sports related applications for STEM?

Sports Technology CoverJanet: I think we need to stop thinking putting things in bins. People think they’re either artsy or mathematical. They’re either sporty or sciencey. There are crossovers in everything.

My father was a gym teacher. Growing up, I played field hockey, volleyball, and track and field. I also marched in marching band. It amazed me that people didn’t view it as a sport – it was just as physically demanding as the other sports I participated in.

I think what fascinated me the most while researching my Sports Science books was how old the idea of sports science is. These ideas started long, long ago, when gladiators were fighting in the Roman coliseum. What’s kind of amazing is how long it took for those ideas to catch on in modern-day sports.

CTB. What’s next on the horizon for Janet Slingerland? Any upcoming books or projects we should be watching out for

QuietvsLoud coverJanet: A few years ago, I wrote a 12-book series about the weird creatures in the world. The books were delayed, and then 2020 happened. I hope I get to see them in print before too much time goes by. I have another book coming out in 2021 from The Child’s World called Quiet vs. Loud. This book helps young readers learn about the physics of sound.

There are a few other books I’m working on. Hopefully, I’m able to get some publishers as excited about them as I am. I call one of them a SHTEAM book – it adds history to science, technology, engineering, art, and math – all related to an object so common people barely notice it anymore.

CTB: Thanks, Janet, for taking time out to talk to us!

Win a FREE copy of “Coding Creations” or “Video Game Coding”.

Enter the giveaway by leaving a comment below. The randomly-chosen winner will be contacted via email and asked to provide a mailing address (within the U.S. only) to receive the book.

Good luck!

Janet Slingerland studied engineering at Rensselaer Polytechnic Institute and Drexel University. She has written many science books for children, including The Secret Lives of Plants!, which was named a Top 40 YA nonfiction book by the Pennsylvania School Librarians Association. Janet lives in Mount Laurel, New Jersey with her husband, three kids and a dog named “Rocky.”

To learn more about Janet and her books, please visit You can follow her on Twitter @SlingSong. Or on Facebook at
Christine Taylor-ButlerYour host is Christine Taylor-Butler, MIT engineering nerd and author of Bathroom Science, Sacred Mountain: Everest, Genetics, and more than 70 other nonfiction books for kids. She is also the author of the middle grade sci-fi series The Lost Tribes. Follow @ChristineTB on Twitter and/or @ChristineTaylorButler on Instagram

STEM Tuesday — Coding– Writing Tips and Resources

Conditional Statements

Welcome to the STEM Tuesday Coding Revival & Traveling Medicine Show! Grab a great book from the STEM Tuesday Coding recommendation table, have a seat and let the power of coding revive your STEM soul. Can I get a “Hallelujah!”?

Citation: George R. Brunk II 1950’s Revival Photographs. Theron F. Schlabach Photograph Collection (HM4-378 Box 1 Folder 4 photo). 

Our simple and elegant design looks at coding through fresh eyes and is inspired by the universal power of the coding embedded in our daily lives. 

Coding is two-fold. We mainly associate coding with the writing of computer programs, but coding also means classifying or identifying something by assigning it a code. I like to preach coding as being the logical breakdown of a process or event. Coding is a way of thinking. 

Coding, on one hand, is computer programs and video games and special effects and entertainment. The scope of computer coding reaches far and wide into almost every aspect of modern life. Alexa is Alexa because Alexa’s software codes it to be Alexa. Banks, governments, law enforcement, education, sports, etc. all increasingly rely on the power of code.

Coding also exists outside the electronic world. 

Coding is biological. Coding is chemical. Coding is physical. 

Coding is animal, vegetable, and mineral.

Coding spans from describing how atoms interact to how our entire universe behaves.

Now that’s truly a hallelujah thought!

Conditional statements

If/then, hypothesis/conclusion, cause/effect are conditional statements. Thinking in code requires using conditional statement tools. Thinking within the logic of a conditional statement helps break down a process which leads to an understanding of that process.

If this happens, then that happens. If this doesn’t happen, then that happens. 

A simple tool with so much power. A way to look at the world and attempt to understand it. The knowledge of the human race is built upon conditional statements. The knowledge waiting to be discovered will most certainly be found by observing if this happens, then that happens.

Simplify & design

Once one knows how something works, the process and the design, and the logic can be extrapolated to other things. Build a better building by studying the steps (coding) termites use to build a mound or the organization of chemical bonds in a crystal. One of the coolest things in molecular biology I’ve been reading about is DNA origami. Molecular scientists are using the predictive binding inherent between the nucleotide bases of the DNA genetic code to fold DNA strands into molecular tools for a wide range of processes, from drug delivery systems to micro-robots. 

Better design comes from a better understanding. Better understanding comes from thinking like a coder!

Steps to Code

A. Observe!

     Watch something happen. Pay attention to what is happening and record what is seen.

(There’s an almost indefinable book first released in 1969 called, Supper of the Lamb by Robert Farrar Capon. The book combines culinary science, philosophy, religion, and economy in a stream of consciousness style as the author prepares four meals for eight from one leg of lamb. The entire second chapter is about observing an onion. How it’s packaged, designed, and executed to produce a wonder of nature and of flavor. That’s next-level observation!)

B. Break down the parts.

     Take the observations, place them in order.

C. Study how the parts fit and how they work.

     Come up with ideas (hypothesis) of how to get from part A to part B. 

D. Mimic.

     Try out your idea. If it works, then move forward. If it doesn’t work, then try something different.

E. Repeat. 

     Iterate until you imitate.

Logic muscle  

Coding requires healthy logic muscles. Living life through a coder’s lens takes practice and discipline. The logic muscles need work. Practice daily and code your world! Observe. Observe. Observe. 

Thank you for attending the STEM Tuesday Coding Revival & Traveling Medicine Show! We hope you feel the coding inspiration flowing through your veins. On your way out, don’t forget to grab your complimentary bottle of Dr. Swanson’s Patented Problem-Solving Elixir! It is guaranteed, organic, pure STEM with a touch of STEAM for added flavor.

Go out and code, my friends! 

See the world through new eyes!

By Unidentified U.S. Army photographer – Image from Historic Computer Images, Public Domain.


Mike Hays has worked hard from a young age to be a well-rounded individual. A well-rounded, equal opportunity sports enthusiasts, that is. If they keep a score, he’ll either watch it, play it, or coach it. A molecular microbiologist by day, middle-grade author, sports coach, and general good citizen by night, he blogs about sports/training related topics at and writer stuff at www.mikehaysbooks.comTwo of his science essays, The Science of Jurassic Park and Zombie Microbiology 101,  are included in the Putting the Science in Fiction collection from Writer’s Digest Books. He can be found roaming around the Twitter-sphere under the guise of @coachhays64.


The O.O.L.F Files

The Out Of Left Field (O.O.L.F.) Files this month branches out into the world of coding. As I said in previous O.O.L.F. Files, all roads lead down the rabbit hole of curiosity and inquiry. Have fun sliding down your rabbit hole of curiosity and inquiry! Just remember to come back and do good work.

Bioinformatics: Where code meets biology by Daniel Bourke® is a nonprofit dedicated to expanding access to computer science in schools and increasing participation by young women and students from other underrepresented groups. Our vision is that every student in every school has the opportunity to learn computer science as part of their core K-12 education. They also sponsor the Hour of Code event.

Best Coding Tools for Middle School from Common Sense Education

Coding in Astronomy

I never really thought much about the relationship between astronomy and coding until a few years ago. But when you think about how the immense amount of data generated by modern telescopes collecting electromagnetic wave spectrum from distant galaxies, that data needs to be organized and analyzed. Astronomy and coding. It’s a no-brainer-relationship.

DNA Origami


STEM Tuesday — Coding– In the Classroom

This month we’re focusing on coding. On our booklist, coding includes how to program computers, careers as a coder/programmer, and cryptography or secret codes.

This week is Computer Science Education Week, so it’s a great time to explore ways to incorporate coding ideas into lesson plans, scouting activities, and home learning. (Plus, it’s really fun.)

I tried to read the books like a codes and coding novice. This was a bit of a challenge. Prior to writing children’s books, I spent 15 years programming embedded computers (the microchips that go inside things like phones), often working with elements of cryptography.

Support Independent Bookstores - Visit IndieBound.orgCoding Games in Scratch
by Jon Woodcock (2019)
You don’t approach this like a typical book. Rather, you work your way through it, alternating between reading and coding. It’s very easy to follow, providing a great introduction to MIT’s fabulous free coding system, Scratch. This book doesn’t just cover coding, though. It includes ideas behind game design like themes, difficulty, and playability.

Support Independent Bookstores - Visit
Video Game Coding
by Janet Slingerland (2019)
The title of this book may be a little misleading. It doesn’t teach readers how to code video games. Its purpose is to introduce readers to careers in video game coding. It looks at how many people work on a game, what kind of code they use, and a what the general process is.


Support Independent Bookstores - Visit

Can You Crack the Code?: A Fascinating History of Ciphers and Cryptography
by Ella Schwartz, illustrated by Lily Williams (2019)
I love this book. It follows the history of secret codes, from Julius Caesar to modern day internet encryption. I found the explanations easy to understand, and there are lots of examples to put your understanding to the test.


As always, I have way more ideas on this subject than I have time and space to provide them. I’m going to restrain myself and give you a few things to explore and consider here.

For additional resources and ideas, you can check out the coding page on my website ( and my STEM for Kids Pinterest board (

Hour of Code

If you’ve never heard of Hour of Code or haven’t taken a closer look, I encourage you to do so. and have resources for students, educators, and more.

Hour of Code activities are generally designed for beginner coders. They cover a variety of coding languages and platforms.

The activities are searchable by many different variables: grade, time to complete, topics (including social studies and language arts), and available technology.

There are even activities that require no computers or other devices, just filter on “No computers or devices”.

If you want to host an Hour of Code event, you can find help to do so here:

Explore Scratch

Many of the books on this month’s list use Scratch. There are several reasons for this.

Scratch is free language, provided and managed by MIT (Massachusetts Institute of Technology). If you need to work offline, you can download a Scratch program. But if you have a reliable internet connection, you can work solely online – no program download needed.

Scratch is a block-coding language. Coders choose blocks of code they customize to create a program. The blocks are designed to fit together like puzzle pieces. This takes away the syntax errors that programmers of text-based languages run into.

It’s designed as a sharing platform, so Scratch coders can learn from and be inspired by other coders. They can also easily share their coded creations with other Scratch users.

Many of the Scratch resources online encourage users to explore Scratch in a freeform manner. This can be rather intimidating for some new coders. Following the projects in one of this month’s books introduces users to Scratch. Once they get comfortable with Scratch, they are more likely to explore new ways of using the platform.

Like Hour of Code, Scratch has project ideas that focus on different areas like art, music, and stories:

Escape Room Challenge

As the current state of things has moved much of our lives online, virtual Escape Rooms have become very popular. There are many escape rooms out there to try. But how about challenging young readers and coders to create their own?

Designing an escape room can put into use computer coding ideas, game design elements, development processes, and cryptography skills. The experience will give young developers a taste of life as a video game designer/coder.

There at least 2 free platforms that could be used to develop an escape room – Google Forms and Scratch. Here are helpful resources for these.
Google Form:

Developers will follow the basic process described on page 29 of Video Game Coding. They can use the secret codes described in Can You Crack the Code? and consider the game elements discussed in Chapter 1 of Coding Games in Scratch.


Plan out the stages of the escape room, including the puzzles and/or challenges players will face. This is the pre-production or design stage of video game coding. The platform will determine the level of design required.

The first decision is what theme to use. The escape room could be based on a favorite book, character, or fictional world – like Harry Potter, Pete the Cat, or Star Wars. This could also be an opportunity to create new characters, stories, and worlds.

How many levels will there be? What are the challenges players will face? Make sure each challenge makes sense to get the player from one level to the next.

This is a creative process that mirrors fictional story writing. Characters need to be developed and worlds built. The progression through the levels is the plot. Challenges should work with the chosen world, character(s), and plot.

How are players working through the escape room – individually or in teams? Does that change what the challenges look like?

If coding in Scratch, are players represented on the screen? If so, what do they look like and what are they able to do?


Once the overall story and challenges are planned out, it’s time to move on to the production stage. This is where designers create the art, puzzles, and code needed to turn the escape room into reality.

In Coding Games in Scratch, readers learn to code a little then test a little. Build a part of the game, then try it out to make sure it works correctly. This is a great way to develop a game or program. It helps identify where problems are by keeping the testing area small. It also helps ensure programmers don’t incorrectly use a coding element throughout an entire program.


Once the initial escape room is put together, it’s time to move on to the post-production phase.

The escape room needs to be tested. Each path through needs to be checked for errors. This is often one of the most tedious portions of coding and game development. Once the designers have done their testing, it’s time to get a beta tester.

Beta testers are new to the game. Can they understand how to start and how to progress through the challenges? If not, the designers may need to add additional instructions or learning steps.

Beta testers may move through the escape room in a way the designers didn’t anticipate. This can highlight other errors or omissions that need to be corrected.

Each time a designer makes a change, they’ll need to test out everything to make sure they’ve solved the problem without introducing any new ones.


Once designers are confident their escape room is working the way they want, it’s time to release it to a broader audience. Invite classmates, friends, and family to try out them out.

This would be an excellent time to have a celebration. Developing something like this is a lot more work than people realize. Finishing is a huge accomplishment.

Explore More

I hope this has given you some ideas for exploring coding. There are so many more out there. I hope you take the time to explore and code.

Janet Slingerland in LondonJanet Slingerland has written more than 20 books for children, including several about coding. To find out more about Janet and her books, check out her website – – or visit her on Facebook, Twitter, or Instagram.