JSFiddle - React, Tailwind, and code Playground

by Miklos Nagy

JavaScript

var hotels = {

     "Kis Pista" : {
        name: "hilton hotel"
    },

     "Nagy Tamara" : {
        name: "newton hotel"
    }
};
localStorage.hotels = JSON.stringify(hotels);