feature/app now receives exchange rates from API

This commit is contained in:
Joaquin committed 2025-05-06 17:02:37 -07:00
1 parent f3a1a2191a
commit a173b8c70c
6 files changed
+167 -8

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
function convert(from) {
fetch(`https://api.frankfurter.dev/v1/latest?base=${from}`)
.then((resp) => resp.json())
.then((data) => {
console.log(data);
});
}