aboutsummaryrefslogtreecommitdiff
path: root/Web design
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2020-10-24 15:36:46 +0300
committerSyndamia <kamen.d.mladenov@protonmail.com>2020-10-24 15:36:46 +0300
commit2d9481dd9772008f0b402b6d1379b1165b7c7e28 (patch)
tree3fce5495b97b0bac76ea8a2f5f1e8ccf253659b4 /Web design
parentbd760b5c51351e787297ceb54422beb8ce00a1ec (diff)
downloadSelf-learning-2d9481dd9772008f0b402b6d1379b1165b7c7e28.tar
Self-learning-2d9481dd9772008f0b402b6d1379b1165b7c7e28.tar.gz
Self-learning-2d9481dd9772008f0b402b6d1379b1165b7c7e28.zip
Modified php, javascript and html file tree
Diffstat (limited to 'Web design')
-rw-r--r--Web design/Javascript/FileRead/index.html13
-rw-r--r--Web design/Javascript/FileRead/script.js3
-rw-r--r--Web design/Javascript/FileRead/stuff.html5
-rw-r--r--Web design/Only HTML (html learning)/How I learned basic/LearnHTML.webpbin52894 -> 0 bytes
-rw-r--r--Web design/Only HTML (html learning)/How I learned basic/LearnMoreHTML.webpbin113630 -> 0 bytes
-rw-r--r--Web design/Only HTML (html learning)/How I learned basic/New Text Document.html51
-rw-r--r--Web design/Only HTML (html learning)/Testing stuff/New Text Document.html108
-rw-r--r--Web design/PHP/Test/calc.php17
-rw-r--r--Web design/PHP/Test/footer.html1
-rw-r--r--Web design/PHP/Test/header.php3
-rw-r--r--Web design/PHP/Test/index.php155
-rw-r--r--Web design/PHP/Test/process.php13
12 files changed, 0 insertions, 369 deletions
diff --git a/Web design/Javascript/FileRead/index.html b/Web design/Javascript/FileRead/index.html
deleted file mode 100644
index 81c5531..0000000
--- a/Web design/Javascript/FileRead/index.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html lang="en" dir="ltr">
- <head>
- <meta charset="utf-8">
- <title></title>
- </head>
- <body>
- <div id="content">
-
- </div>
- </body>
- <script type="text/javascript" src="script.js"></script>
-</html>
diff --git a/Web design/Javascript/FileRead/script.js b/Web design/Javascript/FileRead/script.js
deleted file mode 100644
index 934b00a..0000000
--- a/Web design/Javascript/FileRead/script.js
+++ /dev/null
@@ -1,3 +0,0 @@
-const content = document.getElementById('content');
-
-content.innerHTML = stuff.html;
diff --git a/Web design/Javascript/FileRead/stuff.html b/Web design/Javascript/FileRead/stuff.html
deleted file mode 100644
index 8130563..0000000
--- a/Web design/Javascript/FileRead/stuff.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<div id="all">
- <p>
- Hello there!
- </p>
-</div>
diff --git a/Web design/Only HTML (html learning)/How I learned basic/LearnHTML.webp b/Web design/Only HTML (html learning)/How I learned basic/LearnHTML.webp
deleted file mode 100644
index b2db05e..0000000
--- a/Web design/Only HTML (html learning)/How I learned basic/LearnHTML.webp
+++ /dev/null
Binary files differ
diff --git a/Web design/Only HTML (html learning)/How I learned basic/LearnMoreHTML.webp b/Web design/Only HTML (html learning)/How I learned basic/LearnMoreHTML.webp
deleted file mode 100644
index a8d455b..0000000
--- a/Web design/Only HTML (html learning)/How I learned basic/LearnMoreHTML.webp
+++ /dev/null
Binary files differ
diff --git a/Web design/Only HTML (html learning)/How I learned basic/New Text Document.html b/Web design/Only HTML (html learning)/How I learned basic/New Text Document.html
deleted file mode 100644
index aaf40e1..0000000
--- a/Web design/Only HTML (html learning)/How I learned basic/New Text Document.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <Title>Basic HTML</Title>
- </head>
-
- <body>
- <h1>How I learned basic HTML in 30 min</h1>
- <hr />
-
- <p>HTML is a very different language than C# or Java, but it is still very very useful.
- Thanks to YouTube I learned not only how to code this page, but
- </p>
-
- <ul>
- <li>also</li>
- <li>to</li>
- <li>make</li>
- <li>bullet points</li>
- </ul>
-
- <p>and to also</p>
-
- <ol>
- <li>make</li>
- <li>ordered</li>
- <li>lists</li>
- </ol>
- <hr />
-
- <p>Well there are other things I learned too, but you should take a look at the videos (click on images)</p>
-
- <a href="https://www.youtube.com/watch?v=bWPMSSsVdPk">
- <img src="LearnHTML.webp" alt="Learn HTML in 12 minutes"/>
- </a>
-
- <a href="https://www.youtube.com/watch?v=KJ13lX20FqU" >
- <img src="LearnMoreHTML.webp" alt="Learn more HTML in 12 minutes">
- </a>
-
- <p>*This is a test/exercise of my abilities</p>
-
- <hr />
-
- <h2>Entry number 17</h2>
- <h3>Dark Darker Yet Darker</h3>
- <h4>The Darkness Keeps Growing</h4>
- <h5>The Shadows Cutting Deeper</h5>
- <h6>Photon Readings Negative</h6>
- </body>
-</html> \ No newline at end of file
diff --git a/Web design/Only HTML (html learning)/Testing stuff/New Text Document.html b/Web design/Only HTML (html learning)/Testing stuff/New Text Document.html
deleted file mode 100644
index da74dff..0000000
--- a/Web design/Only HTML (html learning)/Testing stuff/New Text Document.html
+++ /dev/null
@@ -1,108 +0,0 @@
-
-<html>
- <head>
- <title>Test</title>
- </head>
-
- <body align="center" background="https://d2v9y0dukr6mq2.cloudfront.net/video/thumbnail/itCjTBE/videoblocks-grey-and-white-tech-geometric-motion-background-video-seamless-looping-animation-ultra-hd-4k-3840x2160_rlto8zupg_thumbnail-full01.png">
-
- <h1 ><big><ins>Testing some stuff</ins></big></h1>
- <hr width="400px" />
-
- <a href="https://fegbg61457-my.sharepoint.com/personal/mincheva_a_feg_bg/_layouts/15/onedrive.aspx?CT=1549650795401&OR=OWA-NT&CID=bed3bc62-87ae-49ae-a0fb-3278af7e3ef5&FolderCTID=0x012000406AF41295008E4EAC10C49FC27231AC&id=%2Fpersonal%2Fmincheva_a_feg_bg%2FDocuments%2F10%20klas%20-%202018%2F%D0%98%D0%A2%2FPregovor%2FExcel-uslovia%2Epdf&parent=%2Fpersonal%2Fmincheva_a_feg_bg%2FDocuments%2F10%20klas%20-%202018%2F%D0%98%D0%A2%2FPregovor">
- <p><i>I remade tables from here</i></p>
- </a>
-
- <!-- <td></td> -->
- <table border="1" align="center" id="Price List Table">
- <tr>
- <td colspan="3" >ЦЕНОРАЗПИС</td>
- </tr>
-
- <tr>
- <td>1 кг.</td>
- <td>захар</td>
- <td>1.72 лв.</td>
- </tr>
-
- <tr >
- <td>1 кг.</td>
- <td>сол</td>
- <td>0.65 лв.</td>
- </tr>
-
- <tr>
- <td>1 кг.</td>
- <td>брашно</td>
- <td>1.42 лв.</td>
- </tr>
-
- <tr>
- <td>1 литър</td>
- <td>олио</td>
- <td>1.85 лв.</td>
- </tr>
- </table>
-
- <br />
-
- <table border="5" align="center" id="BoughtTable">
- <tr>
- <td colspan="3">ЗАКУПЕНИ СТОКИ</td>
- </tr>
-
- <tr>
- <td>количество</td>
- <td>стока</td>
- <td>стойност</td>
- </tr>
-
- <tr>
- <td>300</td>
- <td bgcolor="brown"> </td>
- <td bgcolor="brown"> </td>
- </tr>
-
- <tr>
- <td>100</td>
- <td bgcolor="brown"> </td>
- <td bgcolor="brown"> </td>
- </tr>
-
- <tr>
- <td>1000</td>
- <td bgcolor="brown"></td>
- <td bgcolor="brown"></td>
- </tr>
-
- <tr>
- <td>100</td>
- <td bgcolor="brown"> </td>
- <td bgcolor="brown"> </td>
- </tr>
-
- <tr>
- <td> </td>
- <td>ДЪЛЖИТЕ:</td>
- <td bgcolor="brown"> </td>
- </tr>
- </table>
-
- <br />
- <hr width="50%" />
- <br />
-
- <!-- <input /> -->
- <form method="GET" action="#">
- <input name="Username" type="Text"/>
- <input name="Password" type="Password"/> <br />
- <input value="yes" type="radio"/> Yes
- <input value="no" type="radio"/> No <br />
- <input name="Submit" type="Submit"/>
- </form>
-
- <frameset bgcolor="red"></frameset>
-
- <p>Made on 22 February 2019</p>
- </body>
-</html> \ No newline at end of file
diff --git a/Web design/PHP/Test/calc.php b/Web design/PHP/Test/calc.php
deleted file mode 100644
index c2728d9..0000000
--- a/Web design/PHP/Test/calc.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<!DOCTYPE html>
-<html lang="" dir="ltr">
- <head>
- <meta charset="utf-8">
- <title></title>
- </head>
- <body>
- <?php
- if ($_POST["one"]) {
- echo 1;
- }
- elseif ($_POST["two"]) {
- echo 2;
- }
- ?>
- </body>
-</html>
diff --git a/Web design/PHP/Test/footer.html b/Web design/PHP/Test/footer.html
deleted file mode 100644
index 9d5e5c6..0000000
--- a/Web design/PHP/Test/footer.html
+++ /dev/null
@@ -1 +0,0 @@
-<p>Subscribe</p>
diff --git a/Web design/PHP/Test/header.php b/Web design/PHP/Test/header.php
deleted file mode 100644
index 73c6301..0000000
--- a/Web design/PHP/Test/header.php
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
- echo "Subscribe to $name";
-?>
diff --git a/Web design/PHP/Test/index.php b/Web design/PHP/Test/index.php
deleted file mode 100644
index 00e4125..0000000
--- a/Web design/PHP/Test/index.php
+++ /dev/null
@@ -1,155 +0,0 @@
-<!DOCTYPE html>
-<html lang="en" dir="ltr">
- <head>
- <meta charset="utf-8">
- <title></title>
- </head>
- <body>
- <?php
- $name = "John";
- include "header.php";
- ?>
- <br>
- <?php
- $loggedin = false;
-
- if ($loggedin) {
- echo "Hello";
- }
- else {
- echo "Please log in";
- }
- ?>
-
- <form class="" action="process.php" method="post">
- Enter your name: <input type="text" name="name" value="">
- <input type="submit" name="" value="Submit">
- </form>
-
- <?php
- function doStuff($workers) {
- echo "First worker: " . strtolower($workers[0]) . strlen($workers[0]) . " " . strtoupper($workers[1]) . $workers[0][0] . " <br>";
- echo str_replace("Jo", "Mo", $workers[0]) . "<br>";
- echo substr($workers[0], 1, 1) . "<br>";
- }
-
- $staff = array("John", "Bob");
- doStuff($staff);
-
- foreach ($workers as $person) {
- echo $person . ", ";
- }
- ?>
-
- <br>
-
- <?php
- $numbers = array(1, 2, 3, 4);
- $sum = 0;
-
- foreach($numbers as $num) {
- $sum += $num;
- }
- echo $sum . "<br>";
-
- $num = 0;
- echo $num++;
- echo $num;
-
- $num = 0;
- echo ++$num;
- ?>
-
- <br>
-
- <h2>Calculator</h2>
-
- <form class="" action="calc.php" method="post">
- <label for=""></label>
- <br>
- <input type="submit" name="one" value="1">
- <input type="submit" name="two" value="2">
- <input type="submit" name="three" value="3">
- <br>
- <input type="button" name="four" value="4">
- <input type="button" name="five" value="5">
- <input type="button" name="six" value="6">
- <br>
- <input type="button" name="seven" value="7">
- <input type="button" name="eight" value="8">
- <input type="button" name="nine" value="9">
- <br>
- <input type="button" name="zero" value="0">
- <br>
- <input type="button" name="add" value="+">
- <input type="button" name="sub" value="-">
- <input type="button" name="mlt" value="*">
- <input type="button" name="div" value="/">
-
- </form>
-
- <br>
-
- <form class="" action="index.php" method="post">
- Blue: <input type="checkbox" name="colors[]" value="blue"> <br>
- Red: <input type="checkbox" name="colors[]" value="red"> <br>
- Yellow: <input type="checkbox" name="colors[]" value="yellow"> <br>
- <input type="submit" name="" value="Submit">
- </form>
-
- <?php
- // comment
- foreach($_POST["colors"] as $color) {
- echo $color . " ";
- }
- ?>
-
- <br>
-
- <?php
- $ages = array("John" => 31, "Alex" => 20);
-
- echo $ages["John"] . $ages["Alex"];
- ?>
-
- <br>
-
- <?php
- class Person {
- public $name;
- private $age;
-
- function __construct($personName, $personAge) {
- $this->name = $personName;
- $this->setAge($personAge);
- }
-
- function setAge($age) {
- if ($age < 0 || $age > 200) {
- throw new Exception("Invalid age!", 1);
- }
- $this->age = $age;
- }
-
- function getAge() {
- return $this->age;
- }
- }
-
- class Worker extends Person {
-
- }
-
- $max = new Worker("Alex", 34);
-
- //$max->name = "Max";
- //$max->age = 22;
-
- echo $max->name, $max->getAge();
- ?>
-
- <?php
- include "footer.html";
- ?>
- </body>
-</html>
diff --git a/Web design/PHP/Test/process.php b/Web design/PHP/Test/process.php
deleted file mode 100644
index 796b517..0000000
--- a/Web design/PHP/Test/process.php
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html lang="en" dir="ltr">
- <head>
- <meta charset="utf-8">
- <title></title>
- </head>
- <body>
- <?php
- $name = $_POST["name"];
- echo "Hello " . $name;
- ?>
- </body>
-</html>