| No. | badges |
|---|---|
| 1 | Coder |
| 2 | Communication |
| 3 | Community |
| 4 | Designer |
| 5 | Inc |
| 6 | Multimedia |
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"; | |
| class App extends Component { | |
| constructor(props) { | |
| super(props); | |
| this.state = { | |
| items: [ | |
| { title: "first", body: "This Is First" }, | |
| { title: "Second", body: "This Is Second" }, | |
| { title: "Third", body: "This Is Third" }, |
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"; | |
| class Storage extends Component { | |
| setData = () => { | |
| let obj = { name: "Anmol", age: "24", email: "anmolsukki94@gmail.com" }; | |
| localStorage.setItem("myData", JSON.stringify(obj)); | |
| }; | |
| getData = () => { | |
| let data = localStorage.getItem("myData"); |
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
| const express = require('express'); | |
| const path = require('path'); | |
| const app = express(); | |
| app.use(express.static(path.join(__dirname, 'build'))); | |
| app.get('/', function(req, res) { | |
| res.sendFile(path.join(__dirname, 'build', 'index.html')); | |
| }); | |
| app.listen(9000); |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>PDF Preview</title> | |
| </head> | |
| <body> | |
| <!-- Method 1 --> | |
| <embed |
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
| Anmol Kumar Singh |