commit eadb276e9332fa0510b803b3938706e96c71d5f1 Author: *anna* Date: Wed Mar 3 12:02:53 2021 +0100 first commit diff --git a/script.js b/script.js new file mode 100644 index 0000000..e25e7e9 --- /dev/null +++ b/script.js @@ -0,0 +1,36 @@ + +/////////////////////////////// +// all jQuery stuff here + +$(document).ready(function() { + + $("#trigger").click(function() { + $("#demo").html("Hello, World!"); + }); + + $(document).on('change', 'select', function(){ + alert($(this).find('option:selected').text()); + + }); + + +}); + + +//go back+go forward buttons + function goBack() { + window.history.back(); + } + function goForward() { + window.history.go(1); + } + + + +//to switch divs inside the container div + + function show(param_div_id) { + document.getElementById("container").innerHTML = document.getElementById(param_div_id).innerHTML; + } + + diff --git a/start.html b/start.html new file mode 100644 index 0000000..9c287bb --- /dev/null +++ b/start.html @@ -0,0 +1,48 @@ + + + + start + + + + + + + + + + + +
+
+ It's Sunday. You are sit on a bench in the park. Your friend seems to be really late. You need a way to kill time until she arrives. + You can either that someone left on the bench or . + there if you feel like it . +
+ + + + + + +
+ + + + + + + \ No newline at end of file diff --git a/style_1.css b/style_1.css new file mode 100644 index 0000000..919f74b --- /dev/null +++ b/style_1.css @@ -0,0 +1,17 @@ +body { + background-color: black; + font: 22px monospace; + } + +#container { + background-color: white; + border: 2px black; + width: 70%; + bottom: 0px; + left: 13%; + right:13%; + position:fixed; + padding: 2% 2% 2% 2%; + margin-bottom: 2%; + +} \ No newline at end of file