I created this blog as part of the learning process for the P2PU's Javascript 101 course starting 26 Jan 2011. The blog contains learning journals and links to my completed course exercises.
Monday, 31 January 2011
Week 1 Exercise 2.3 Drawing Triangles
I modified exercise 2.2 to print out 10 lines of #, adding one more # to each line.
currentString = "x"; var count = 1; while (count <= 10){ print(currentString); currentString = currentString + "x"; count +=1; }
No comments:
Post a Comment