Photo by Antonio Batinić from Pexels

I recently passed the assessment for my final project in Flatiron. Yay! But before that, I was tasked to do a coding challenge to add a counter button on my React notebook application.

I spent a long time thinking, trying, and failing on what I should do to complete the challenge. I thought of adding a new counter property and add it to each of my notebook object in my notebooks array. …

Photo by Nataliya Vaitkevich from Pexels

I was doing my React project and I needed to edit the value of just one object inside a nested array. I didn’t know what to do at first.

I encountered this issue when I was doing my final project with Flatiron. I want to share how I was able to do this.

Step 1:

Find the index in the array. For me, I used the id to find the object I was looking for.

const index = state.notebooks.findIndex(notebook => === action.payload.notebook_id)

Step 2:

Create a copy of the array using the spread operator.

const updatedNotebooks = […state.notebooks]


I just finished my Javascript project. I think this is the hardest one for me since I started at Flatiron school.

I haven’t slept in days and there are a lot of moments when I wanted to give up. It’s very difficult to work full time while studying but I really want to reach my goal, so I pushed through.

There were really instances where I doubted myself if I’ll ever be good enough, but reading about other people’s experiences help me.

Like with everything in life, this is a continuous process of learning. With God’s help and more perseverance, I know I will be a great software engineer someday.

Image by Goumbik from Pixabay

DRY — Don’t Repeat Yourself.

The purpose of this principle is to cut down on the repetition of codes.

When you start creating your application, you will notice that you keep on using the same code over and over again on different methods. This is where the helper methods come in.

Helper methods are codes you write that you can use so you don’t have to write repetitive codes. When I was doing my Sinatra project, I used two helper methods that helped me keep my code DRY.

From what I know now, there are two ways to use helper…

I just finished my first CLI application. Yay!

This is actually the 3rd time I tried to create a CLI application but this is the first time I really finished one so I’m very happy!

The main method in my CLI is to search for a specific anime. I decided to do this because it would be very difficult to just get data from the API and list thousands of anime shows and movies and ask the user to pick one. I can’t imagine how that would work.

I tried a few methods but I will mainly talk about detect()…

Image by James Osborne from Pixabay.

I’ve always been curious about how everything works. Ever since I can remember, I love learning about different kinds of things.

When I was in college, I didn’t know what career I wanted. I decided to study Mass Communications because I wanted to write then, but I have friends who are in the tech industry and I always ask them what they do and if they can teach me. It was something like a passing thought so that didn’t push through.

I wasn’t able to graduate and had to work right away because of financial reasons. I got a job…

Kamille Longalong

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store