From b7305d2c2bbefe53a643ecae1e16292b0774550e Mon Sep 17 00:00:00 2001 From: szabomarton Date: Fri, 8 Nov 2024 08:43:27 +0100 Subject: [PATCH] asd --- 24_11_08/Feladatok.docx | Bin 0 -> 18237 bytes 24_11_08/feladat1.html | 12 +++++++++ 24_11_08/feladat1.js | 27 +++++++++++++++++++ 24_11_08/feladat2.js | 56 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 95 insertions(+) create mode 100644 24_11_08/Feladatok.docx create mode 100644 24_11_08/feladat1.html create mode 100644 24_11_08/feladat1.js create mode 100644 24_11_08/feladat2.js diff --git a/24_11_08/Feladatok.docx b/24_11_08/Feladatok.docx new file mode 100644 index 0000000000000000000000000000000000000000..5f56a07ef3c6dd35c20e09655c8160d123fa1a70 GIT binary patch literal 18237 zcmeIaV|ZoTx-C4zN-C^WY}>YNR&3j@q+;8)ZQHhOqhcpFYvZiF*V*@e&-eSBF`qf+ zn4`b#9co=~Z+*y0fPf+bzyS~d000j_A8oB{1Ox!&g8=~F0T96I0@hXzhE@*Rimo<> z_L|f#mKL}TBa-%%ZqzdzYNfb zx8rCx_=cIiEEwC`(IlCHXbI|jW5yM}%B1C{`68)20wT!cBYzOG51_&EdxoO@e$l%0 zmbgS{iYr|4h514w8|*K(e466PLii23=B(MYtX7gBmyt^6J zMFb`cN3w`w5X7kkt|g@i$w2?xY-`nAzcM#@MVp3-JaVBWtj%-D41$`+IdV>-m#DLq z)bx+CDXYm}alKS$i1=hQa5HMo{5mVBU8CO_JJzqF5Fjgns_ZWWRl09)%n&=rIQYm% z(u0bF#(&2*_0F0aO%b4n^3ej_H5!|@t@sE+!5AL}?4jFB{l5UTc7l~u;mT&ml zV-Sl#mVdSy1oC_`>*E6iAp39G6FVBc@$xf8`ZM=IeP&N>J3|Y58tOmR|C=rU2j|6q zx%9G_?$2xq&3ozl<~!Xkx6+N8D@~(6wTim@1wvg+^84zN+2Z>f=h70e=CQ8G=*(>F zl$(8;u;W&o=5O=_C76(Q$b~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zJZaFjdWO9{^bT#>BaHASzntj^nY(-)q9l4Ej!6Q6oY;^H5Q&;2RJlAmSzQh^fGM=? z0J3Kv?Rz*oZg=sIEO`cAIw>Jo|6{o$H~db(z#G8!3vKqfewSgVqHDtTnfEW5^ov6>ld>ar;)_#d+|_hSypq{7FWoMCl(_2O-tg`-m)}eITJ0=f(MxJ%CDo&2$Mm2X zl{C;_($0foK_rX?Q ztxXh?!o1lWfqS27kH6U>M&NJ$DsSXG=J|RM2=iXf`kKE4Stp$SzIcoApGwf!uOBzg zpR67EWG(!^vR2o|=8y98e@Xkv*v}&x$z7Ds`sB!4YG&j2c_+ppP9)Td zQDUyvNX@@EI4k!qo_HZEm^luHsf zF}I1$pv_bF^aP*WV84~q6%Fd~lUf-#S_lJM)+6aj8wen-ze^9Adk$D``GH_v_VaQ| zuwkqwZJREqxGJSNnidOnG4N4)W@JQ5+l5Rf;*m9OiH!>XdeBn=1OtfF60t=Q>$)Fl zTmQ>sPIniL7YtaNnl_kc@_ttUf>Zf#eqr%Q8s+7$OQ2rnhjlUd@>Q>VV%EOp`q#I` z%*T*kQjq{QQrQl7BpFT+X3K3YH2Eq*DgmLDHj_3R%Pm(Lo3pGa{@sYN8?_^^E>FPH z@&u&7Pm8jkOR6(XQ|o8ijvt=B-%~5e8~nf5Od39|{x$#w%T|f@mFtD*!g~8w`2uCK z$f)9x`NVNV@DnYASbOg#tYdPlgN~lN1MU64R9Zm5RG)3g|NNeizdxEk*Z<+IA+i$x z?%?0wWbh{x0Lc8*(f`YP4gL!J>lE)lp`D*fjQ=*_`>*hSSL^=?1^^g7RoDM7?fzdq z{Z+92r!O~@|BHP4uP*+ocKg$X7xq5~0{^9{{#W>4 + + + + + Fetch api + + +
+ + + \ No newline at end of file diff --git a/24_11_08/feladat1.js b/24_11_08/feladat1.js new file mode 100644 index 0000000..6c3e554 --- /dev/null +++ b/24_11_08/feladat1.js @@ -0,0 +1,27 @@ +let url = "https://jsonplaceholder.typicode.com/photos"; + +async function fetchAdatok(apiUrl){ + try{ + let response = await fetch(apiUrl); + let data = await response.json(); + + data.forEach(element => { + console.log(element); + JsonElementToDomElement(element); + }); + } catch (error){ + console.log(error); + alert("Hiba Történt!"); + } +} + +fetchAdatok(url); + +let mainDomElement = document.getElementById("appendHere"); + +async function JsonElementToDomElement(element){ + let newDomElement = document.createElement("div"); + newDomElement.innerHTML = `${element.title}`; + newDomElement.innerHTML += ``; + mainDomElement.appendChild(newDomElement); +} \ No newline at end of file diff --git a/24_11_08/feladat2.js b/24_11_08/feladat2.js new file mode 100644 index 0000000..99ac6ab --- /dev/null +++ b/24_11_08/feladat2.js @@ -0,0 +1,56 @@ +let url = "https://jsonplaceholder.typicode.com/posts/"; + +async function fetchAdatok(apiUrl){ + try{ + let response = await fetch(apiUrl); + let data = await response.json(); + + data.forEach(element => { + //console.log(element); + //JsonElementToDomElement(element); + let bejegyzes = new Bejegyzes(element.id, element.title, element.body); + //console.log(bejegyzes); + console.log(bejegyzes.getRészletek()); + }); + } catch (error){ + console.log(error); + //alert("Hiba Történt!"); + } +} + +fetchAdatok(url); + +//let mainDomElement = document.getElementById("appendHere"); + +async function BejegyzesToDomElement(element){ + let newDomElement = document.createElement("div"); + newDomElement.innerHTML = `

${element.title}

`; + newDomElement.innerHTML += ``; + mainDomElement.appendChild(newDomElement); +} + +class Bejegyzes{ + constructor(id, title, body){ + this.id = id; + this.title = title; + this.body = body; + } + + getRészletek(){ + return `A post id-ja:${this.id}\nA post Címe:${this.title}\nA post tartalma:${this.body}\n`; + } +} + +class BejegyzesLista{ + static bejegyzesek = []; + + static hozzadBejegyzest(bejegyzes){ + BejegyzesLista.bejegyzesek.push(bejegyzes); + } + + static megjelenitBejegyzesek(){ + BejegyzesLista.bejegyzesek.forEach(element => { + + }); + } +} \ No newline at end of file