Skip to main content

Posts

Showing posts from May, 2016

Hello React !

React is a UI library developed at Facebook to facilitate the creation of interactive, stateful & reusable UI components. This article will help you create your first 'Hello World' webpage with React without knowledge of Node / npm. Steps to create Hello World page 1) Create new .txt file and save as .html on your computer. 2) Add react.js, react-dom.js and browser.min.js links from CDN library to HTML header. 3) Add div tag with id="content" in body as a parent container to display custom text. 4) Add script type="text/babel" tag and start writing react code inside it.  type="text/babel" helps browser to render JSX inside script. JSX is a Javascript XML syntax transform. This lets you write HTML-ish tags in your Javascript.  5) Use ReactDOM's Render method. Our first argument is the component we want to render (i.e. h1), and the second is the DOM node it should mount to (i.e. div id="content"). 6

Matheran - Perfect weekend destination

I have visited Matheran with cousins on 21 & 22-May-2016. It was kind of family reunion. Travel : Mumbai to Neral by local train Take Neral Matheran toy train. 21 KM. It will take 2 hours. Neral to Dasturi by Omni Taxi. Per seat Rs 70 for Adult and Rs 40 for Child. 8 KM. Takes 30 minutes by Taxi. Pay Rs 50 as Matheran Entry fee at Dasturi Walk till Aman Lodge railway station then walk along railway track for 3 KM to reach Matheran railway station. Horse ride and man pulled carts are available from Dasturi to Matheran for Rs 400 per person Stay : We stayed at Hotel Kumar Plaza. Very nice hotel around 10 minutes walk from Matheran station. Hotel also has small Swimming pool. Karaoke, DJ dance floor and Magic / Fire show at night. Rate: from 5000 per night for couple including breakfast + lunch + evening tea + dinner We paid 2000 per person per day with 4 people in one room. Points must visit : Charlotte lake Echo point