Lab #2 Reflection Journal

Web Client Programming

            In this lab we went over JavaScript that we learned in the past in order to refresh our memories on the topic and prepare us to use it more in our labs. The first thing we did in the lab was create text using JavaScript by typing document.write. Another way to create text inside an HTML document is by using innerHTML which allows the user to replace the text that is already in a paragraph tag or an h1-h6, etc.. for this lab we used the p tag. Finally we also created text within the console log which only web developers can view.

            After creating the text inside the HTML document we then moved on to alerts. Alerts pop up in the users browsers either to give them information of ask questions. We utilized several alerts such as prompt which would ask the user a question and ask for an answer in return we also used confirm which would also give the user a question in which he/she ca respond yes or no to. With this refresher in JavaScript I will be able to add all of this to my web pages making them more interactive for the user can enjoy. This is important for Web Design as it would help attract clients to my work as my pages will be more interactive.

           

Comments

Popular posts from this blog

WBL Workshop #1

What Does a CTE Diploma Means to Me?

CS Fair Reflection Journal