diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 00000000..6da7542c Binary files /dev/null and b/.DS_Store differ diff --git a/code/index.html b/code/index.html index 2fb5e0ae..af495c24 100644 --- a/code/index.html +++ b/code/index.html @@ -11,6 +11,12 @@

GitHub Tracker

Projects:

+
+

+ Find the repo! + +

+
diff --git a/code/script.js b/code/script.js index e69de29b..78115395 100644 --- a/code/script.js +++ b/code/script.js @@ -0,0 +1,17 @@ +/*search function +const api +let repo = 'Weather-app' +let apiKey = '&APPID' +const units = '&units=metric'; + +const url = api + repo + apiKey + units + +const button = select ('#submit'); +button.mousePressed (askForRepo); + +function askForRepo (){ + const url = api + apiKey + units; + LoadJson (url,gotData); InputEvent.value () + + let input; +} */ \ No newline at end of file