Skip to content

Instantly share code, notes, and snippets.

@cbmgit
cbmgit / jsonstring
Last active Jul 3, 2018
JSON Example of JSON String data type
View jsonstring
{
"firstname": "Tom",
"lastname": "Cruise",
"occupation": "Actor"
}
@cbmgit
cbmgit / jsonnumber
Last active Jul 3, 2018
JSON Number datatype
View jsonnumber
{
"id": 1,
"age": 56,
"bornyear": 1963,
"date": 3,
"month": 7,
"weight" : 67.5
}
@cbmgit
cbmgit / jsonobject
Created Jul 3, 2018
JSON Object Datatype
View jsonobject
{
"actor": {
"name": "Tom Cruise",
"age": 56,
"Born At": "Syracuse, NY",
"Birthdate": "July 3 1962",
"photo": "https://jsonformatter.org/img/tom-cruise.jpg"
}
}
@cbmgit
cbmgit / jsonarray
Created Jul 3, 2018
JSON array Datatype
View jsonarray
{
"Actors": [
{
"name": "Tom Cruise",
"age": 56,
"Born At": "Syracuse, NY",
"Birthdate": "July 3, 1962",
"photo": "https://jsonformatter.org/img/tom-cruise.jpg"
},
{
@cbmgit
cbmgit / jsonboolean
Created Jul 3, 2018
JSON Boolean DataType
View jsonboolean
{
"hasChildren":true,
"hasTwitterAccount":true,
"hasGreyHair":false
}
@cbmgit
cbmgit / jsonnull
Created Jul 3, 2018
JSON Null Data Type
View jsonnull
{
"wife":null
}
@cbmgit
cbmgit / jsonexample
Last active Jul 3, 2018
All JSON DataType Example
View jsonexample
{
"Actors": [
{
"name": "Tom Cruise",
"age": 56,
"Born At": "Syracuse, NY",
"Birthdate": "July 3, 1962",
"photo": "https://jsonformatter.org/img/tom-cruise.jpg",
"wife": null,
"weight": 67.5,
View sample.html
<!DOCTYPE html>
<html>
<head>
<style>body{background-color:#d0e4fe;}h1{color:orange;text-align:center;}p{font-family:"Times New Roman";font-size:20px;}</style>
</head>
<body>
<h1>CSS example!</h1>
<p>This is a paragraph.</p>
<table>
<tr>
@cbmgit
cbmgit / InsuranceCompanies.json
Last active Mar 27, 2019
Top Insurance Companies, Created by using https://jsonformatter.org/
View InsuranceCompanies.json
{
"InsuranceCompanies": {
"Time":"Feb 2019",
"Top Insurance Companies":[
{
"No": "1",
"Name": "Berkshire Hathaway ( BRK.A)",
"Market Capitalization": "$308 billion"
},
{
View sample.css
.menu_simple {
width: 100%;
background-color: #005555;
}
.menu_simple ul {
margin: 0;
padding: 0;
float: left;
}
.menu_simple ul li {