I broke my left middle finger last week. I think that may have been one of the reason’s I was in so much pain last week. I believe I broke it getting out of the car. My nine remaining fingers are worn out and frankly, a bit confused. Not sure why it effects my ability to type with my right hand, but it does. It must be all in my head.
JSON
I wanted to make sure that our code met all the basic requirements of the rubric, so I decided to add some JSON code to the file I shared here last week. I created a JSON Object, used JSON.stringify before I set data via local storage or cookies and I used JSON.parse to retrieve the data. Here is a very short example of each:
JavaScript
Example of JSON Object and Stringify
localStorage.setItem(“objectName”, JSON.stringify({param1: data1, param2: data2 }));
Example of JSON.parse
var varName = JSON.parse(localStorage.getItem(“objectName”));
// Note varName is now a new object holding the info inside the objectName object.
I hope this helps. It is written just as I have it here.
Week 11 Meeting
We were all eager to get the meeting started this week and everyone was well prepared. I presented my updated code and then our visually-orientated teammate presented an awesome changed version of my part of the app placed on his page. You enter you name and password, hit the login button and it does a really cool flip animation to our app’s main page! I love it! Our third teammate has had a little trouble, but will be getting to work this week. Some people perform better under pressure.
Conclusions
This was a triumphant week for me in some ways. I didn’t let my finger stop me from doing my school work, I was able to get my code up and running quickly and my work load was a bit lighter this week in one class. It all led to a great week mentally. I am excited to see how things turn out next week! Until then.