Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ <h2>Crypto Price Predictor</h2>
<h3>Predicted Price:</h3>
<p id="price"></p>
</div>
<div id="telegram-bot">
<p class="bot-text">Track prices with our Telegram bot</p>
<h3><a href="https://t.me/trackingcryptopricerbot" class="bot-link">@TrackCryptoPriceBot</a></h3>
</div>
</section>
</div>

Expand Down
17 changes: 17 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ const cryptoMap = {
'FIL': 'filecoin',
'NEAR': 'near',
'HBAR': 'hedera-hashgraph',
'TON': 'toncoin',
'SUI':'sui',
'OP': 'optimism',
'INJ': 'injective',
'ARB': 'arbitrum',

// Stablecoins
'DAI': 'dai',
Expand Down Expand Up @@ -84,8 +89,20 @@ const cryptoMap = {
'BABYDOGE': 'baby-doge-coin',
'SAFEMOON': 'safemoon',
'ELON': 'dogelon-mars',
'PEPE': 'memetic',
'WIF': 'dogwithat',
'BONK': 'bonk',
'FLOKI': 'floki',

// Add more symbols and tokens as needed
'WETH': 'wrapped-ethereum',
'MKR': 'maker',
'BAL': 'balancer',
'WLD': 'worldcoin',
'OM': 'mantra-dao',
'PHB': 'phoenix',
'LISTA': 'lista',
'RENDER': 'render',
};

const cryptoInput = document.getElementById('crypto');
Expand Down
19 changes: 19 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -219,3 +219,22 @@ h1, h2, h3 {
word-wrap: break-word;
}
}



#telegram-bot {
align-items: center;
display: flex;
flex-direction: column;
gap: 0.25rem;
}

.bot-link{
text-decoration: none;
color: #FFEB55;
}

.bot-text{
font-size: 1rem;
margin-block: 0px;
}