Let's Code

______________________________________________________________________

During Let's Code, we will explore some of the different coding languages and enter into the world of coding with weekly activities and tutorials. We will use more visual, building block-style coding tools to learn the basics of coding and to get you thinking about what sort of language goes into the technology you use every day.

Before beginning the first week's activity, read an introduction to coding below.

Ready. Set. Let's Code!

What is coding?

Coding runs the world as we know it, but the vast majority of people aren’t even aware of its existence, let alone what it even is, despite the fact that coding is vital for most of the contemporary businesses. That's why those who choose to learn to code are in high demand for employers.

Before we start digging deeper, try to answer "What is Coding?" for yourself...

Now, right-click somewhere inside your browser window, and select ‘View Page Source.’ Scroll through the window that pops up and see if you recognize or understand anything.

As you may have expected, you were just viewing the code behind this webpage, or the document object model (DOM). That means that you see the full markup of the page and if you have learned at least the basics HTML, CSS or JavaScript, it might be easier to spot some familiar tags and elements.

Now, in simple terms, let’s define coding as the basic act of writing–in a programming language–a script that a computer can understand. This script will tell the computer to behave in a certain way, to do a certain thing, and to, ultimately, perform the actions that you want it to...if your code is right.

Computers don't understand human language and in order for us to see some results (like displaying a web page), we have to write it in a way that the computer would understand. Think of your code as a translator between English (or whatever language you speak) and Binary. If you can do this, it will suddenly become much easier to grasp the basics of what is coding.

So, think about it this way: your machine only really speaks Binary, but it understands different coding languages. In the same way, you only really speak your native language, but you understand the same coding languages (if you at least have the basics of some, of course). The fact that both you and your computer share a common understanding of programming languages means that you can communicate with each other.

Some of the popular coding languages include HTML, CSS, Python, Java, and JavaScript.


Source: bitdegree.org

Thursday, September 24, 2020: Minecraft Aquatic

Explore and build underwater Minecraft worlds with code. Watch the below introduction video and then click the button below the video to get started!


Thursday, October 1, 2020: Minecraft Hero's Journey

Can you be the hero in this Minecraft adventure? Watch the below introduction video and then click the button below the video to get started!


Thursday, October 8, 2020: Musical Coding

In this activity, you use Blockly to program tunes matching ones you hear and see on a keyboard. You will complete a series of nine levels, each with an increasingly difficult tune. After the ninth level, you can create your very own tune! Watch the video below for a mix of ten famous classical piano pieces. Then, begin your musical coding venture at the button below the video.


Thursday, October 15, 2020: Google Doodle

Use your creativity and imagination to bring the Google Doodle (logo) to life using code. Make the letters dance, tell a story or create a game. With Scratch and CS First, anyone can become a designer and programmer for the day! Check out some examples below before clicking the button to begin your own Google Doodle!


Thursday, October 22, 2020: Design a Logo

Last week you created a Google Doodle, and this week, you get to create your very own logo! You'll learn coding basics in the programming language Python. After you work through the tutorial, you'll have all the skills you need to create your very own logo! See below for some vocabulary and concepts to review before getting started. Feel free to create your own personal logo reflecting who you are as a person, or design a logo for a new business.

Coding Rules and Concepts

  • Key Concept: In this lesson students will learn about the shape objects and how to customize them to exact locations and dimensions. The key to defining the specifics of shapes is in their parameters. Parameters control how an action or command will happen. When dragging out a shape block from the toolkit, the shape creation statement will come with a comment that shows what each parameter controls for that shape. Comments are notes or documentation included in the code that the computer will completely ignore.

  • Rules:

    • Shapes are just like sprites but they require a few extra parameters to define their dimensions.

    • Every sprite and shape has a variable name which is the orange word to the left of the equals sign.

    • Parameters are always included within parentheses. Multiple parameters must be separated by commas. Each parameter will determine a different aspect of the command that it belongs to.

    • Comments can be made by first typing a #. Anything typed after the # will appear gray in the code editor and will be completely ignored by the computer. Comments are useful for providing notes for the programmer or reader about what the code does.

    • Strings should be surrounded by quotes and appear green in the Codesters editor.

    • Parentheses must always come in pairs. The left one is known as the open parenthesis and the right is known as the close parenthesis. There must always be an open and a close that match up.

Common Errors

  • Check for missing quotes or parentheses. Students may use single quotes or two single quotes. Students may delete one quote.

  • Check for misspelled words. Many students are used to relying on spell check and auto-correct, but these don’t exist in coding. The computer may not be able to understand commands if words are misspelled.

  • Check the color of the text. Text in quotes should turn green. Numbers should turn blue.

  • Students may confuse which parameters control which aspect of a shape.

  • Students may not use unique variable names for their different shapes or sprites. This can cause unexpected errors when shapes or sprites don't do actions that they were intended to do.

Vocabulary

  • parameter: input that controls how a command, function, or event runs in your program

  • variable name: the name to the left of the equals sign that identifies a variable

  • variable: a name that holds a value

  • comment: information that is not read by the computer; comments appear gray and will always have a # in front of each line

  • string: text information that is surrounded by quotation marks


Source: codesters.com


Thursday, October 29, 2020: Virtual Reality & A-Frame

Learn the basics of building virtual reality worlds using HTML and the A-Frame JavaScript Library. Through this activity, you will build your own virtual reality world that is compatible with VR devices. Watch the introduction video below and then click the button below the video to begin building your VR world!


Source: codehs.com


Thursday, November 5, 2020: Website Builder

This course will allow you to use code as a way to share what is important or interesting to you. You can follow the lesson or create unique projects while learning HTML, CSS, and JavaScript. Throughout the project, there are video tutorials, live coding, and access to the code glossary. The People Who Inspire Me project focuses on creating a webpage to showcase the top three people who have been an inspiration to you. Click the button below to get started!


Source: BSD (Build Something Different) Education


Thursday, November 12, 2020: Platformer Game

Learn to code a real game like Super Mario Bros! This project will introduce you to real games industry practice, creative coding concepts, teach you how to publish their own unique game, and prepare you to start working towards a career in the games industry. The tutorial is all about level design, choosing a character, animating, and coding your character to move around.


Source: Gamefroot


Thursday, November 19, 2020: Trivia Game Maker

Follow this lesson with video tutorials, live coding, and access to the code glossary to create your very own trivia game! This project focuses on building an interactive trivia game where you also get to come up with the trivia questions.


Source: BSD (Build Something Different) Education


Thursday, December 3, 2020: Bake a Cake with HTML

Get ready for the holidays by baking a cake! Learn HTML as you bake a cake with Chef Roland. Shape and style your custom creation with your newfound knowledge of tags and classes.


Source: EduCode Academy


Thursday, December 10, 2020: Jokes and Riddles

Follow this lesson to create unique projects while learning HTML, CSS and JavaScript. You will be guided with video tutorials, live coding, and access to the code glossary. This lesson focuses on creating a set of interactive cards that contain your favorite jokes and riddles and the answers!


Source: BSD (Build Something Different) Education


Thursday, December 17, 2020: Saving Christmas

Help! You have to save Christmas from the Grinch! Follow this lesson to learn to program drones and a high tech sleigh with coding magic to capture presents and navigate down the mountain to return Christmas to Whoville.


Source: Code Fever Miami


Thursday, January 7, 2021: Animate a Name

Pick a name (or a word or phrase) and bring the letters to life using code. Choose a nickname, a pet's name, an animal, a sport, a place or a hobby--it's up to you. After watching the introduction video, you will be ready to begin the project. Afterward, you can customize your project with color changes, growing and shrinking the letters, spinning the letters, adding music, and so much more!

Check out the example!


Source: CS First


Thursday, January 14, 2021: Race Condition

Now that you are an experienced coder, we are going to bring in more challenging missions!

This week, let's get ready to race! By calling functions and designing classes, players program their own race car to be fast, nimble, and powerful; during races, they can then hack their competitors' vehicles to scramble their controls.


Source: hourofcode.com


Thursday, January 21, 2021: Second Team

Can you deliver the open protocol? You've snuck aboard the capital ship, and now you must evade the security drones long enough to open access for all. Quickly examine conditional statements to find out whether you're safe or not from the dastardly cybervision. If not, it's to the airlock!


Source: hourofcode.com


Thursday, January 28, 2021: Uncover the Agency's Secrets

Explore the worlds of secrets with Agent Smith as you dive deeper into finding the culprits. You mission, if you so choose, is to investigate and bring to justice the vaultBreakers, a notorious group of hackers. You can do it!


Source: educode.org


Thursday, February 4, 2021: Trivia Chatbot

Join a robot monkey in a course where you will learn the basics of Python and chatbot programming. In the activity, you will advance through a 15 exercise-long course in which you will learn how to program your very own trivia chatbot.


Source: codemonkey.com


Thursday, February 11, 2021: Debugger

Design a custom hero and play as that character through this multi-level adventure game. You'll need to use your coding skills to solve puzzles, fight bugs, and save the motherboard!


Source: hourofcode.com


Thursday, February 18, 2021: Counter Hack

Save the computer from a malicious virus! You'll have to hack your way through the system by deleting viruses, opening doors, solving mazes, and navigating through the portals. Watch out for viruses and glitches!


Source: hourofcode.com


Thursday, February 25, 2021: Arcade Game!

Ready to create an even cooler game? Brush up on advanced coding concepts like functions and events using Python or JavaScript, then use those skills to build your own arcade survival game!


Source: hourofcode.com