Bitcoin price is displaying in HTLM with Javascript!

This commit is contained in:
0ceanSlim 2023-07-29 07:57:33 -04:00
parent 1243596392
commit 37c20e9bf7
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<!-- Add the internet permission here -->
<uses-permission android:name="android.permission.INTERNET" />
<application
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"

View File

@ -53,6 +53,7 @@ class MainActivity : AppCompatActivity() {
<body>
<div class="bitcointodollars">
<h1>Bitcoin Price Tracker.</h1>
<p> this is a p </p>
<div id="bitcoin-price"></div>
<script>
// Fetch the Bitcoin price from the CoinGecko API