Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fatimanasirawan/cognorise-infotech-internship-currency-convertor-project

Currency Convertor Web Page using HTML/CSS/JS/NODE.JS/EXPRESS
https://github.com/fatimanasirawan/cognorise-infotech-internship-currency-convertor-project

api backend-api backend-development client-server currency-conversion currency-converter currency-exchange currency-exchange-rates currency-updater exchange-api exchange-rates expressjs front-end-development internship-project node-js web-development-project webdevelopment

Last synced: 5 days ago
JSON representation

Currency Convertor Web Page using HTML/CSS/JS/NODE.JS/EXPRESS

Awesome Lists containing this project

README

        

๐”๐ฌ๐ž ๐š ๐‹๐จ๐œ๐š๐ฅ ๐ƒ๐ž๐ฏ๐ž๐ฅ๐จ๐ฉ๐ฆ๐ž๐ง๐ญ ๐’๐ž๐ซ๐ฏ๐ž๐ซ
Running a local development server will resolve CORS issues. Hereโ€™s how you can set one up:

๐—จ๐˜€๐—ถ๐—ป๐—ด ๐—ฉ๐—ถ๐˜€๐˜‚๐—ฎ๐—น ๐—ฆ๐˜๐˜‚๐—ฑ๐—ถ๐—ผ ๐—–๐—ผ๐—ฑ๐—ฒ (๐—ฉ๐—ฆ ๐—–๐—ผ๐—ฑ๐—ฒ) ๐˜„๐—ถ๐˜๐—ต ๐—Ÿ๐—ถ๐˜ƒ๐—ฒ ๐—ฆ๐—ฒ๐—ฟ๐˜ƒ๐—ฒ๐—ฟ ๐—˜๐˜…๐˜๐—ฒ๐—ป๐˜€๐—ถ๐—ผ๐—ป:
Install Live Server Extension:

๐Ž๐ฉ๐ž๐ง ๐•๐’ ๐‚๐จ๐๐ž.
Go to the Extensions view (Ctrl+Shift+X or click the Extensions icon in the sidebar).
Search for "Live Server" and install it.

๐Ž๐ฉ๐ž๐ง ๐˜๐จ๐ฎ๐ซ ๐๐ซ๐จ๐ฃ๐ž๐œ๐ญ:
Open your project folder in VS Code.

๐‘๐ฎ๐ง ๐‹๐ข๐ฏ๐ž ๐’๐ž๐ซ๐ฏ๐ž๐ซ:
Right-click on your index.html file and select "Open with Live Server" or use the "Go Live" button in the bottom-right corner.

๐€๐œ๐œ๐ž๐ฌ๐ฌ ๐˜๐จ๐ฎ๐ซ ๐’๐ข๐ญ๐ž:
This will open your index.html in a browser with a local server, resolving CORS issues.

๐”๐ฌ๐ข๐ง๐  ๐๐ฒ๐ญ๐ก๐จ๐ง (๐ข๐Ÿ ๐๐ฒ๐ญ๐ก๐จ๐ง ๐ข๐ฌ ๐ข๐ง๐ฌ๐ญ๐š๐ฅ๐ฅ๐ž๐):
Navigate to Your Project Directory:
Open a terminal or command prompt.
Use cd to navigate to the directory containing your index.html.

๐’๐ญ๐š๐ซ๐ญ ๐š ๐’๐ข๐ฆ๐ฉ๐ฅ๐ž ๐‡๐“๐“๐ ๐’๐ž๐ซ๐ฏ๐ž๐ซ:
For Python 3.x: Run python -m http.server 8000
For Python 2.x: Run python -m SimpleHTTPServer 8000

๐€๐œ๐œ๐ž๐ฌ๐ฌ ๐˜๐จ๐ฎ๐ซ ๐’๐ข๐ญ๐ž:
Open a browser and go to http://localhost:8000.

Make sure to replace my API KEY with YOUR API KEY.