Ngan Kim Khong

Ngan Kim Khong @nk2303

About: Hi! I'm currently a software engineer intern! I am looking to post some blogs about what I'm learning :)

Location:
Seattle, WA
Joined:
Feb 22, 2020

Ngan Kim Khong
articles - 16 total

What are the possible ways to create objects in JavaScript ?

There are many ways to create objects in javascript as below Object constructor: The simplest way t...

Learn More 3 0Jan 5 '21

How to make your localhost accessible to the internet with ngrok

Because of some popular programming memes, I thought localhost is, well, only exist in your local mac...

Learn More 26 8Oct 24 '20

Prevent phishing attack when open a new webpage from your project code

When a link opens a URL in a new tab with target="_blank", it is very simple for the opened page to c...

Learn More 9 1Oct 22 '20

Javascript function scoping basic: The expression and the invoke...

The image above shows the two ways of writing a function and invoke it immediately. You will wrap a p...

Learn More 6 0Oct 16 '20

An "Aha" moment about Object Oriented Programming

I'm not sure how to hashtag my blog to beginner only. If you're an experience developer, you can skip...

Learn More 11 1Sep 4 '20

Flexbox for CSS

I have been using libraries like Bootstrap and Bootswatch for all my CSS since the bootcamp. I unders...

Learn More 2 0Aug 30 '20

Javascript true false weirdness

Recently I was trying to check true/false value for an object. I was pretty sure that an empty object...

Learn More 1 5Aug 24 '20

React Hooks versus Classes - why choose one over another?

Recently an interviewer asked me about choosing between a functional component and class component. W...

Learn More 3 1Aug 11 '20

I learned Javascript, Ruby, Python and Java

If anyone knows computer science history you probably know that in recent years, programmers now can...

Learn More 28 30Aug 9 '20

Combined backend and frontend on Github

We have been taught about updating separated repository, for backend, and frontend, on Github, for va...

Learn More 24 2Aug 2 '20

Ruby - reference and foreign keys

There are several ways to add foreign key into our Ruby models. I have tried some of them. Some have...

Learn More 7 1May 15 '20

A quick comparison between React, Angular and Vue.js.

React, Angular and Vue are the three most popular frameworks for software engineers. Every framework...

Learn More 7 0Apr 9 '20

Git as a team - a simple concept for beginners.

As a developer, knowing how to use git is crucial. However, git for a beginner can be confusing. Here...

Learn More 11 0Mar 24 '20

addEventListener method

The addEventListener() method attaches an event handler to the specified element. Whenever the specif...

Learn More 10 0Mar 10 '20

Beginner: navigation on a dynamic website.

It's been a while since I first make my "Hello World" appear successfully on a website. Now, it's tim...

Learn More 8 0Mar 3 '20

First programming blog

I hope everyone has a great weekend! I’m currently in the second module of the full-stack immersive s...

Learn More 8 0Feb 24 '20