Lord have mercy on Lebanon. If you have anyone in Lebanon check on them. Pray for Lebanon
Create a simple currency converter - HTML/Javascript

This is a simple project to get you started with basic JavaScript.I will be showing you how to create a simple forex converter.

HTML markup
<!DOCTYPE html>
<title>Page Title</title>

<h3>Converter </h3>


<input type="number" id="forex-amount" placeholder="Enter currency">

<select id="forex-rate">
<option disabled selected value="select">select currency</option>
<option value="3665.301">USD</option>
<option value="4635.3835">GBP</option>
<option value="4635.3835">EUR</option>
<option value="33.3528">KES</option>

<input type="text" id="forex-ugx" placeholder="result">


The JavaScript file was causing issues while uploading it, so i decided to put it inside the zipped file you are about to download below.Just know it is simple code.

Note: The currency values that am using for this tutorial are static. You can decide to get them from an API that deals with currency conversion or your own database which is the common practice by banks.


To download the source code Click here description

Banks like Centenary in uganda use it,check it out:: attach_money Forex Converter

Related Post(s)

» Learn how to Switch Between Dark and Light Mode With CSS and Javascript

» JavaScript Quiz App Source Code

» Learn how to animate the value of the placeholder attribute with JAVASCRIPT

» Here are some games made with javascript

» How to change the image source attribute using Javascript

collections_bookmark Category :: Javascript
date_range Published :: 1 year ago At: 01:47 PM
event_note Detailed Date :: Jan 10th, 2019
person Writer :: Code