lemansky

Untitled

Nov 19th, 2020 (edited)
741
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.42 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.     <title>Document</title>
  7.     <script>
  8.  
  9.         const json =
  10.         [
  11.             {
  12.                "price_per_day":2,
  13.                "period":[
  14.                   "2020-01-01",
  15.                   "2020-01-02",
  16.                   "2020-01-03",
  17.                   "2020-01-04",
  18.                   "2020-01-05",
  19.                   "2020-01-06"
  20.                ]
  21.             },
  22.             {
  23.                "price_per_day":60,
  24.                "period":[
  25.                   "2020-01-03",
  26.                   "2020-01-04",
  27.                   "2020-01-05",
  28.                   "2020-01-06",
  29.                   "2020-01-07",
  30.                   "2020-01-08"
  31.                ]
  32.             },
  33.             {
  34.                "price_per_day":15,
  35.                "period":[
  36.                   "2020-01-05",
  37.                   "2020-01-06"
  38.                ]
  39.             },
  40.             {
  41.                "price_per_day":150,
  42.                "period":[
  43.                   "2020-01-08",
  44.                   "2020-01-09",
  45.                   "2020-01-10",
  46.                   "2020-01-11",
  47.                   "2020-01-12",
  48.                   "2020-01-13",
  49.                   "2020-01-14",
  50.                   "2020-01-15"
  51.                ]
  52.             }
  53.         ];
  54.         console.log(json);
  55.  
  56.  
  57.     </script>
  58. </head>
  59. <body>
  60.    
  61. </body>
  62. </html>
Add Comment
Please, Sign In to add comment