Week 3: JavaScript exercise (Kat Valachova)

Doing this exercise, I have struggled a bit with the syntax of css in JS, the solution turned out to be the use of camelCase instead of the dash in the property (e.g. instead of “font-size” use “fontSize”).

Also for some to me uknown reason, the third button doesn’t want to stay in line with the others. I have spent quite a long time on it, without finding a solution.  If anybody has an idea what happened there, please let me know!

~Thanks.

Here is the link:

http://imanas.shanghai.nyu.edu/~kv795/week3/

Leave a Reply