diff --git a/20241010/index.php b/20241010/index.php new file mode 100644 index 0000000..1727fe1 --- /dev/null +++ b/20241010/index.php @@ -0,0 +1,28 @@ + + + + + + Sütik + + + +
+ Név:
+ Jelszó:
+ +
+ + + \ No newline at end of file diff --git a/20241010/redirected.php b/20241010/redirected.php new file mode 100644 index 0000000..8bbe762 --- /dev/null +++ b/20241010/redirected.php @@ -0,0 +1,20 @@ +'; + } + + +?> + diff --git a/20241010/sosincsvege.js b/20241010/sosincsvege.js new file mode 100644 index 0000000..eab14a9 --- /dev/null +++ b/20241010/sosincsvege.js @@ -0,0 +1,12 @@ +let condition = false; + + +let myPromise = new Promise((resolve, reject) => { + if (condition){ + resolve("JÓÓÓ"); + } + + reject("szar"); +}); + +myPromise.then((good) => {console.log(good)}).catch((error) =>{console.log(error)}); \ No newline at end of file