묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결자바스크립트 알고리즘 문제풀이 입문(코딩테스트 대비)
reduce로 객체를 생성한 후 문제를 푸는 방법
선생님 우선 문제를 먼저 풀어봤습니다! 해쉬를 이용해서 풀라고해서 reduce함수를 이용해서 객체를 만들고 key와 value 값을 매핑하는 방식으로 풀었습니다. 만든 객체에서 value값이 최대인 key값을 출력하는 함수를 만들었습니다. 답은 C가 잘나오기는 하는데, 제가 만든 방식은 혹시 괜찮을까요? function solution(s){ let answer; let students = [...s]; let countedNames = students.reduce((prev, curr) => { if (curr in prev) prev[curr]++ else prev[curr] = 1; return prev; }, {}); let max = 0; for (let x in countedNames) { if (max < countedNames[x]) { max = countedNames[x]; answer = x; } } return answer; }
-
미해결비전공자를 위한 진짜 입문 올인원 개발 부트캠프
질문드려요
vercel 웹 배포했고 Heroku 서버 배포하는 것까지는 알겠습니다. 근데 상품 등록한 이미지는 Heroku 에서 현재 가동중인 클라우드서버에 어디에 저장되고 있는겁니까?
-
미해결Node.js에 TypeScript 적용하기(feat. NodeBird)
타입스크립트로 변환후 nextjs 빌드 후 배포
안녕하세요 제로초님 back 과 front 를 타입스크립트로 변환까지 해보았습니다. nextjs 로 빌드 해보고 배포하려합니다. 백엔드에서는 ts-node로 실행해보고 문제 없어서 .js 파일로 변환하였고, 프론트에서는 nextjs로 빌드해보고 배포하려는데 tsx인 상태에서 빌드를 해야하는지 tsc로 js로 변환후에 빌드하고 배포해야하는지 궁금합니다!
-
미해결설계독학맛비's 실전 Verilog HDL Season 1 (Clock부터 Internal Memory까지)
안녕하세요 맛비님! BRAM에 관해서 질문하고 싶은 것이 있습니다.
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요! 맛비님. 너무 유익한 강의 감사드립니다. 저가 이번 강의를 복습하면서 궁금한 점이 있는데요. 맛비님 블로그를 봤을 때 BRAM을 IP catalog에서 불러와서 쓰셨는데 강의에서는 직접 설계하셨습니다. IP에서 BRAM을 불러온 것과 직접 BRAM을 설계하는 차이가 뭔지 궁금합니다. 또 실제 설계함에 있어서 어느 방법을 더 많이 쓰는지 궁금합니다.
-
미해결Spring Cloud로 개발하는 마이크로서비스 애플리케이션(MSA)
ecommerce.yml 파일을 변경할 때 commit을 이용하지 않으셨는데 원래는 필요없는 작업인가요?
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 맨 처음에 eecommerce.yml 파일을 수정하실 때는 commit을 해주셨는데 마지막에는 안해주셨더라구요. 혹시 commit을 하신 이유를 알려주실 수 있을까요?
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 기본 강의
너무 많은 에러들... 갑자기 왜 이럴까요?ㅠㅠ
어느 순간 갑자기 이런 에러들이 많이 뜨는데 구글링 해보아도 재설치 하라는 답변들이 많아서... 혹시 어떻게 해결하면 좋을지 도움 청합니다... ㅠㅠ 깃허브 주소입니다 ㅠㅠ https://github.com/aurpo1/boilerplate 연속으로 계속 이렇게 질문 남기니 부끄럽네요... 이번에도 올리고 제가 해결하면 좋겠다만 ㅠㅠㅠ Compiled with problems:X ERROR in ./node_modules/body-parser/lib/read.js 20:11-26 Module not found: Error: Can't resolve 'zlib' in 'C:\Users\aurpo\boilerplate\client\node_modules\body-parser\lib' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "zlib": require.resolve("browserify-zlib") }' - install 'browserify-zlib' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "zlib": false } ERROR in ./node_modules/body-parser/lib/types/urlencoded.js 217:12-34 Module not found: Error: Can't resolve 'querystring' in 'C:\Users\aurpo\boilerplate\client\node_modules\body-parser\lib\types' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "querystring": require.resolve("querystring-es3") }' - install 'querystring-es3' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "querystring": false } ERROR in ./node_modules/content-disposition/index.js 19:15-39 Module not found: Error: Can't resolve 'path' in 'C:\Users\aurpo\boilerplate\client\node_modules\content-disposition' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } ERROR in ./node_modules/cookie-signature/index.js 4:13-30 Module not found: Error: Can't resolve 'crypto' in 'C:\Users\aurpo\boilerplate\client\node_modules\cookie-signature' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }' - install 'crypto-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "crypto": false } ERROR in ./node_modules/destroy/index.js 12:17-41 Module not found: Error: Can't resolve 'fs' in 'C:\Users\aurpo\boilerplate\client\node_modules\destroy' ERROR in ./node_modules/destroy/index.js 14:13-30 Module not found: Error: Can't resolve 'stream' in 'C:\Users\aurpo\boilerplate\client\node_modules\destroy' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }' - install 'stream-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "stream": false } ERROR in ./node_modules/etag/index.js 18:13-30 Module not found: Error: Can't resolve 'crypto' in 'C:\Users\aurpo\boilerplate\client\node_modules\etag' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }' - install 'crypto-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "crypto": false } ERROR in ./node_modules/etag/index.js 20:12-31 Module not found: Error: Can't resolve 'fs' in 'C:\Users\aurpo\boilerplate\client\node_modules\etag' ERROR in ./node_modules/express/lib/application.js 28:11-26 Module not found: Error: Can't resolve 'http' in 'C:\Users\aurpo\boilerplate\client\node_modules\express\lib' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "http": require.resolve("stream-http") }' - install 'stream-http' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "http": false } ERROR in ./node_modules/express/lib/application.js 42:14-37 Module not found: Error: Can't resolve 'path' in 'C:\Users\aurpo\boilerplate\client\node_modules\express\lib' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } ERROR in ./node_modules/express/lib/request.js 18:11-30 Module not found: Error: Can't resolve 'net' in 'C:\Users\aurpo\boilerplate\client\node_modules\express\lib' ERROR in ./node_modules/express/lib/request.js 22:11-26 Module not found: Error: Can't resolve 'http' in 'C:\Users\aurpo\boilerplate\client\node_modules\express\lib' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "http": require.resolve("stream-http") }' - install 'stream-http' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "http": false } ERROR in ./node_modules/express/lib/response.js 23:11-26 Module not found: Error: Can't resolve 'http' in 'C:\Users\aurpo\boilerplate\client\node_modules\express\lib' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "http": require.resolve("stream-http") }' - install 'stream-http' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "http": false } ERROR in ./node_modules/express/lib/response.js 29:11-26 Module not found: Error: Can't resolve 'path' in 'C:\Users\aurpo\boilerplate\client\node_modules\express\lib' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } ERROR in ./node_modules/express/lib/utils.js 31:18-40 Module not found: Error: Can't resolve 'querystring' in 'C:\Users\aurpo\boilerplate\client\node_modules\express\lib' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "querystring": require.resolve("querystring-es3") }' - install 'querystring-es3' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "querystring": false } ERROR in ./node_modules/express/lib/view.js 16:11-26 Module not found: Error: Can't resolve 'path' in 'C:\Users\aurpo\boilerplate\client\node_modules\express\lib' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } ERROR in ./node_modules/express/lib/view.js 18:9-22 Module not found: Error: Can't resolve 'fs' in 'C:\Users\aurpo\boilerplate\client\node_modules\express\lib' ERROR in ./node_modules/mime-types/index.js 15:14-37 Module not found: Error: Can't resolve 'path' in 'C:\Users\aurpo\boilerplate\client\node_modules\mime-types' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } ERROR in ./node_modules/mime/mime.js 1:11-26 Module not found: Error: Can't resolve 'path' in 'C:\Users\aurpo\boilerplate\client\node_modules\mime' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } ERROR in ./node_modules/mime/mime.js 3:9-22 Module not found: Error: Can't resolve 'fs' in 'C:\Users\aurpo\boilerplate\client\node_modules\mime' ERROR in ./node_modules/parseurl/index.js 13:10-24 Module not found: Error: Can't resolve 'url' in 'C:\Users\aurpo\boilerplate\client\node_modules\parseurl' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "url": require.resolve("url/") }' - install 'url' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "url": false } ERROR in ./node_modules/send/index.js 29:9-22 Module not found: Error: Can't resolve 'fs' in 'C:\Users\aurpo\boilerplate\client\node_modules\send' ERROR in ./node_modules/send/index.js 39:11-26 Module not found: Error: Can't resolve 'path' in 'C:\Users\aurpo\boilerplate\client\node_modules\send' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } ERROR in ./node_modules/send/index.js 43:13-30 Module not found: Error: Can't resolve 'stream' in 'C:\Users\aurpo\boilerplate\client\node_modules\send' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }' - install 'stream-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "stream": false } ERROR in ./node_modules/send/index.js 45:11-26 Module not found: Error: Can't resolve 'util' in 'C:\Users\aurpo\boilerplate\client\node_modules\send' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "util": require.resolve("util/") }' - install 'util' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "util": false } ERROR in ./node_modules/serve-static/index.js 20:14-37 Module not found: Error: Can't resolve 'path' in 'C:\Users\aurpo\boilerplate\client\node_modules\serve-static' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } ERROR in ./node_modules/serve-static/index.js 24:10-24 Module not found: Error: Can't resolve 'url' in 'C:\Users\aurpo\boilerplate\client\node_modules\serve-static' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "url": require.resolve("url/") }' - install 'url' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "url": false }
-
미해결홍정모의 따라하며 배우는 C++
5.9 난수 만들기, rand()를 쓸 때 계속 같은 숫자가 나오는 이유
안녕하세요, <5.9 난수 만들기> 강의를 듣다 궁금한 점이 생겨 질문을 남깁니다. std::time을 사용해 seed를 random하게 생성하는데도 불구하고, rand()로 여러 숫자를 출력할때, build를 다시했는데도 첫 숫자가 항상 동일하게 나옵니다. 50개 숫자 중 나머지 49개는 다 다르게 나옵니다. 첫번째 숫자만 같은 숫자로 계속 나와요. (62로...) 이유가 무엇일까요?
-
미해결쉽게 따라하는 SketchUp Pro 2019 (한국어판)
도형을 먼저 그리고 치수를 맞게 조정하기
Fusion 360의 경우 도형을 먼저 그린 뒤 치수를 입력하면 치수에 맞게끔 도형이 변형이 되는데 스케치업에서는 이런 기능이 없는지요? 가령 Fusion의 경우 대략적으로 원하는 모양을 그린 뒤에 치수를 입력함으로써 정확한 치수대로 형태를 잡아가는 모델링을 사용을 했었는데 스케치업도 이런 식으로 가능한지 문의 드립니다
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
프로젝트 생성후 run시 오류 발생
프로젝트 생성을 따라하던중 Execution failed for task ':compileJava'. > invalid source release: 11 에러가 발생하는데 구글링해도 해결되지 않아 질문드립니다. 구글링해보니 jdk버전과 project language level이 달라서 발생하는 에러라고하는데 jdk11을 다시 설치해서 반영해도 계속 에러가 발생해서 질문드립니다. jdk는 jdk-11.0.14를 새로 다운받아 사용하였고 project Structure의 project/modules/sdks에서 모두 11버전(oracle open/jdk version 11.0.14)으로 설정하였습니다.
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part4: 게임 서버
9분 OnRecv질문입니다.
Session에서 OnRecv부분 while문 안에서 "패킷이 완전체로 왔는지"에대한 부분 질문입니다. 현재 OnRecv애서 buff를 받고 첫번째 if 문에서 buff.Count < HeaderSize보다 작으면 break;이기때문에 buff.Count는 첫번째 if문을 통과를 했다면 2byte이상인 상태이고 두번째 if문은 이부분인데 Bitcinverter.ToUInt16이 첫인자로 받은 바이트 배열을 buffer.Offset부터 시작해서 ushort형으로 뽑아서 준다는 것 까지는 이해했습니다. 그런데 더미나 서버에서 패킷을 처리하기 위해서 OnRecv를 받을때 OnRecv에 받은 buff가 4바이트일 수도있고 3바이트 일 수도 있고 2바이트 일 수도 있는데 Bitcinverter.ToUInt16(buff.Array, buff.Offset)을 dataSize에 넣는다고 이게 왜 완전체인 패킷을 받는 다는 것인지 이해가 가지 않습니다. < 가장 햇갈리는 부분 > OnRecv에는 인자로 buffer를 받았는데 결국, dataSize가 BitConverter를 통해서 받아온 buffer의 offset부터 buffer.Array(buffer의 크기)를 뽑아온 값(맞나요..?) 즉, BitCinverter.ToUInt16(buffer.Array, buufer.Offset)을 통해 뽑아온 dataSize는 (값은) 결국, OnRecv에 인자로 받은buffer의 크기 ( == buffer.Count)와 같은거라 if (buffer.Count < dataSize)일때 break;가 아니라 if (buffer.Count != dataSize) 일 경우 break;를 하는게 맞는 부분 아닌가요?? (인자로 받은 buffer.Count랑 buffer.Length가 같은말이고 BitConverter.ToUInt16(buffer.Array, buffer.Offset)이 다 같은 말이라)
-
미해결스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
urlPatterns =
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴package hello.servlet.basic.request; import javax.servlet.ServletException;import javax.servlet.annotation.WebServlet;import javax.servlet.http.HttpServlet;import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse;import java.io.IOException;@WebServlet(name = "requestParamServlet", urlPatterns ="/request-param")public class RequestParamServlet extends HttpServlet { @Override protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { System.out.println("RequestParamServlet.getParameterName()"); request.getParameterNames(); } }얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? 예2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? 예3. 질문 잘하기 메뉴얼을 읽어보셨나요? 예[질문 내용]urlPatterns = "/request-param" 맞게 입력한거 같은데, whitelable 에러가 발생하는데 이유가 뭔지 알수 있을까요?
-
미해결[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part1: C++ 프로그래밍 입문
상속 접근 지정자 질문드립니다
{} class SuperCar : private Car { public: void PushRemoteControl() {} } class TestSuperCar : private SuperCar {} int main() { TestSuperCar TSC; TSC.PushRemoteControl(); -----> Error } 위 코드의 main함수에서 TSC객체를 통해 PushRemoteControl을 접근할 수 없다고 강의중에 설명해주셨는데요 TestSuperCar 클래스가 SuperCar 클래스를 private로 상속받아도 지금 당장은 TSC객체를 통해 PushRemoteControl함수를 접근 할 수 있어야 하는게 아닌가요? private상속을 제대로 이해한게 맞다면 TestSuperCar를 상속받는 다음 클래스에서는 모든 접근 권한이 private이 되기 때문에 PushRemoteControl을 사용하지 못해야 할 것 같은데 그렇지 않은 이유가 뭔가요?
-
미해결웹브라우저 Javascript (자바스크립트)
선생님, arrow 로 활용해서 스크립트 짜봤는데 왜 안될까요? ㅠㅠㅠ
var partOne = document.querySelectorAll(".one h2"); const h2_add = () => { partOne.classList.add("on"); }; const h2_remove = () => { partOne.classList.remove("on"); }; window.addEventListener("scroll", () => { var scrollPos = window.scrollY; console.log(scrollPos); const one = document.querySelector(".one").offsetTop; // .offset().top; if (scrollPos >= one) { h2_add(); } else { h2_remove(); } }); <section class="one"> <article class="one__inner"> <div class="one__inner-item"> <div class="desc"> <h2>Vision Description</h2> </div> <div class="photo"> <img src="img/1.jpg" alt="" /> </div> <button type="button">더보기</button> </div> <div class="one__inner-item"> <div class="desc"> <h2>Vision Description</h2> </div> <div class="photo"> <img src="img/1.jpg" alt="" /> </div> <button type="button">더보기</button> </div> </article> </section>
-
미해결Vue.js 완벽 가이드 - 실습과 리팩토링으로 배우는 실전 개념
레포지토리 not found
강의노트에 있는 리포지토리 주소 클릭하면 not found 나오는데요? (https://github.com/joshua1988/vue-advanced) 권한은 예전에 신청하고 받았습니다. (jnj45@hanmail.net)
-
미해결모던 자바스크립트(javascript) 개발을 위한 ES6 강좌
선생님, arrow 로 활용해서 스크립트 짜봤는데 왜 안될까요? ㅠㅠㅠ
var partOne = document.querySelectorAll(".one h2"); const h2_add = () => { partOne.classList.add("on"); }; const h2_remove = () => { partOne.classList.remove("on"); }; window.addEventListener("scroll", () => { var scrollPos = window.scrollY; console.log(scrollPos); const one = document.querySelector(".one").offsetTop; // .offset().top; if (scrollPos >= one) { h2_add(); } else { h2_remove(); } }); <section class="one"> <article class="one__inner"> <div class="one__inner-item"> <div class="desc"> <h2>Vision Description</h2> </div> <div class="photo"> <img src="img/1.jpg" alt="" /> </div> <button type="button">더보기</button> </div> <div class="one__inner-item"> <div class="desc"> <h2>Vision Description</h2> </div> <div class="photo"> <img src="img/1.jpg" alt="" /> </div> <button type="button">더보기</button> </div> </article> </section>
-
미해결[하루 10분|Web Project] HTML/JS/CSS로 나만의 심리테스트 사이트 만들기
setTimeout 부분 오류가 자꾸 납니다..ㅠㅠㅠ
answer.addEventListener("click", function(){ setTimeout(()=> { var target = qnaList[qIdx].a[Idx].type;
-
미해결자바 ORM 표준 JPA 프로그래밍 - 기본편
자바 기본타입
안녕하세요 자바 기본타입에 대해 질문드립니다. ppt에는 자바 기본타입으로 int, doubl밖에 명시되어있지 않은데요 byte, short, float, long 등은 포함되지 않는건가요? 아니면 단순히 예시로서 두개만 적어두신건가요?
-
미해결Java TPC (생각하고, 표현하고, 코딩하고)
자바TCP
나프 시리즈 보면서 만족도가 높아 자바 TPC 강의 수강하고 있습니다. 자료가 없어 영상만 보기에 좀 힘든거 같은데 수업 PPT자료 공유 가능한가요?
-
미해결블록체인 이더리움 부동산 댑(Dapp) 만들기 - 기본편
매입 실행 시 메타마스크와 연동이 안되고 창이 안뜨고 있네요
안녕하세요, 수업 열심히 따라갈려고? 노력하고 있습니다 ㅎㅎ 큰 문제없이 하고 있었는데 메타마스크와 연동하는 부분에서 부터 잘 안되네요. 메타마스크의 Security&Privacy 부분에서 설정해야 한다고 했던것 같은데 버전 때문인지 설정하는것도 보이지 않네요. 코드는 여러번 확인했는데 문제가 없는것 같습니다. 해당 설정하는 내용 내용
-
해결됨Slack 클론 코딩[백엔드 with NestJS + TypeORM]
데이터 처리 질문드립니다.
개인프로젝트진행중인데, 데이터를 가공하여 프론트에 전달해줘야할것같은데 현업에서는 보통 DB에서 작업을 하나요 백엔드에서 작업을 하나요?