diff --git a/Images/HelferV4/Yq11s3.png b/Images/HelferV4/Yq11s3.png deleted file mode 100644 index 39e5130..0000000 Binary files a/Images/HelferV4/Yq11s3.png and /dev/null differ diff --git a/Images/HelferV4/fkIank.png b/Images/HelferV4/fkIank.png deleted file mode 100644 index c0c11d0..0000000 Binary files a/Images/HelferV4/fkIank.png and /dev/null differ diff --git a/Images/HelferV4/rf45TZ.png b/Images/HelferV4/rf45TZ.png deleted file mode 100644 index 5c1c88e..0000000 Binary files a/Images/HelferV4/rf45TZ.png and /dev/null differ diff --git a/Images/fun/DVD_logo.svg b/Images/fun/DVD_logo.svg deleted file mode 100644 index 77ca2e8..0000000 --- a/Images/fun/DVD_logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/Scripts/loadProjects.js b/Scripts/loadProjects.js new file mode 100644 index 0000000..a24800a --- /dev/null +++ b/Scripts/loadProjects.js @@ -0,0 +1,46 @@ +const request = new XMLHttpRequest(); +const main = document.getElementById("projectslist"); +request.open('GET', 'https://api.github.com/search/repositories?q=user:stone-red-code'); +request.responseType = 'text'; +request.onload = function() { + console.log(request.response); + let jsonData = JSON.parse(request.response); + for (let i = 0; i < jsonData.items.length; i++) { + let item = jsonData.items[i]; + console.log(item.name); + addItem(item); + } +}; + +function addItem (item) +{ + let row = document.createElement("div"); + let col = document.createElement("div"); + let jumbotron = document.createElement("div"); + let heading = document.createElement("h2"); + let description = document.createElement("p"); + let repo = document.createElement("a"); + + row.classList.add("row"); + col.classList.add("col"); + jumbotron.classList.add("jumbotron"); + jumbotron.classList.add("p-5"); + + jumbotron.appendChild(heading); + jumbotron.appendChild(description); + jumbotron.appendChild(repo); + col.appendChild(jumbotron); + row.appendChild(col); + + + let head = document.createTextNode(item.name); + let desc = document.createTextNode(item.description); + repo.innerHTML = "GitHub"; + repo.href = item.html_url; + + heading.appendChild(head); + description.appendChild(desc); + + main.appendChild(row); +} +request.send(); \ No newline at end of file diff --git a/footer.html b/footer.html index 42d01bc..747489d 100644 --- a/footer.html +++ b/footer.html @@ -17,11 +17,7 @@
Lorem ipsum dolor sit amet consectetur adipisicing elit. A quia nihil
- fugit
- repellendus, aut officia libero. Magnam nobis, cumque sint ea laudantium sequi illum saepe
- harum
- voluptas excepturi aspernatur eveniet?
I'm just a random guy who likes programming and watching anime.
This is a small and simple side project i made. It displays an audio spectrum based on the - system sounds.
-AutoBackup is backup software that backs up your files at specific time intervals. -
-