johnson-rl / functions-training

fill in the internals of JS functions (with Math object)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ryan Johnson

Training - Javascript functions

What is this?

This is the completed version of this assignment that was prepared by Ryan Johnson.

Reflection on this assignment

I completed all assignments without too much trouble, though two of them were particularly tricky. The Vowel Count function stumped me initially, though I was able to complete it after getting a tip from my classmate Michael about how I could use indexOf() to get the right answer. The Stretch Challenge was also quite difficult, though it became easier after I typed out the solution manually to figure out what the correct spacing of the asterisks should be. I completed the assignment in class after a bit of tinkering. Interestingly, I used Javascript to insert the pyramid into my webpage but struggled because html ignored the spaces before the asterisks. That evening, TA gave me a hint about how this could be fixed, though I think it involved concepts we haven't learned yet. For now, I used CSS to workaround this problem.

About

fill in the internals of JS functions (with Math object)


Languages

Language:JavaScript 100.0%