From ea302dcf74a7b5bf7ca1cafecd30d3d81be901a2 Mon Sep 17 00:00:00 2001 From: Amirhossein Date: Thu, 31 Dec 2020 15:41:16 +0330 Subject: [PATCH 1/3] wierd commit! --- .../homework/js-exercises/dogGallery.js | 0 .../homework/js-exercises/getandomUser.js | 0 .../homework/js-exercises/humor.js | 0 .../homework/js-exercises/index.html | 0 .../homework/js-exercises/doubleDigit.js | 11 ++ .../homework/js-exercises/johnWho.js | 25 +++-- .../pokemon-app/.vscode/settings.json | 3 + .../homework/pokemon-app/index.html | 15 +++ .../homework/pokemon-app/script.js | 49 +++++++++ hackyourrepo-app/hyf.png | Bin 9116 -> 0 bytes hackyourrepo-app/index.html | 87 ---------------- hackyourrepo-app/script.js | 26 ----- hackyourrepo-app/style.css | 96 ------------------ 13 files changed, 93 insertions(+), 219 deletions(-) rename Week1/{ => AmirHossein}/homework/js-exercises/dogGallery.js (100%) rename Week1/{ => AmirHossein}/homework/js-exercises/getandomUser.js (100%) rename Week1/{ => AmirHossein}/homework/js-exercises/humor.js (100%) rename Week1/{ => AmirHossein}/homework/js-exercises/index.html (100%) create mode 100644 Week2/AmirHossein/homework/js-exercises/doubleDigit.js create mode 100644 Week2/AmirHossein/homework/pokemon-app/.vscode/settings.json create mode 100644 Week2/AmirHossein/homework/pokemon-app/index.html create mode 100644 Week2/AmirHossein/homework/pokemon-app/script.js delete mode 100755 hackyourrepo-app/hyf.png delete mode 100755 hackyourrepo-app/index.html delete mode 100755 hackyourrepo-app/script.js delete mode 100755 hackyourrepo-app/style.css diff --git a/Week1/homework/js-exercises/dogGallery.js b/Week1/AmirHossein/homework/js-exercises/dogGallery.js similarity index 100% rename from Week1/homework/js-exercises/dogGallery.js rename to Week1/AmirHossein/homework/js-exercises/dogGallery.js diff --git a/Week1/homework/js-exercises/getandomUser.js b/Week1/AmirHossein/homework/js-exercises/getandomUser.js similarity index 100% rename from Week1/homework/js-exercises/getandomUser.js rename to Week1/AmirHossein/homework/js-exercises/getandomUser.js diff --git a/Week1/homework/js-exercises/humor.js b/Week1/AmirHossein/homework/js-exercises/humor.js similarity index 100% rename from Week1/homework/js-exercises/humor.js rename to Week1/AmirHossein/homework/js-exercises/humor.js diff --git a/Week1/homework/js-exercises/index.html b/Week1/AmirHossein/homework/js-exercises/index.html similarity index 100% rename from Week1/homework/js-exercises/index.html rename to Week1/AmirHossein/homework/js-exercises/index.html diff --git a/Week2/AmirHossein/homework/js-exercises/doubleDigit.js b/Week2/AmirHossein/homework/js-exercises/doubleDigit.js new file mode 100644 index 000000000..2a975f4f2 --- /dev/null +++ b/Week2/AmirHossein/homework/js-exercises/doubleDigit.js @@ -0,0 +1,11 @@ +function checkDoubleDigits(number) { + return new Promise((resolve, reject) => { + if(number > 10) { + resolve('The number is bigger than 10!'); + } else { + reject('Error! The number is smaller than 10'); + }; + }); + +} +checkDoubleDigits(30).then(response => console.log(response)); \ No newline at end of file diff --git a/Week2/AmirHossein/homework/js-exercises/johnWho.js b/Week2/AmirHossein/homework/js-exercises/johnWho.js index a99b02cf4..90d5ca82a 100644 --- a/Week2/AmirHossein/homework/js-exercises/johnWho.js +++ b/Week2/AmirHossein/homework/js-exercises/johnWho.js @@ -1,16 +1,21 @@ const getAnonName = (firstName) => { return new Promise((resolve, reject) => { - const fullName = `${firstName} Doe` - resolve(fullName) - console.log(fullName) - - - - reject(new Error("You didn't pass in a first name!")) + const fullName = `${firstName} Doe`; + if(firstName) { + resolve(fullName); + } else { + reject(new Error("You didn't pass in a first name!")); + } + }); +}; + getAnonName('Masood') + .then(response => { + console.log(response) + }) + .catch(error => { + console.log(error) + }) - }) -}; -getAnonName() \ No newline at end of file diff --git a/Week2/AmirHossein/homework/pokemon-app/.vscode/settings.json b/Week2/AmirHossein/homework/pokemon-app/.vscode/settings.json new file mode 100644 index 000000000..6f3a2913e --- /dev/null +++ b/Week2/AmirHossein/homework/pokemon-app/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "liveServer.settings.port": 5501 +} \ No newline at end of file diff --git a/Week2/AmirHossein/homework/pokemon-app/index.html b/Week2/AmirHossein/homework/pokemon-app/index.html new file mode 100644 index 000000000..b4614f847 --- /dev/null +++ b/Week2/AmirHossein/homework/pokemon-app/index.html @@ -0,0 +1,15 @@ + + + + + + Pokemon-app + + + + + + + \ No newline at end of file diff --git a/Week2/AmirHossein/homework/pokemon-app/script.js b/Week2/AmirHossein/homework/pokemon-app/script.js new file mode 100644 index 000000000..fc5382c91 --- /dev/null +++ b/Week2/AmirHossein/homework/pokemon-app/script.js @@ -0,0 +1,49 @@ +window.onload = main; +function main() { + const url = 'https://pokeapi.co/api/v2/pokemon/?limit=20&offset=20' + const btn = document.createElement('button'); + btn.innerHTML = 'Get Pokemon!' + document.body.appendChild(btn); + const select = document.createElement('select'); + document.body.appendChild(select); + btn.addEventListener('click', () => [ + fetchData(url, select) + ]); +} + +function addPokemonToDOM(data, select) { + data.results.forEach(element => { + const option = document.createElement('option'); + option.innerHTML = element.name; + option.value = element.name; + select.appendChild(option); + + }); + let image = document.createElement('img'); + select.addEventListener('input', () => { + data.results.forEach(element => { + if(select.value == element.name) { + const pokUrl = element.url; + image.src = '' + fetch(pokUrl) + .then(response => response.json()) + .then(data => { + image.src = data.sprites.front_default; + document.body.appendChild(image); + }) + .catch(error => console.log(error)) + } + + + }) + } ) +} + +function fetchData(url, select) { + fetch(url) + .then(res => res.json()) + .then(data => addPokemonToDOM(data, select)) + .catch(error => console.log(error)); + +} + diff --git a/hackyourrepo-app/hyf.png b/hackyourrepo-app/hyf.png deleted file mode 100755 index 76bc5a13b4a53ea97a6c09ca5fe399f40ab20e4e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9116 zcmeHtS2$eX+jc@C5+Oyj5&RNCq7y^(h!&k-MkhpPMDIidiJFKKjNa=IMmHp)j?Roa zMDL>;#*BIA_Z@ui>G!@z-@*U7);`$l+IwGX-}`yibKlRszvybK(%u5xx^m?Tt=em) zH&?D){rc}gO+lWygUQXfa)r}IO-aGP54wZ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DbZL%_xQ_9^gZ76TGt3b#}3 ztF)6U3BashkO;*(0OP)IieF&uC(2k_N}uUB&-gBi`cXFIF38(Mv;adVfFHeX$@aqI z*etc`YFprS+|Kl`X=VSXWZNM^!Yxzodw?kSxtVpht@n6v`bfmez~*?04|a=VhRf=2 z4kXLMbplG3-kI?_F<+W~kl{z493d`GH&#l+cXxMJVw##IwbEZWjEAn{UPc=F{b?=2 zhOho>&xD8nZZ}a&JjF^((gX%dyDE{P+do}=%Qk}#bbzDb2_ORl^Oi&=Unwp*!IPtXNB-;Pikh;vQq?P~ GkN*WepL25n diff --git a/hackyourrepo-app/index.html b/hackyourrepo-app/index.html deleted file mode 100755 index c17533242..000000000 --- a/hackyourrepo-app/index.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - - - - - HackYourRepo - - - - -
- -
-
-
- - - - - - - - - - - - - - - - - - -
Repositories:SampleRepo1
Description: Lorem ipsum dolor sit amet consectetur, adipisicing elit. Voluptatum, iure ipsum? Consequatur sequi esse veritatis in exercitationem quos repellat doloribus earum tempora cumque!
Forks: 5
Update: 2020-05-27 12:00:00
-
- -
-
-
Contributors
-
- - isalga -
9
-
-
- - isalga -
9
-
- -
-
-
- - - - - - - diff --git a/hackyourrepo-app/script.js b/hackyourrepo-app/script.js deleted file mode 100755 index 705924282..000000000 --- a/hackyourrepo-app/script.js +++ /dev/null @@ -1,26 +0,0 @@ -"use strict"; - -/* - Write here your JavaScript for HackYourRepo! -*/ -const placeholderRepos = [ - { - name: 'SampleRepo1', - description: 'This repository is meant to be a sample', - forks: 5, - updated: '2020-05-27 12:00:00', - }, - { - name: 'AndAnotherOne', - description: 'Another sample repo! Can you believe it?', - forks: 9, - updated: '2020-05-27 12:00:00', - }, - { - name: 'HYF-Is-The-Best', - description: - "This repository contains all things HackYourFuture. That's because HYF is amazing!!!!", - forks: 130, - updated: '2020-05-27 12:00:00', - }, -]; \ No newline at end of file diff --git a/hackyourrepo-app/style.css b/hackyourrepo-app/style.css deleted file mode 100755 index 64627fdfd..000000000 --- a/hackyourrepo-app/style.css +++ /dev/null @@ -1,96 +0,0 @@ -/* - Write here your CSS rules for HackYourRepo! -*/ -* { - margin: 0; - padding: 0; - box-sizing: border-box; - -} - -#header { - color: white; - height: 50px; - background-color: #3f51b5; - display: flex; - align-items: center; - padding: 20px; - -} -p { - margin-right: 30px; -} - -.container { - width: 80%; - margin: 0 auto; - - -} - -.bottom-box { - - display: flex; - flex-direction: row; - height: auto; -} - -#left-side { - margin-top: 10px; - width: 50%; - -} -.card { - margin-left: 5px; - margin-top: 5px; - box-shadow: - 0px 20px 30px 0px rgba(0, 0, 0, 0.05), - 0px 4px 4px 0 rgba(0, 0, 0, .15), - 1px 2px 2px 0 rgba(0, 0, 0, .2); - font-size: 2vmin; -} -.card .col-right { - padding-left: 30px; - padding-right: 25px; - -} -.col-left { - - padding: 5px 0 0 5px; -} -#right-side { - - width: 50%; -} - -#contributor { - margin-top: 10px; - margin-left:0.4rem; - color: darkgray; - box-shadow: none; - padding-top: 1rem; - padding-left: 0.3rem; - border: 1px solid rgba(0, 0, 0, 0.12); - border-bottom: none; - height: 3em; -} -.small-card { - display: flex; - justify-content: flex-start; - align-items: center; - margin: 0.4rem; -} -img { - margin: 1rem; -} - - -.badge { - margin-left: auto; - background-color: #a9a9a9; - color: white; - border-radius: 4px; - margin-right: 1rem; - margin-top: 1.3rem; - padding: 0.1rem 0.8rem; -} From a481100bf23b5a6a6f3e659ec13707cc26bd2a5f Mon Sep 17 00:00:00 2001 From: Amirhossein Date: Sun, 4 Jul 2021 13:25:04 +0430 Subject: [PATCH 2/3] some new folder made --- .../js-exercises/{ => Humer}/humor.js | 0 .../js-exercises/{ => Humer}/index.html | 0 .../{ => RandomUser}/getandomUser.js | 0 .../{ => dogGallery}/dogGallery.js | 0 .../js-exercises/dogGallery/index.html | 20 +++++++++++++++++++ 5 files changed, 20 insertions(+) rename Week1/AmirHossein/homework/js-exercises/{ => Humer}/humor.js (100%) rename Week1/AmirHossein/homework/js-exercises/{ => Humer}/index.html (100%) rename Week1/AmirHossein/homework/js-exercises/{ => RandomUser}/getandomUser.js (100%) rename Week1/AmirHossein/homework/js-exercises/{ => dogGallery}/dogGallery.js (100%) create mode 100644 Week1/AmirHossein/homework/js-exercises/dogGallery/index.html diff --git a/Week1/AmirHossein/homework/js-exercises/humor.js b/Week1/AmirHossein/homework/js-exercises/Humer/humor.js similarity index 100% rename from Week1/AmirHossein/homework/js-exercises/humor.js rename to Week1/AmirHossein/homework/js-exercises/Humer/humor.js diff --git a/Week1/AmirHossein/homework/js-exercises/index.html b/Week1/AmirHossein/homework/js-exercises/Humer/index.html similarity index 100% rename from Week1/AmirHossein/homework/js-exercises/index.html rename to Week1/AmirHossein/homework/js-exercises/Humer/index.html diff --git a/Week1/AmirHossein/homework/js-exercises/getandomUser.js b/Week1/AmirHossein/homework/js-exercises/RandomUser/getandomUser.js similarity index 100% rename from Week1/AmirHossein/homework/js-exercises/getandomUser.js rename to Week1/AmirHossein/homework/js-exercises/RandomUser/getandomUser.js diff --git a/Week1/AmirHossein/homework/js-exercises/dogGallery.js b/Week1/AmirHossein/homework/js-exercises/dogGallery/dogGallery.js similarity index 100% rename from Week1/AmirHossein/homework/js-exercises/dogGallery.js rename to Week1/AmirHossein/homework/js-exercises/dogGallery/dogGallery.js diff --git a/Week1/AmirHossein/homework/js-exercises/dogGallery/index.html b/Week1/AmirHossein/homework/js-exercises/dogGallery/index.html new file mode 100644 index 000000000..7337b551a --- /dev/null +++ b/Week1/AmirHossein/homework/js-exercises/dogGallery/index.html @@ -0,0 +1,20 @@ + + + + + + Dog Gallery + + +
+ + +
    + +
    + + + + + + \ No newline at end of file From fe578dd41b02ead974ff729250c017b3a16542a2 Mon Sep 17 00:00:00 2001 From: Amirhossein Date: Mon, 5 Jul 2021 13:23:01 +0430 Subject: [PATCH 3/3] Index2 removed --- hackyourrepo-app/AmirHossein/index2.html | 86 ------------------------ 1 file changed, 86 deletions(-) delete mode 100644 hackyourrepo-app/AmirHossein/index2.html diff --git a/hackyourrepo-app/AmirHossein/index2.html b/hackyourrepo-app/AmirHossein/index2.html deleted file mode 100644 index c1690d406..000000000 --- a/hackyourrepo-app/AmirHossein/index2.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - - - - - - HackYourRepo - - - - -
    - -
    -
    -
    - - - - - - - - - - - - - - - - - - -
    Repositories:SampleRepo1
    Description: Lorem ipsum dolor sit amet consectetur, adipisicing elit. Voluptatum, iure ipsum? Consequatur sequi esse veritatis in exercitationem quos repellat doloribus earum tempora cumque!
    Forks: 5
    Update: 2020-05-27 12:00:00
    -
    - -
    -
    -
    Contributors
    -
    - - isalga -
    9
    -
    -
    - - isalga -
    9
    -
    - -
    -
    -
    - - - - - - \ No newline at end of file