Lect & Tip118 2023๋ ์ผ์ฉ์ง ์๋์ธ ๊ณ์ฐ๊ธฐ 2023๋ ์ผ์ฉ์ง ์๋์ธ ๊ณ์ฐ๊ธฐ ์๋๋ JavaScript๋ฅผ ์ฌ์ฉํ์ฌ ์ผ์ฉ์ง ๊ทผ๋ก์์ ์๋์ธ๋ฅผ ๊ณ์ฐํ๋ ๊ฐ๋จํ ํจ์์ ๋๋ค. function calculateTax(dailyWage) { const basicDeduction = 150000; // ๊ธฐ๋ณธ๊ณต์ ์ก const taxRate = 0.06; // ์ธ์จ const taxDeductionRate = 0.55; // ์ธ์ก๊ณต์ ์จ const localTaxRate = 0.1; // ์ง๋ฐฉ์ธ์จ // ๊ณผ์ธํ์ค ๊ณ์ฐ const taxableIncome = dailyWage - basicDeduction; if (taxableIncome 2023. 7. 3. ์ฑGPT ๋ก๋ ๋น์ฒจ๋ฒํธ ์์ธก lotto 1073ํ ๋ถ์ 1034 26 31 32 33 38 40 11 1035 9 14 34 35 41 42 2 1036 2 5 22 32 34 45 39 1037 2 14 15 22 27 33 31 1038 7 16 24 27 37 44 2 1039 2 3 6 19 36 39 26 1040 8 16 26 29 31 36 11 1041 6 7 9 11 17 18 45 1042 5 14 15 23 34 43 4 1043 3 5 12 22 26 31 19 1044 12 17 20 26 28 36 4 1045 6 14 15 19 21 41 37 1046 7 16 25 29 35 36 28 1047 2 20 33 40 42 44 32 1048 6 12 17 21 32 39 30 1049 3 5 13 20 21 37 17 1050 6 .. 2023. 6. 23. yarn install error Unexpected token \u0000 in JSON at position yarn install ํ ๋ ๊ฐํน ๋ง๋๊ฒ ๋๋ error Unexpected token \u0000 in JSON at position ํด๊ฒฐ ๋ฐฉ๋ฒ npm cache verify ํ์ง๋ง ๋ณ ์์ฉ์ด ์๋ค. ์ด์ฐจํผ ๋๋ ์ ์ธ์คํจ์ ์ฌ์ฉํ ๊ฒ์ด๋ฏ๋ก... yarn cache clean yarn cache clean ๋ช ๋ น์ ์ฌ์ฉํด์ ์ ์บ์๋ฅผ ์ง์ด๋ค. PS D:\Work\seoul\ams\ams-front> cd .\frontend\ PS D:\Work\seoul\ams\ams-front\frontend> yarn install yarn install v1.22.10 resolution inconsistencies caused by unsynchronized lock files. To clear this war.. 2022. 12. 22. vs code Git Remote repository url ๋ณ๊ฒฝ ๐ vscode๊ฐ git ํ๋ฌ๊ทธ์ธ์ ์ฌ์ฉํ๊ธด ํด๋, ๊ธฐ๋ณธ์ ์ผ๋ก vscode๋ vscode์ด๊ณ , git์ git์ด๋ค. vscode๋ git์ ์ ์ด์ฉํ ์ ์๊ฒ ํด ์ฃผ๋๋ก ํ๋ฌ๊ทธ์ธ์ผ๋ก interface๋ง ์ ๊ณตํ๋ค๊ณ ๋ณด๋ฉด ๋๋ค. Git Remote repository url ๋ณ๊ฒฝ์ ๊ธฐ์กด์ ๋ฆฌ๋ชจํธ origin์ ์ ๊ฑฐํ๊ณ , ์ repository url์ ์ ๋ ฅํด์ฃผ๋ฉด ๋๋ค. ์์๊ฐ ๋ฐ๋๋ฉด ๋น์ฐํ ์๋๋ค. ์ด ์์ ์ ํ๊ธฐ ์ ์ git ๋ฆฌํฌ์งํธ๋ฆฌ๋ฅผ ๊นจ๋์ด ํด ์ค ํ์๊ฐ ์๋ค. git pull git add . git commit -m "clean push" git push ๊ทธ๋ฐ ๋ค์ Remote origin์ ์ ๊ฑฐํ๋ค. git remote remove origin ๋ค์ ์ด ์ํ์์ ์ Remote repository.. 2022. 11. 7. javascript classList.toggle๋ก jquery addClass, removeClass, toggleClass ๊ตฌํํ๊ธฐ / ๋๋ณด๊ธฐ ๋ฒํผ ํด๋ฆญ์ ์์ญ ํ์ฅ Javascript classList.toggle๋ก jQuery addClass, removeClass, toggleClass ๊ตฌํํ๊ธฐ / ๋๋ณด๊ธฐ ๋ฒํผ ํด๋ฆญ์ ์์ญ ํ์ฅ ์๋ก Javascript์ React์์ ๋๋ณด๊ธฐ ๋ฒํผ์ ํด๋ฆญํ๋ฉด ๋ด์ฉ์ด ํ์ฅ๋๋ ์ปดํฌ๋ํธ๋ฅผ ๊ตฌํํด๋ณด๋ ค๊ณ ํฉ๋๋ค. ์ด๋ฅผ ์ํด์ jQuery๋ฅผ ์ฌ์ฉํ๋ฉด ๊ฐ๋จํ์ง๋ง, React์์๋ ๋ถํธํจ์ด ์์ต๋๋ค. ๊ทธ๋ฌ๋ ์ฐ๋ฆฌ๋ ref์ useState๋ฅผ ํ์ฉํ์ฌ ๋ ๊ฐํธํ๊ฒ ๊ตฌํํ ์ ์์ต๋๋ค. ์ด๋ฒ ๋ธ๋ก๊ทธ ํฌ์คํ ์์๋ classList.toggle ๋ฉ์๋๋ฅผ ํ์ฉํ์ฌ jQuery์ addClass, removeClass, toggleClass๋ฅผ ๊ตฌํํด๋ณด๋๋ก ํ๊ฒ ์ต๋๋ค. ๋ํ, ๋๋ณด๊ธฐ ๋ฒํผ์ ํด๋ฆญํ์ฌ ์์ญ์ ํ์ฅํ๋ ์์ ๋ ํจ๊ป ์ ์ํ๊ฒ ์ต๋๋ค. class.. 2022. 11. 2. autoprefixer: Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated. ๋ป ํด๊ฒฐ ๋ฐฉ๋ฒ /end value has mixed support, consider using flex-end instead / Node-sass incompatible with ^4.0.0 VSCODE์ ๋ฐ์ดํธ ์ดํ ๊ฐ์๊ธฐ ์๋ฌ๊ฐ ๋จ๊ธฐ ์์ํ๋ค. ํ์... ๋ญ์ผ... ์ ๋ฌผ๋ก ๋ด ์์ค๋ ์๋๋ค. ๋ ์ด๋ฏธ ํด๊ฒฐ์ ํ์ผ๋ฏ๋ก... WARNING in ./node_modules/bootstrap/dist/css/bootstrap.min.css (./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./node_modules/bootstrap/dist/css/bootstrap.min.css) Module.. 2022. 10. 20. ์ด์ 1 ยทยทยท 5 6 7 8 9 10 11 ยทยทยท 20 ๋ค์