Lab 22 Reflection
For this lab, we were instructed to create a web paged designed to validate personal information. This was the first time we had to implement javascript into out web pages. It used the else and if statements to check if certain elements fit a criteria, like if the values are a certain length or can only be a certain value. While there were many personal information needed to be filled in, only the zip code, phone#, and credit card number values are checked. The others are only checked if it is blank or not. If the input values did not meet the criteria a little note would appear in red that would tell the user if its valid or invalid. To check I placed a button at the bottom if the user wanted to verify the information. The button triggered a function that would check if the input information met all the requirements.
I used Dreamweaver to complete this lab. This lab was definitely the most difficult lab so far because the requirements were very specific and we had no idea how to tackle the challenges. When I got to the functions it was difficult to get it to work correctly and it took a lot of research and experimentation. But eventually the functions worked the way I wanted it to work. It was very difficult but I learned something new like how to use & and if statements more properly. I could use these in the future check if something meet certain criteria.
I used Dreamweaver to complete this lab. This lab was definitely the most difficult lab so far because the requirements were very specific and we had no idea how to tackle the challenges. When I got to the functions it was difficult to get it to work correctly and it took a lot of research and experimentation. But eventually the functions worked the way I wanted it to work. It was very difficult but I learned something new like how to use & and if statements more properly. I could use these in the future check if something meet certain criteria.
Comments
Post a Comment