A tool that generate drop down list for Countries Phone codes using country.io
Two options for usage:
-
Generate Json file and then create the list through JavaScript:
- Running
/php/json.php
will generate/out/list.json
; you need a PHP server orPHP Server
extension for VSCode - Open
index.html
in the browser to loadlist.json
and create the dropdown using JavaScript
- Running
-
Generate the list directly in the Php file
- Run
/php/html.php
from the browser
- Run
- Node.js
- C#
- Go
- Python