Let’s talk about Fetch & Javascript. How does it work?
Well for starters, duing the first week on project week, I wanted to build one certain project that I prepared a month in advance, breeze through that code by meeting the basic requirements for the project, and then refactor and add additional componentes during the second week However, I had many days where I felt overwhelmed with long sleepless nights. Between maintaining my career track prepping for mock interviews, working during the day, practicing coding challenges, and working on figuring out my project. Maybe my ideas were too big at the time. I’m not sure, but I had to dial back my ideas and focus on the task at hand.
With everything going on, javascript was a bit of a challenge. I’ll dive into the complexities of the syntax, flow, and the frequent updates, but I’ll tackle the issues that I primarily experienced beginning with the lessons. From dealing with COVID-19, a sudden cohort shift, beginning a new position at the airport, and having family issues, it seemed like my momentum was slowing down tremendously. The JS labs were hit or miss, and I had a tough time grasping a few concepts, such as certain ES6 methods (…spread, reduce, set timeout, the arrow function) and also fully understanding serializers. I knew when project week began, I’d have to really spend 3/4ths of the day coding and researching every component of building my application. From setting up the div#ids in my html body, Styling it with CSS, and building asynchronous code. Being able to plan out my application was extremely vital to my success.
Initially when I began learning rails, it was a bit of a blur. Dealing with <%= Form_tag %>, then transitioning to <%= Form_for %> was a bit confusing. To make it even more challenging, lets add in NESTED FORMS and give you a <%= Fields_for %> form to build it within your form. Learning this was a nightmare! However I will say that as I made it to the end of the rails amusement park section, It began to start coming together! I never thought I would be able to understand the associations, scope methods, nor the nested forms so well. Up to this point, I still struggle with the hidden_input and filters. Ill continue to revisit the lessons to it an understanding. Lets break down what I’ve learned….