Skip to content

Instantly share code, notes, and snippets.

View 0xtruly's full-sized avatar
🏡
Working from home

Segun 0xtruly

🏡
Working from home
View GitHub Profile
[
{"name": "United States", "code": "+1", "flag": "🇺🇸"},
{"name": "Canada", "code": "+1", "flag": "🇨🇦"},
{"name": "Mexico", "code": "+52", "flag": "🇲🇽"},
{"name": "Guatemala", "code": "+502", "flag": "🇬🇹"},
{"name": "Belize", "code": "+501", "flag": "🇧🇿"},
{"name": "El Salvador", "code": "+503", "flag": "🇸🇻"},
{"name": "Honduras", "code": "+504", "flag": "🇭🇳"},
{"name": "Nicaragua", "code": "+505", "flag": "🇳🇮"},
{"name": "Costa Rica", "code": "+506", "flag": "🇨🇷"},
class Form extends Component {
constructor() {
super();
this.state = {
// state initialization
clickEvent: '',
ready: '',
input: '',
SearchBy: '',
select: '',
class Result extends Component {
constructor(props){
super(props);
this.state = {
song: {},
ready: 'initial'
}
}
componentDidMount() {
const {match : {params} } = this.props;
@0xtruly
0xtruly / index.html
Created October 19, 2018 02:42
Intro to web dev Assignment 1
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Simple website</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="refresh" content="5">
<link rel="stylesheet" type="text/css" media="screen" href="style.css" />
<script src="main.js"></script>
</head>