S29 Katie West CIS 255 -- Web Scripting Unit 04 ReWind The Unit 04 assignment was quite challenging for me. After countless hours spent online and watching YouTube videos, I cannot seem to get a handle on how to connect a submit button in a form to a function in JavaScript. For both assignments, I was able to derive the logic pretty easily, and I believe I did my code for the if statement and the switch statement correctly, as I was able to test the logic by inputting a test variable and printing to the screen (not using the form). I also tried to use comments throughout my code to make sure I knew what was going on each step of the way. All this being said, neither my Life Position page or my boy/girl pages work exactly as they should, because of the issues I am having with the buttons. The rest of the form is pretty straightforward to me, but how to take the input that the user enters and make it do something is where I am getting confused. I decided to complete my code the best I could, since I think some of it was done correctly. I could definitely use a refresh on HTML forms and buttons. What went well -- Like I mentioned above, the logic itself came pretty easily to me. I have worked with if statements and switch statements before, so I knew what was happening there. I am also pleased with the fact that CSS is coming back to me, as it's been over a year since I have taken CIS 155.