I feel like the most important thing I learned from assignment 2 was still understanding the fundamentals of how each code written connects with each other to form a working multipage website. Knowing what is the purpose of codes can help figure out why it is in the block of code along with possibility of reusing it again. I learned that searching on Google to find some ideas, possibly answers to incorporate it inside my code is not bad, but it is only bad if you are only copy/pasting codes and praying for it to work. I learned from Professort that just programming a certain idea bit by bit is the better habit to get things done along with working on a different part of a code if you’re stuck on a problem. That way, you can make better use of your time and ask Professor Port later on for help.
I asked Professor Port when I needed any help because he is the most knowledgeable when it comes to resolving the problems I was having. I had a lot of problems that was within the register and login page such as edit registry and removing an unregistered user out of the invoice page.
I was less afraid of asking Professor Port for help and I started the assignment a bit earlier than assignment 1 giving me more time to plan what I need help with. After getting help with assignment 1 on the later end of the time range, it made me realize that giving myself more than a week to fix up my code was more appropriate.
What worked well for me for this project was setting up the register/login page in server.js and doing things in the server rather than creating different pages. What did not work well for me was trying to send data over to a different page because there were so many problems happening one after another.
I would still definitely start earlier than I did with assingment 2 because I was working on the project till the very end of the due date. Maybe I would try making my register/login pages as html files rather than making them in my server.js to create more login security.