JavaScript
I started day 5 with some JavaScript projects on Khan Academy. The first project is to take a drawing of a bear's face and replace the hard (non-variable) numbers with variables so that the whole drawing can be resized at once. It involved figuring out ratios of the sizes of the component shapes and ratios for the distance between the shapes to keep them consistent when the whole drawing is resized.
Challenge: Brown bear eyes
Made using: Khan Academy Computer Science
The second project is similar. It calls for making up your own drawing of an animal (I chose a turtle) and inserting variables so that the whole drawing can be moved or resized together. This one was fairly time consuming, mostly because it was hard to decide what to draw and how to draw it more than firguring out how to insert the right ratios and variables.
Spin-off of "Project: Animal attack"
Made using: Khan Academy Computer Science
The next project involved inserting text. The Javascript code to do so is pretty simple.
Challenge: My Favorite FoodsMade using: Khan Academy Computer Science
Next I did a project to display the x and y coordinates of the mouse on the canvas as the user moves the mouse around. Give it a try!
Next I did a project to display the x and y coordinates of the mouse on the canvas as the user moves the mouse around. Give it a try!
Challenge: Mouse TrackerMade using: Khan Academy Computer Science
And now come one and all and see the cover of my new book: Tips for Being a Bear: Everything You Need to Know to Be the Best Bear You Can Be
I used a combination of text and shapes to make my cover. I also used variables in my face so I can move it around the canvas or resize it easily.
Spin-off of "Project: Ad Design"Made using: Khan Academy Computer Science
The next project creates a simple function that displays text then performs that function four times with randomly generated x and y coordinates.
Challenge: Say Your NameMade using: Khan Academy Computer Science
In this next project I was given a function that draws a mole and instructed to assign variables that can be given values later to position the moles in their holes.
Challenge: Moles in HolesMade using: Khan Academy Computer Science
In my final JavaScript project for the day, I was asked to proofread functions that perform simple mathematical operations.
Challenge: CalculatorMade using: Khan Academy Computer Science
Launch School
Next I listened to a webinar called How to Launch a Career in Software Development
Math Review
Today's math review is "missing value addition and subtraction problems." Pretty easy 7th grade level stuff. I've made it to 71% on 7th grade math on Khan Academy.
Addition & subtraction: find the missing value (part 1 of 2): Sal solves some missing value problems: -1 = 7 - __ and -10 + __ = -5 and 4 = -2 + __ and 6 + __ = -8
Addition & subtraction: find the missing value (part 2 of 2): Sal solves more missing value problems: 4 = -8 - __ and __ - (-2) = -7 and -4 = __ - 9
Languages
French - Reviewed irregular plurals
German - Duolingo lesson on the formal you (Sie, ihnen)
Spanish - Duolingo review to keep things gold in the language tree.

No comments:
Post a Comment