diff --git a/Rytis_George_Baltakys/Javascript/jQuery/arenaGame/arena.css b/Rytis_George_Baltakys/Javascript/jQuery/arenaGame/arena.css new file mode 100755 index 0000000..00cd2a5 --- /dev/null +++ b/Rytis_George_Baltakys/Javascript/jQuery/arenaGame/arena.css @@ -0,0 +1,47 @@ +body { + font-family: sans-serif; + text-align: center; + background: url("img/freshprince.jpg"); + background-size: 100%; +} + + +.box { + width: 460px; + margin: 80px auto; + padding: 20px; + background-color: rgba(150, 150, 150, 0.5); + border-radius: 20px; +} + +button { + display: inline-block; + font-size: 20px; + width: 180px; + padding: 15px; + margin: 15px; +} + +#next { + color: lightblue; + text-decoration: underline; + margin-left: 60%; +} + +select { + font-size: 20px; + width: 150px; + margin: 20px; +} + +.player1 { + width: 200px; + margin-right: 200px; + display: inline-block; +} + +.player2 { + width: 200px; + margin-left: 200px; + display: inline-block; +} diff --git a/Rytis_George_Baltakys/Javascript/jQuery/arenaGame/arena.html b/Rytis_George_Baltakys/Javascript/jQuery/arenaGame/arena.html new file mode 100755 index 0000000..d157dd1 --- /dev/null +++ b/Rytis_George_Baltakys/Javascript/jQuery/arenaGame/arena.html @@ -0,0 +1,123 @@ + + + +
+ + +Click for description
${$('textarea').val()}
+ We know that writing code works up an appetite, that's why Codingdojo is proud to announce that we are opening a + pizza kitchen inside our mountain view location! Head chef Michael "spumoni" Choi has lots of delicious family recipes + to share with our customers! Whether you like flat crust or deep dish so deep you can't cut through it, + the Codingdojo pizzeria has something you and all of your friends can agree on. Using only the + freshest ingredients the Bay area has to offer, the Codingdojo pie will be sure to debug your hunger! +
+
+
+ Click the button
+Click the button to hide me
+Here I am!
+Blinky
+Here I am!
+Bye bye
+Please ad the red class to me
+Am
+Am
+I
+Text
+A link to not google, but self
+textbox value will appear here
+The data stored in p is:
+
");
+ $("#content").append(img);
+ img.click(function() {
+ var originalSrc = $(this).attr('src');
+ $(this).attr('src', $(this).attr('data-alt-src'));
+ $(this).attr('data-alt-src', originalSrc);
+ });
+ }
+}); // end of $(document).ready(function() {
\ No newline at end of file
diff --git a/Rytis_George_Baltakys/Javascript/jQuery/ninjaToCat/style.css b/Rytis_George_Baltakys/Javascript/jQuery/ninjaToCat/style.css
new file mode 100644
index 0000000..5d83ead
--- /dev/null
+++ b/Rytis_George_Baltakys/Javascript/jQuery/ninjaToCat/style.css
@@ -0,0 +1,23 @@
+/*CSS reset settings here*/
+* {
+ margin: 0px;
+ padding: 0px;
+ border: 0px solid red;
+}
+
+body {
+ background: linear-gradient(to bottom, #7675c8, #b6c8d9);
+ color: white;
+ font-family: sans-serif;
+ font-size: 16px;
+ margin: 100px;
+ height: 1000px;
+}
+
+h1 {
+ margin: 100px 0;
+}
+
+img {
+ display: block;
+}
\ No newline at end of file
diff --git a/Rytis_George_Baltakys/Javascript/jQuery/pokedex/index.html b/Rytis_George_Baltakys/Javascript/jQuery/pokedex/index.html
new file mode 100644
index 0000000..5033971
--- /dev/null
+++ b/Rytis_George_Baltakys/Javascript/jQuery/pokedex/index.html
@@ -0,0 +1,20 @@
+
+
+
+
+
`);
+ pokemon.hover(function() { // mouse over
+ var pokeId = $(this).attr('id') - 1;
+ if (pokemonData != undefined) { // don't run this until we receive our pokemon data result
+ var floatyDiv = $(`#floatyPokemon${$(this).attr('id')}`);
+ if (floatyDiv.length) { // if floatyDiv already exists, show it
+ floatyDiv.show();
+ } else { // else get new data
+ var floatyDiv = `
`);
+ }
+
+}); // end of $(document).ready(function() {
\ No newline at end of file
diff --git a/Rytis_George_Baltakys/Javascript/jQuery/pokemon/style.css b/Rytis_George_Baltakys/Javascript/jQuery/pokemon/style.css
new file mode 100644
index 0000000..2e4dcc6
--- /dev/null
+++ b/Rytis_George_Baltakys/Javascript/jQuery/pokemon/style.css
@@ -0,0 +1,17 @@
+/*CSS reset settings here*/
+* {
+ margin: 0px;
+ padding: 0px;
+}
+
+html {
+ height: 100%;
+}
+
+body {
+ background: linear-gradient(to bottom, #7675c8, #b6c8d9);
+ color: white;
+ font-family: sans-serif;
+ font-size: 16px;
+ margin: 20px;
+}
diff --git a/Rytis_George_Baltakys/Javascript/jQuery/users/index.html b/Rytis_George_Baltakys/Javascript/jQuery/users/index.html
new file mode 100644
index 0000000..a8b1039
--- /dev/null
+++ b/Rytis_George_Baltakys/Javascript/jQuery/users/index.html
@@ -0,0 +1,30 @@
+
+
+
+ | First Name | Last Name | Email Address | Contact # | +
|---|
");
+ $("#content").append(img);
+ img.click(function() {
+ var originalSrc = $(this).attr('src');
+ $(this).attr('src', $(this).attr('data-alt-src'));
+ $(this).attr('data-alt-src', originalSrc);
+ });
+ }
+}); // end of $(document).ready(function() {
\ No newline at end of file
diff --git a/Rytis_George_Baltakys/Javascript/jQuery/ninjaToCat/style.css b/Rytis_George_Baltakys/Javascript/jQuery/ninjaToCat/style.css
new file mode 100644
index 0000000..5d83ead
--- /dev/null
+++ b/Rytis_George_Baltakys/Javascript/jQuery/ninjaToCat/style.css
@@ -0,0 +1,23 @@
+/*CSS reset settings here*/
+* {
+ margin: 0px;
+ padding: 0px;
+ border: 0px solid red;
+}
+
+body {
+ background: linear-gradient(to bottom, #7675c8, #b6c8d9);
+ color: white;
+ font-family: sans-serif;
+ font-size: 16px;
+ margin: 100px;
+ height: 1000px;
+}
+
+h1 {
+ margin: 100px 0;
+}
+
+img {
+ display: block;
+}
\ No newline at end of file
diff --git a/Rytis_George_Baltakys/Javascript/jQuery/pokedex/index.html b/Rytis_George_Baltakys/Javascript/jQuery/pokedex/index.html
new file mode 100644
index 0000000..5033971
--- /dev/null
+++ b/Rytis_George_Baltakys/Javascript/jQuery/pokedex/index.html
@@ -0,0 +1,20 @@
+
+
+
+