Saturday, May 2, 2020

10 Hours of Coding-Intro to JS: Drawing and Animation-Part 10







In this hour I started the "Text and Strings" lesson. I completed the first 
challenge which was "My Favourite Foods."

I learned how to use the text commands. First is "text(text,x,y)" This is used to
show the text on the screen. The next one is "textFont(font, size*)." This is used to 
change the font. The last one is "textSize(size)". This is used to change the size
of the text.


This was the final hour from my  "10 Hours of Coding". I enjoyed the 
Khan Academy coding program and recommend others to try it as well.







Friday, May 1, 2020

10 Hours of Coding-Intro to JS: Drawing and Animation-Part 9





In this hour I completed the "Interactive 
Programs" lesson. I completed the "Mouse Movement Mania" challenge.

I didn't learn any new code but used the knowledge from 
previous challenges to complete this one as well.

In the next hour I will be moving on to "Text and Strings."
 





10 Hours of Coding-Intro to JS: Drawing and Animation-Part 8





In this hour I started the "Interactive 
Programs." I completed the first challenge which was "Tasty Tomato."

I learned how to make the mouse interactive with code. The code I learned was "mouse x" and 
"mouse y." I used these to have the shape move to the same location of the mouse.

In the next hour I will be finishing this lesson and 
will do "Mouse Movement Mania" challenge.
   





10 Hours of Coding-Intro to JS: Drawing and Animation-Part 7





In this hour I finished the lesson "Animation Basics".

I used my skills the from the last days to complete the "Shooting Star"

In the next hour I will be starting the lesson "Interactive Programs".

project.The first challenge in this lesson is "Tasty Tomato."









Sunday, April 26, 2020

10 Hours of Coding-Intro to JS: Drawing and Animation-Part 6





In this hour I started the lesson "Animation Basics".I completed
two challenges. One was the "Exploding Sun" and the other 
was "Parting Clouds.


I learned how to animate code using "draw = function() {};.
To make an animation you use this code. Anything you put
between the code will repeat, therefore becoming an animation. Then 
to make the size get larger or for the object to move I used X-=;. You put
a number after the "=" and it makes it that much bigger every time.

In the next hour I will be finishing the "Animation Basics" lesson.
Parting Clouds Animation

Parting Clouds extra code
Exploding Sun Animation