This week was primarily finishing up existing projects and coursework, and making final touches, as it is the submission on Friday. We spent the entire week in supportive learning, simply doing what we had to. I spent this week writing up code documentation for the various programs I have made this term, doing the written parts of this subject and finishing this diary.
To begin with, I wrote up code documentation for the Weather API app project. I split this documentation into four parts – one for each file within the code. Firstly I documented the HTLM code, which primarily just established the DIVS, assigning IDs and creating sliders that would later see use when combined with the JavaScript.
Secondly, I documented the JavaScript. I talked about the various variables and functions being declared, and outlining drawing from the Json file storing the data from the API to use it within conditionals and change the innerHTML or other values of the HTML code.
Next, I documented the CSS. This was mostly going through the various stylistic choices I made, as well as discussing Keyframes and Animations I had placed within, and positioning various objects within the screen.
Finally, I briefly went over the JSON file, where I showed the dataset I was drawing from.
Leave a Reply