100JSProjects
LearnProjectsExplore all projects
100JS_WORKSPACE/Build · Learn · Repeat
100JSProjects

Practical HTML, CSS, and JavaScript projects designed to help you turn concepts into real skills—one build at a time.

01Explore

./All projects./Learning guides./About./Contact./Privacy

02Resources

./GitHub repository./Support the project

© 2026 100 JS Projects. Built for developers.

TermsCookiesContact
JS//Projects/Currency Converter

Currency Converter

Build a currency converter with HTML, CSS, and JavaScript while practicing API requests and input events.

Intermediate30–45 minutesHTML5CSS3JavaScript
You’ll practice
API RequestsInput EventsDOM Selection
View Source CodeLive Demo
demo.100jsprojects.com/currency-converter
Final resultCurrency Converter project previewTry Live Demo
01 — What you’ll build

Currency Converter

This project shows you how HTML, CSS, and JavaScript work together in a currency converter. You’ll convert a value and keep the result easy to understand, then practice API requests, input events, and DOM selection as you build the complete project from scratch.

02 — Included
  • ✓Live API-powered results
  • ✓Currency Converter interface
  • ✓Responsive HTML and CSS layout
  • ✓Complete source code and live demo
03 — You’ll practice
  • >Fetch data from an API
  • >Respond to input changes
  • >Select HTML elements from the DOM
  • >Update content on the page
  • >Read and update form values
  • >Format numbers with toFixed

Recommended knowledge: Basic HTML and CSS, JavaScript functions and arrays, Promises and the Fetch API, JavaScript variables and number operations.

Complete project files

Build It from the Source Code

This project connects the interface to live API results.

  1. 1Create 3 files
  2. →
  3. 2Copy the code
  4. →
  5. 3Run index.html
Before you run it
  • Keep an internet connection available for live data.
Project structure
currency-converter/
├──
├──
└──
Need help setting up the project?

Create project files, install Live Server, and run your first project.

Open beginner guide
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Currency Converter</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="container">
        <h1>Currency Converter</h1>
        <div class="currency-container">
            <select id="currency-first">
                <option value="AUD">AUD</option>
                <option value="CAD">CAD</option>
                <option value="EUR">EUR</option>
                <option value="GBP">GBP</option>
                <option value="INR">INR</option>
                <option value="JPY">JPY</option>
                <option value="USD" selected>USD</option>
            </select>
            <input type="number" id="worth-first" value="1" min="0">
        </div>
        <div class="currency-container">
            <select id="currency-second">
                <option value="AUD">AUD</option>
                <option value="CAD">CAD</option>
                <option value="EUR">EUR</option>
                <option value="GBP">GBP</option>
                <option value="INR" selected>INR</option>
                <option value="JPY">JPY</option>
                <option value="USD">USD</option>
            </select>
            <input type="number" id="worth-second"  disabled>
        </div>
        <p class="exchange-rate" id="exchange-rate">1 USD = 138.5802 JPY</p>
    </div>
    <script src="index.js"></script>
</body>
</html>
JS// Related Projects

Practice with Related Projects

Practice API requests, input values, and number formatting with these related projects.

English Dictionary project preview★Best match
Related: API requestsIntermediate

English Dictionary

Look up a word and turn the API response into a useful definition.

Build an english dictionary →
Weather App project preview
Related: input valuesIntermediate

Weather App

Request current weather data and display the response clearly.

Build a weather app →
Weight Converter project preview
Related: number formatting

Weight Converter

Format numeric results before displaying them on the page.

Build a weight converter →
English Dictionary project preview
Related: API requests★Best match

English Dictionary

Look up a word and turn the API response into a useful definition.

Build an english dictionary
Weather App project preview
Related: input values

Weather App

Request current weather data and display the response clearly.

Build a weather app
Weight Converter project preview
Related: number formatting

Weight Converter

Format numeric results before displaying them on the page.

Build a weight converter
JS{ }Explore All JavaScript ProjectsBrowse by difficulty or concept.Explore All Projects