This is an application where users can type in US dollars and choose which currency it should be converted to.
- HTML
- CSS
- JavaScript
- JQuery
- Bootstrap
- Jest
- ESLint
- Babel
- Webpack
- Popper
- Package.json
- NPM
- ExchangeRate-API
This simple HTML site uses Javascript and ExchangeRate-API keys to convert US dollars to currencies from multiple countries in the dropdown list.
- Clone or download the zip file of this repository to your desktop
- Open in a text editor
- If you are using a Mac: open the package.json and find the scripts property, change the line "start": "npm run build & webpack-dev-server --open --mode development", to "start": "npm run build; webpack-dev-server --open --mode development"
- Commit and push your .gitignore file to your repo
- Run
$ npm install
- Check title on package.json and webpack file
- Go to https://www.exchangerate-api.com/ and generate an API Key
- Type
$ touch .env
to create a document to save your API key as API_KEY={your key here} - Type
$ npm run build
, to build your environment - Type
$ npm run start
, to open in your browser - Enter in an amount of US Dollars in the first input
- Select your conversion rate by country code, hit convert button
- N/A
Copyright (c) 2021 Paige Tiedeman
Paige Tiedeman @ github.com/paigetiedeman