Form Validation
Today was the most challenging day I’ve had at The Iron Yard so far. We were doing something I’ve never done before, which is server-side form validation. I’ve handled minimal form validation on the client-side in the HTML, but that’s nothing compared to this. The great thing is that what we learned today gives us a plethora of ways to handle form validation and error handling.
I’m tidying up my portfolio as well. The blog site I built with Node is getting closer to being ready to show and deploy. I’m working on deleting comments from blog posts. Then I just need to improve the styling and add user authentication. Really, after that, it will be a fully-functional blog site that other users could log in to and use.
I’m also refactoring a weather app I’ve built. About 3 or 4 months ago, I built it initially using jQuery. Last night, I refactored it to vanilla JS no problem. Now I’m working on getting it to run in Node, so the API endpoint can come from the server-side instead of the client-side. It’s a lot of work, but I think it will be worth it, if for no other reason than to hide the API key.
It’s been a long day. It’s time to head home and work on digesting all of this new information. I’m excited about the possibilities that can come from it, but it will take some time to solidify.
