Live workshop with Jad Joubran in collaboration with intechgration.io.
Project: CurrencyPro Converter
-
Create a free API key at exchangerate-api.com. The API key that will be generated for you, will be a string in the following format:
45e31c9a2a1b6b0b8d6e1c2x
- Spend some time studying the Documentation for the Pair ExchangeRate-API endpoint and Authentication.
- Once you have your API key, do a test request directly through the browser and check that you get the appropriate response back: https://v6.exchangerate-api.com/v6/45e31c9a2a1b6b0b8d6e1c2x/latest/USD
-
Fork this repository
-
Study the Figma Designs and try to recreate them from scratch using HTML. In case you want to focus just on the JavaScript part, we have already included two HTML pages that can be used as a boilerplate. Check the
/html/
folder.
Here is what you will find in this repository:
-
/assets/figma/
- Figma design for Beginner level:
Figma.Beginner.png
- Figma design for Advanced level:
Figma.Advanced.png
- Figma design for Beginner level:
-
/html/
(generated by ChatGPT-4o)- Basic HTML page for the landing page:
/beginner/home.html
- Basic HTML page for converter page:
/beginner/converter.html
- Basic HTML page for the landing page:
Please follow, like and subscribe to support our work:
During the live session, Jad used quite a lot of Web APIs and JavaScript commands and also visited a few websites that helped him develop the app. He also mentioned a couple of tools and APIs that were not used. Here is a list of resources that cover all of these:
-
JavaScript Modules: related to
<script type="module">
-
Web Accessibility: Something that the
ChatGPT
did not do very well on, when creating the HTML templates. -
NodeList: A special kind of array returned by
document.querySelectorAll
method. -
The URL API: "The URL interface is used to parse, construct, normalize, and encode URLs."
-
The
data
attribute: Used in the<div data-value="USD">
elements. -
Do modules prevent the need to use the DOMContentLoaded listener?: brought up by a question.
-
Vite: JavaScript Frontend development tool.
-
CodeToGo: Find up to date snippets for JavaScript & React use cases