---
title: "Discussion on \"How to Build a Crypto Gain and Loss on Investment Calculator with HTML, CSS (SCSS) and JavaScript.\" | Hashnode"
description: "Discussion on \"How to Build a Crypto Gain and Loss on Investment Calculator with HTML, CSS (SCSS) and JavaScript.\". HTML, CSS and JavaScript project"
url: "https://hashnode.com/posts/how-to-build-a-crypto-gain-and-loss-on-investment-calculator-with-html-css-scss-and-javascript/622094b3f66a8f37e114f28e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Build a Crypto Gain and Loss on Investment Calculator with HTML, CSS (SCSS) and JavaScript.](https://ayobamie.com/how-to-build-a-crypto-gain-and-loss-on-investment-calculator-with-html-css-scss-and-javascript?utm_source=hashnode&utm_medium=feed)

HTML, CSS and JavaScript project

Mar 3, 2022 · 12 min read · ayobamie.com  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#html5](https://hashnode.com/tag/html5)
-   [#css](https://hashnode.com/tag/css)
-   [#cryptocurrency](https://hashnode.com/tag/cryptocurrency)
-   [#projects](https://hashnode.com/tag/projects)

## Written by

[Ogundiran Ayobami](https://hashnode.com/@codingnninja)

@codingnninja

  
[View profile](https://hashnode.com/@codingnninja)

Making programming easy to learn for all.

## Responses 1

Markdown supported · ⌘↵ to post

[Ahmad Faeez](https://hashnode.com/@aFaeez)

[Feb 6, 2023](https://hashnode.com/posts/how-to-build-a-crypto-gain-and-loss-on-investment-calculator-with-html-css-scss-and-javascript/622094b3f66a8f37e114f28e/comment/63e0af67bf2ce4a649f5f9bc)

Hi, your content is very good and I like it. However, on the demo part, the dropdown menu to choose cryptocurrency is not available. Do you know how to resolve this problem?

[Ogundiran Ayobami](https://hashnode.com/@codingnninja)

[Feb 6, 2023](https://hashnode.com/posts/how-to-build-a-crypto-gain-and-loss-on-investment-calculator-with-html-css-scss-and-javascript/622094b3f66a8f37e114f28e/comment/63e0af67bf2ce4a649f5f9bc#reply-63e10241b9fecdb4a978d9c5)

It looks like the API from Coinbase has expired. You may need to set up your personal API from them or API from another company. Once you fix that, you're good to go.

[Ahmad Faeez](https://hashnode.com/@aFaeez)

[Feb 7, 2023](https://hashnode.com/posts/how-to-build-a-crypto-gain-and-loss-on-investment-calculator-with-html-css-scss-and-javascript/622094b3f66a8f37e114f28e/comment/63e0af67bf2ce4a649f5f9bc#reply-63e27e79cecce1c954adff3e)

[Ogundiran Ayobami](https://hashnode.com/@codingnninja) How do I apply another API to your calculator code?? I tried another API but it still doesn't work

[Ogundiran Ayobami](https://hashnode.com/@codingnninja)

[Feb 7, 2023](https://hashnode.com/posts/how-to-build-a-crypto-gain-and-loss-on-investment-calculator-with-html-css-scss-and-javascript/622094b3f66a8f37e114f28e/comment/63e0af67bf2ce4a649f5f9bc#reply-63e2b650cecce1c954ae074b)

This a tutorial on it but it will still be locked in just 2 days.

[cryptopro.app/help/automatic-import/coinbase-api-…](https://cryptopro.app/help/automatic-import/coinbase-api-key/)

Or maybe you should look for another one
