Categories
JavaScript Programming

Trackr – Our winner submission at UNIHACK Melbourne 2018

Categories
Data Science JavaScript Programming React SQL

[Guide] Building Data Science Web Application with React, NodeJS, and MySQL

Categories
Data Science JavaScript Programming

Data Visualisation for Melbourne AirBnb investors in D3.js[with Code]

Last month I attended the Quantify Datathon 2017 event. We are given AirBnb data from insideairbnb.com, then we have 5 days to explore and comes up with the model and/or visualization. Here is the final product from my team, Team Gravy.

Categories
JavaScript Programming React

React Modal – The easy way to show a modal without Redux

Creating a modal box (or popup) is not difficult, but also not easy. I spent 2-3 days finding a solution to build a modal in my React project. As my background is from jQuery and pure JavaScript, I was not aware of the possibility for ReactDOM to build a modal. In this post, I will go through the process of building a modal without JavaScript, and how it is solved by “react-modal” component.

Categories
CSS HTML/CSS JavaScript Programming

WordPress VS React – What I learned from my first day with React

It was 3 years ago that I worked with people who used React for the first time. After that, I had many chances to get in contact with React. But I haven’t really write frontend using React until today.

I am quite amazed with the React ecosystem and would like to share my comparison here.

Categories
HTML/CSS JavaScript Programming WordPress WordPress Themes

[Foundation 6 & WordPress] SyntaxError: class is a reserved identifier class

I got this error when trying to use foundation 6’s JavaScript from Essential pack (downloaded from here: http://foundation.zurb.com/sites/download.html/)

Categories
JavaScript PHP Programming WordPress

[JS & PHP] How to set cookies in JavaScript and get in PHP

There is the application I built today which required to send data between JavaScript and PHP. Therefore, instead of sending AJAX request everytime data has changed, I decided to set cookies from JS and use PHP to retrieve the cookies when needed.

Categories
JavaScript Programming

[JS] HTML5 Video Tag cannot autoplay with MMenu.js in Chrome

I recently found this weird bug of MMenu.js in Chrome. Having spent hours of searching and testing, I would like to share my solution here.

Categories
JavaScript Programming

[JS] JavaScript Parallel Promise Tutorial

For those who haven’t heard of Promise in JavaScript before, it is a function to make JavaScript wait for something before running other operation. It is implemented in modern browsers, or just use one of those Promise polyfill.

Categories
JavaScript Programming

[JS] แก้ปัญหา Google Map ใหญ่ ๆ โดน Mouse Scroll แล้วซูม