Welcome to MV Coding Camp. Build coding foundation by learning basic
coding fundamentals using real-code and hands-on exercises. Don’t worry. What we’ll cover applies to any programming language. Let’s get started In this episode, we’ll talk about an important
skill that most coding programs and tutorials forget to teach:
typing on a keyboard and using a mouse. Let’s look at some tips… If you are able to, use both hands to type. If you are new, start with the index finger
on each hand. Then start to use two fingers on each hand. Use the finger that is closest to the letter
you want to type. Use the side of your thumbs to hit the spacebar. Your goal is to be able to type with all your fingers
without looking at the keyboard. It’ll take practice. Here’s an interesting exercise for you. Take a look the computer keyboards you can
find in the house and take a look at the F key and J key. How and why are they different than the other keys? Put your answer in the comments below! The Mouse
A typical mouse will have two buttons that you can click: a left click and a right click. If you are right-handed, you would use place
your index finger of your right hand on the left-click and the middle finger on the right-click. The mouse on Macs only has one click which
works as a left-click. You can right-click by holding down CTRL when
you click the mouse. Touch Inputs.
The trackpads are typically found on laptops. And many laptops and desktop monitors these
days are touch-enabled. For most coding activities, you will find
that using a mouse is more effective using a mouse instead of these touch inputs. Arrow Keys.
In addition to using the mouse, you use the arrow keys to move up, down, left, and right
arrow keys inside your code. Modifier keys. Modifier keys are special keys on your keyboard
that you can use to help you perform certain actions faster. In Windows, the common modifier keys are SHIFT,
CTRL (Control), and ALT (or Alternate). SHIFT is the most common one among the three and, in fact, you will frequently find 2 SHIFT keys on the keyboard. In Macs, the common modifier keys are the
CTRL, OPTION, CMD (Command) and SHIFT. These modifier keys are typically pressed
down when you hit another key. Let’s take a look at some common typing
actions that you should get used to. Text Selection.
If you are using the mouse to select a word or multiple lines of code, click at the beginning
of where you want to select, hold down the left-click and drag it to where you want to
stop selecting. If you are using the keyboard, go to the where
you want to start selecting and left-click one time. Then hold down SHIFT and use the arrow key
to highlight the text you want to select. Copy and paste
Copying and pasting is one of the most useful things you will find in coding. After selecting what you want, the quickest
way to copy and paste some text in Windows is to use the CTRL-C to copy and CTRL-V to paste. In Macs, use the CMD-C to copy and CMD-V to paste. Cut and Paste.
While copying makes a copy of what you want, cutting actually removes it from its original
location and allows you to paste it somewhere else. Windows and Mac do this differently. For Windows, use CTRL-X to cut and CTRL-V to paste For Macs, use CMD-C to copy and then
use OPTION-CMD-V to remove the text from the original location and paste it in the new
location. Undo Action
Making typing mistakes is very common in coping, so learning how to correct your error quickly is important. In Windows, use CTRL-Z to undo your last action. Similarly, use CMD-Z in Mac systems. Pairing one or more modifier keys with a letter key is also called a keyboard shortcut. There are a lot more useful keyboard shortcuts
but you don’t have to learn them all. I’ll let a friend of mine give his advice
in the form of a haiku. Thanks M.
See you the next episode