From df2c931453aec3d2ab284f52b9e991c4a7942f9a Mon Sep 17 00:00:00 2001
From: Aditya <132193415+ascendantaditya@users.noreply.github.com>
Date: Mon, 29 Jan 2024 20:11:16 +0530
Subject: [PATCH] Update index.html
---
index.html | 46 ++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 44 insertions(+), 2 deletions(-)
diff --git a/index.html b/index.html
index 51a0042..13d6b67 100644
--- a/index.html
+++ b/index.html
@@ -4,6 +4,48 @@
Your GitHub Repository
+
@@ -18,7 +60,7 @@ Your GitHub Repository Files
const username = 'ascendantaditya';
const repo = 'Pycamp';
- const apiUrl = `https://api.github.com/repos/ascendantaditya/Pycamp/contents`;
+ const apiUrl = `https://api.github.com/repos/${username}/${repo}/contents`;
async function fetchRepoFiles() {
try {
@@ -43,7 +85,7 @@ Your GitHub Repository Files
}
function downloadCSV() {
- // Replace 'your_dataset_file.csv' with the actual path to your CSV file in the repository
+ // Replace 'nba.csv' with the actual name you want for the downloaded CSV file
const csvUrl = `https://raw.githubusercontent.com/${username}/${repo}/master/nba.csv`;
const link = document.createElement('a');