This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "Country": "Afghanistan", | |
| "Currency": "Afghani" | |
| }, | |
| { | |
| "Country": "Albania", | |
| "Currency": "Lek" | |
| }, | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "state": "Abia", | |
| "lgas": [ | |
| "Aba North", | |
| "Aba South", | |
| "Arochukwu", | |
| "Bende", | |
| "Ikawuno", | |
| "Ikwuano", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| {"name": "Abia" , "code" :"AB"}, | |
| {"name":"Adamawa", "code" :"ADW"}, | |
| {"name":"Anambra", "code" :"ANA"}, | |
| {"name":"Akwa Ibom", "code" :"AKW"}, | |
| {"name":"Bauchi", "code" :"BAU"}, | |
| {"name":"Bayelsa", "code" :"BAY"}, | |
| {"name":"Benue", "code" :"BNU"}, | |
| {"name":"Borno", "code" :"BR"}, | |
| {"name":"Cross River", "code" :"CRV"}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head></head> | |
| <body> | |
| <canvas id="myCanvas"></canvas> | |
| </body> | |
| <script type="text/javascript"> | |
| var canvas = document.getElementById('myCanvas'); | |
| var ctx = canvas.getContext('2d'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react'; | |
| import { Date } from 'core-js'; | |
| import './App.css'; | |
| const RoomItem = (props) => { | |
| var room = props.room? props.room :{} | |
| return (<div className="roomBox"> | |
| <h3>{room.RoomId}</h3> | |
| <p>{room.Class}</p> | |
| <p className={room.Available? "teal" :"red"}>{room.Available? "Available" : "Booked"}</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react'; | |
| import ReactDOM from 'react-dom'; | |
| import './index.css'; | |
| import App from './App'; | |
| import * as serviceWorker from './serviceWorker'; | |
| export const RoomContext = React.createContext(); | |
| class RoomProvider extends Component { | |
| constructor(props) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react'; | |
| import { Date } from 'core-js'; | |
| import './App.css'; | |
| const RoomItem = (props) => { | |
| var room = props.room ? props.room : {} | |
| return (<div className="col-md-4 roomBox"> | |
| <div className="card"> | |
| <div className="card-body"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .one { | |
| color: white; | |
| background-color: brown; | |
| margin: 10px; | |
| width: 50px; | |
| height: 50px; | |
| display: inline-block; | |
| } | |
| .two { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var express = require('express') | |
| const app = express(); | |
| app.listen(3600 , ()=> {console.log("App started")}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var express = require('express') | |
| const { ApolloServer,gql } = require('apollo-server-express'); | |
| const typeDefs = gql` | |
| type Query { | |
| greet: String, | |
| users :[User], | |
| musers:[User] | |
| } |
OlderNewer