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
[ | |
{"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": "🇨🇷"}, |
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
class Form extends Component { | |
constructor() { | |
super(); | |
this.state = { | |
// state initialization | |
clickEvent: '', | |
ready: '', | |
input: '', | |
SearchBy: '', | |
select: '', |
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
class Result extends Component { | |
constructor(props){ | |
super(props); | |
this.state = { | |
song: {}, | |
ready: 'initial' | |
} | |
} | |
componentDidMount() { | |
const {match : {params} } = this.props; |
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> | |
<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> |