Currency Converter Lab

Medium
0.0% Acceptance

In this lab, you'll create a simple currency converter using HTML, CSS, JavaScript, and a 3rd-party API for fetching current exchange rates. You'll start by building a basic user interface with two input fields - one for the amount and the other for the selected currency. Additionally, you'll have a button to trigger the currency conversion and a paragraph element to display the result. You'll use fetch in JavaScript to make an API request to retrieve the exchange rate for the selected currency.

With the use of event listeners, you'll be able to detect when the button is clicked, and based on the input values, you'll use the exchange rate received from the API to perform the conversion and display the result in the paragraph element.

This lab requires knowledge of basic HTML, CSS, JavaScript, event handling, fetching data using APIs, and basic DOM manipulation.