diff --git a/24_10_21/24_10_21 - Frontend.pptx b/24_10_21/24_10_21 - Frontend.pptx new file mode 100644 index 0000000..42e3225 Binary files /dev/null and b/24_10_21/24_10_21 - Frontend.pptx differ diff --git a/24_10_21/asd.mjs b/24_10_21/asd.mjs new file mode 100644 index 0000000..89611e1 --- /dev/null +++ b/24_10_21/asd.mjs @@ -0,0 +1,5 @@ +import * as Modul from "./koszontes.mjs"; + +console.log(Modul.duplaz(2)); + +console.log(Modul.koszontosDuplazas("Digi", 5)); \ No newline at end of file diff --git a/24_10_21/fetch_genyo.html b/24_10_21/fetch_genyo.html new file mode 100644 index 0000000..5207b75 --- /dev/null +++ b/24_10_21/fetch_genyo.html @@ -0,0 +1,77 @@ + + + + + + Document + + +
+ Cím:
+ Id:
+ Befejezett:
+
+ +
+ + + \ No newline at end of file diff --git a/24_10_21/fetching_images.html b/24_10_21/fetching_images.html new file mode 100644 index 0000000..bcbc336 --- /dev/null +++ b/24_10_21/fetching_images.html @@ -0,0 +1,63 @@ + + + + + + Document + + + +
+ +
+
+ +
+
+ +
+ + + + + \ No newline at end of file diff --git a/24_10_21/koszontes.mjs b/24_10_21/koszontes.mjs new file mode 100644 index 0000000..613dbc4 --- /dev/null +++ b/24_10_21/koszontes.mjs @@ -0,0 +1,9 @@ +function duplaz(num) { + return num * 2; +} + +function koszontosDuplazas(nev, szam){ + return `Szia ${nev}! A duplázott érték: ${2 * szam}`; +} + +export {koszontosDuplazas, duplaz}; \ No newline at end of file diff --git a/24_10_21/script.mjs b/24_10_21/script.mjs new file mode 100644 index 0000000..6bbae80 --- /dev/null +++ b/24_10_21/script.mjs @@ -0,0 +1,8 @@ +import * as Modul from './scripts.mjs'; +import {udvozles, valtozo} from "./scripts.mjs"; + +console.log(Modul.valtozo); + + + +udvozles(); diff --git a/24_10_21/scripts.mjs b/24_10_21/scripts.mjs new file mode 100644 index 0000000..9f5f911 --- /dev/null +++ b/24_10_21/scripts.mjs @@ -0,0 +1,6 @@ +function udvozlet(){ + console.log("Hello!"); +}; +let valtozo = 15; +let tomb = [1,2,3]; +export {udvozlet as udvozles, valtozo, tomb}; \ No newline at end of file