I hereby claim:
- I am phonbopit on github.
- I am phonbopit (https://keybase.io/phonbopit) on keybase.
- I have a public key ASAv28GwmvNxXfh45vViTOwzD_xvF50Wrljojz5QAKONpAo
To claim this, I am signing this object:
This file contains 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>React 101 By Devahoy</title> | |
<script crossorigin src="https://unpkg.com/react@16/umd/react.development.js"></script> | |
<script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script> |
This file contains 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 mongoose = require('mongoose'); | |
const options = { | |
useNewUrlParser: true, | |
useUnifiedTopology: true | |
}; | |
mongoose.connect('mongodb://localhost:27017/hello-mongoose', options); | |
const CatModel = mongoose.model( |
This file contains 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 from 'react' | |
class LoginForm extends React.Component { | |
render() { | |
return ( | |
<section className="section container"> | |
<div className="columns is-centered"> | |
<div className="column is-half"> | |
<form> | |
<div className="field"> |
This file contains 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
// randomString(length) | |
// -------------------- | |
// | |
// Generates and returns a cryptographically secure | |
// uniform alphanumeric random string. | |
// | |
// Examples: | |
// | |
// randomString(14) // "oXYWpc1vODNR3M" | |
// randomString.hex(8) // "663c722b65943b9b" |
Resources for learning web design & front-end development:
ONLINE
Design
NewerOlder