From 2102ff83b6803466100809f18fd23fbeca3d129e Mon Sep 17 00:00:00 2001 From: Sagar-Sharma-7 <6969sagarsharma@gmail.com> Date: Mon, 3 May 2021 06:31:30 +0530 Subject: [PATCH] First Commit --- .gitignore | 1 + api.txt | 1 + index.html | 45 ++++++ package-lock.json | 374 +++++++++++++++++++++++++++++++++++++++++++ package.json | 14 ++ public/css/style.css | 162 +++++++++++++++++++ public/img/logo.png | Bin 0 -> 20029 bytes public/js/main.js | 68 ++++++++ src/app.js | 11 ++ 9 files changed, 676 insertions(+) create mode 100644 .gitignore create mode 100644 api.txt create mode 100644 index.html create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 public/css/style.css create mode 100644 public/img/logo.png create mode 100644 public/js/main.js create mode 100644 src/app.js diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b512c09 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules \ No newline at end of file diff --git a/api.txt b/api.txt new file mode 100644 index 0000000..ce3a08e --- /dev/null +++ b/api.txt @@ -0,0 +1 @@ +https://www.dictionaryapi.com/api/v3/references/learners/json/test?key=9284d4a3-9817-41b9-969e-f83a87fca44a diff --git a/index.html b/index.html new file mode 100644 index 0000000..90eaef1 --- /dev/null +++ b/index.html @@ -0,0 +1,45 @@ + + + + + + + + + Dictionary + + + +
+ + + +
+

+

+ +
+

+
+
+
+
+

+
+
+
+

+
+
+

+
+
+
+ + + \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..e53b8f6 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,374 @@ +{ + "name": "dictionary", + "version": "1.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "accepts": { + "version": "1.3.7", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", + "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", + "requires": { + "mime-types": "~2.1.24", + "negotiator": "0.6.2" + } + }, + "array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" + }, + "body-parser": { + "version": "1.19.0", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", + "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", + "requires": { + "bytes": "3.1.0", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "~1.1.2", + "http-errors": "1.7.2", + "iconv-lite": "0.4.24", + "on-finished": "~2.3.0", + "qs": "6.7.0", + "raw-body": "2.4.0", + "type-is": "~1.6.17" + } + }, + "bytes": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", + "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==" + }, + "content-disposition": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", + "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", + "requires": { + "safe-buffer": "5.1.2" + } + }, + "content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" + }, + "cookie": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", + "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==" + }, + "cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" + }, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + }, + "depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" + }, + "destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" + }, + "ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" + }, + "encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" + }, + "escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" + }, + "etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" + }, + "express": { + "version": "4.17.1", + "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", + "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", + "requires": { + "accepts": "~1.3.7", + "array-flatten": "1.1.1", + "body-parser": "1.19.0", + "content-disposition": "0.5.3", + "content-type": "~1.0.4", + "cookie": "0.4.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "~1.1.2", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "~1.1.2", + "fresh": "0.5.2", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.5", + "qs": "6.7.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.1.2", + "send": "0.17.1", + "serve-static": "1.14.1", + "setprototypeof": "1.1.1", + "statuses": "~1.5.0", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + } + }, + "finalhandler": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", + "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", + "requires": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "statuses": "~1.5.0", + "unpipe": "~1.0.0" + } + }, + "forwarded": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", + "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=" + }, + "fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" + }, + "http-errors": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", + "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", + "requires": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.1", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.0" + } + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" + }, + "ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" + }, + "media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" + }, + "merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" + }, + "methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" + }, + "mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" + }, + "mime-db": { + "version": "1.47.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.47.0.tgz", + "integrity": "sha512-QBmA/G2y+IfeS4oktet3qRZ+P5kPhCKRXxXnQEudYqUaEioAU1/Lq2us3D/t1Jfo4hE9REQPrbB7K5sOczJVIw==" + }, + "mime-types": { + "version": "2.1.30", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.30.tgz", + "integrity": "sha512-crmjA4bLtR8m9qLpHvgxSChT+XoSlZi8J4n/aIdn3z92e/U47Z0V/yl+Wh9W046GgFVAmoNR/fmdbZYcSSIUeg==", + "requires": { + "mime-db": "1.47.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "negotiator": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", + "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==" + }, + "on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "requires": { + "ee-first": "1.1.1" + } + }, + "parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" + }, + "path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" + }, + "proxy-addr": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz", + "integrity": "sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==", + "requires": { + "forwarded": "~0.1.2", + "ipaddr.js": "1.9.1" + } + }, + "qs": { + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", + "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==" + }, + "range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" + }, + "raw-body": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", + "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", + "requires": { + "bytes": "3.1.0", + "http-errors": "1.7.2", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "send": { + "version": "0.17.1", + "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", + "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", + "requires": { + "debug": "2.6.9", + "depd": "~1.1.2", + "destroy": "~1.0.4", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "~1.7.2", + "mime": "1.6.0", + "ms": "2.1.1", + "on-finished": "~2.3.0", + "range-parser": "~1.2.1", + "statuses": "~1.5.0" + }, + "dependencies": { + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" + } + } + }, + "serve-static": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", + "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", + "requires": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.17.1" + } + }, + "setprototypeof": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", + "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" + }, + "statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" + }, + "toidentifier": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", + "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==" + }, + "type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "requires": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + } + }, + "unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" + }, + "utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" + }, + "vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..d42302d --- /dev/null +++ b/package.json @@ -0,0 +1,14 @@ +{ + "name": "dictionary", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "Sagar Sharma", + "license": "ISC", + "dependencies": { + "express": "^4.17.1" + } +} diff --git a/public/css/style.css b/public/css/style.css new file mode 100644 index 0000000..9c91900 --- /dev/null +++ b/public/css/style.css @@ -0,0 +1,162 @@ +@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=Handlee&display=swap'); + +*{ + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body{ + background-color: #7C40FF; + width: 100vw; + display: flex; + justify-content: center; + margin-top: 5vh; +} + +.container{ + background: rgba( 255, 255, 255, 0.15 ); + box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 ); + backdrop-filter: blur( 2.5px ); + -webkit-backdrop-filter: blur( 2.5px ); + border-radius: 10px; + border: 1px solid rgba( 255, 255, 255, 0.18 ); + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + width: 70vw; +} + +.searchBox{ + width: 70vw; + height: 15vh; + border-radius: 10px; + display: flex; + align-items: flex-end; + justify-content: center; + padding-bottom: 1.5vh; + background-color: #1e1e1e; +} + +#userWord{ + width: 50vw; + outline: none; + border: none; + background-color: transparent; + border-bottom: 1px solid #fff; + height: 5vh; + padding-left: 5vh; + border-radius: 0px 0px 0px 5px; + color: #fff; + font-family: 'Nunito', sans-serif; +} + +#search{ + width: 15vw; + outline: none; + border: none; + height: 5vh; + border-radius: 10px; + cursor: pointer; +} + +.contentBox{ + margin: 3vh 0vw; + width: 60vw; + border-radius: 10px; + background-color: #fff; + padding: 2vh 2vw; +} + +#word{ + font-size: 2rem; + margin-bottom: 0px; + font-weight: 800; + font-family: 'Nunito', sans-serif; +} + +#speech{ + color: grey; + font-family: 'Nunito', sans-serif; + margin-top: -8px; +} + +hr{ + margin: 1vh 0vw; +} + +#text{ + font-family: 'Nunito', sans-serif; + font-style: italic; +} +dl{ + font-family: 'Handlee', cursive; + font-weight: 600; +} +dd{ + margin-left: 3vw; + margin-bottom: 2vh; +} + +@media all and (max-width: 600px){ + body{ + margin: 0px 0px; + } + .container{ + width: 100vw; + height: 100vh; + justify-content: flex-start; + } + + .searchBox{ + width: 100vw; + border-radius: 0px; + margin-bottom: 1vh; + min-height: 100px; + } + + #userWord{ + width: 70vw; + } + + #search{ + width: 25vw; + height: 10vh; + } + + .contentBox{ + width: 100vw; + } + + p{ + font-size: 1.2rem; + } +} + +@media all and (max-height:500px){ + body{ + margin: 0px 0px; + } + .container{ + width: 100vw; + height: 100vw; + } + .searchBox{ + height: 90px; + width: 100vw; + border-radius: 0px; + } + #search{ + height: 50px; + width: 25vw; + } + #userWord{ + height: 50px; + width: 70vw; + } + .contentBox{ + width: 100vw; + } +} \ No newline at end of file diff --git a/public/img/logo.png b/public/img/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..c8d4dc1c9b3d384fd42f4672a070f753ef8636cc GIT binary patch literal 20029 zcmc({2UJsA*Df4DL=i=#*8~Fs(xi8YiU~zPK%|3o>C!voC`b`VKn3YXKoO-#mwpa4 zNIQV^CJ-sodxw7|ocDb99ryjmU+#Cu9qM44gq^wPn)8{@eCFCa@_{DmG9?Qo1OmCN zs-mm|fsnx<5K@B+=fNw<-p`(bALlLAQOb~0!k^!3b6$a0Et<+cj*qZdUF>OT<=XhPCQyoN@C#Vx$nr z9|$JPtH1&haD3rE9w5-*ZNgjsen5Ke?^piq;3^D!nDENK9iSm3XRrMG!MTXvz^Bh$ zfIwh~|9C(!iul&Q9sF-I^B=?i-Auxz5MLo!`ad81x7g0~AH9h{1GoH7-u&m4{}wYX z!PWhrS^fX$&42v+-{MwqY5(sd_xyhh(*M7!k1+Fs%882?l!X=j-kGc+)}XlELIM`_ zbz4M<5H)n~=jxqfp+gqTZY8x;$A!XtX|YsoD*=!Vh)Pm?M|&ey=}3;sZxw2RkDOzE zwVONRX!l~W;FefT#WM&AFp7)@#$12u!{ont{LZF9-fB}(N$= zg9oznz7-j83dfYuUa1vUSLM6bLYTvZt zXJUy4+uHVMxg;dN@3>5BkojN?Pk>Cq~Kt?x38A8 z_BO>vlaYj!@MVlJJN!9ZfK2e_+=JboyD|NumKg_zQ!%{K!PV0>sgMP4|4sob@-w?u zkNN9;PKQ_0LPFzEX%;n~#^St68b|rNFwf(Vj?DfzJsuGSxp)of}DI+%`xW7h6Z(Lf=I%z zho3~W1IMHT&FDBj+Zr0^M5o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HQKqlQ1yMFIYx z`qoPA>aK5aM#5Sy&Ix`L;j@iK%qJ@m}lw{;RZ9Mi?dv`AQ9WHt~qYkgk+I<_tPE4L^ z#IttmGPfG)HWVuL*9{+KgiE~;4tjEbDDZ=oCuoPj{?@Ovub+1R6r56e>DXXiZ_c_i z;g;#f*JJislQKj;TjWTA5+mosLM!>!#YzUm%kNx{g|ggZZf@#(htv*@Q&4u-`v*_w zM`#;Q*+!UL#x0x-96zlQVzwz>reSx7R~eMwymj6muP^h23L~eccum0yA=C(|IOJ)X z^3lUt)Jn}@G@1~M|HHGH{j0dKS+=Pv;>#1UUD9H~`mk_R7B<{JY77 zw}`L&XWRdI3lzQo^suRad$bhsGyk&mACvz%AR73O$^RVuo5}xN#8udT?*oPYmmh`o z|7h?3vakPdTufM)e?0p?9}w*N$Ho5~{D1WIf3{uZ|I{<4Rvk~Fl^$2z-0f{#JS{x!U0om|p$1E<;9ZF7Jx%3;JCC3JU%`WS8vp { + e.preventDefault(); + let searchWord = userWord.value; + if(searchWord == ""){ + alert("First type any word..."); + location.reload(); + } + let API_URL = `https://www.dictionaryapi.com/api/v3/references/learners/json/${searchWord}?key=9284d4a3-9817-41b9-969e-f83a87fca44a`; + // use your own api key +// on window load function +(async function(){ + try { + word.innerHTML = "Loading..."; + speech.innerHTML = "Loading..."; + text.innerHTML = "Loading..."; + example1.innerHTML = "Loading..."; + defination1.innerHTML = "Loading..."; + offensive.innerHTML = "Loading..."; + + + const fetchData = await fetch(API_URL); + const jsonData = await fetchData.json(); + + word.innerHTML = jsonData[0].meta.id; + speech.innerHTML = jsonData[0].fl + text.innerHTML = `[${jsonData[0].hwi.prs[0].ipa}]`; + defination1.innerHTML = jsonData[0].shortdef; + try{ + example1.innerHTML = jsonData[0].def[0].sseq[0][0][1].dt[1][1][0].t; + }catch(err){ + console.log(err); + example1.innerHTML = "Not Found" + } + offensive.innerHTML = `Offensive: ${jsonData[0].meta.offensive}`; + } catch (error) { + console.log(error); + errorText.forEach((text) => { + text.innerHTML = "Not Found..."; + }); + } ; +})(); +}); \ No newline at end of file diff --git a/src/app.js b/src/app.js new file mode 100644 index 0000000..3e75703 --- /dev/null +++ b/src/app.js @@ -0,0 +1,11 @@ +const express = require("express"); +const app = express(); +const path = require("path"); +const port = 8000; + +const filePath = path.join(__dirname, "../"); +app.use(express.static(filePath)); + +app.listen(port, () => { + console.log(`Listening on port number ${port}`); +}); \ No newline at end of file