Lab 8 Reflection Journal


            Lab 8 was different from other labs we've done before this is because we were actually given the full website and content. The main focus of the lab was to gain more experience troubleshooting that's why within the lab there was one error which needed to be fixed in order for the page to correctly run like it was intended to. The problem for this page was the quote which was suppose to change every time the page was refreshed to display a new quote every single time. In order to fix the code and to make sure it runs as intended I created an array with all the quotes inside it and then created a function which would randomly pick an index in the array which means it randomly chose the quote assigned to index. After this a function was created which would change the text every time the page was refreshed by using document.getElementById. This is how I completed the lab to make it do what it was originally intended to do.
            The skills gained in the lab are useful to web designers as troubleshooting is a critical skill when it comes to web designers to ensure that every single one of their projects work the way they are intended to without fail. I know I would be needing to further improve my skills in order to make sure all my pages work correctly without any mistakes.



Comments