반응형

💻Computer/Text Editor 3

small point⛔

small point 사소한 주의점 1. script 링크에 폴더명 미기제 폴더 단위로 파일을 나눈 후, 제대로 링크를 걸지 않으면 작동하지 않는다. '"폴더명"/'을 꼭 파일명 앞에 붙이자. 2. String 만 입력되는 경우 padStart() 와 같이, argument로 string만 받아들이는 경우도 있다. 그럴 때는 String() 로 감싸주면 string로 인식된다. 3. Backtick ' 은 무엇인가? `` 은 위와 같이 쓰이며, 큰 따옴표(")없이도 띄어쓰기를 읽을 수 있으며, 변수를 다룰 시에는 ${}를 사용하여 다룬다. 이런 식으로 깔끔하게 활용되기도 한다. 4. querySelector 활용 시 경로가 잘못된 경우. querySelector 사용시 그림의 첫번째 줄처럼, 이미 만들어..

Recommended Direction🧭

Divide and conquer 세분화해서 관리하기 ex: 한 파일에 다 때려박지말고, 서로다른 기능에 대해서 기능별로 따로 파일을 만들어 관리한다. 장점: 관리하기 쉬워짐. 코드가 더 짧아짐. Event 이벤트 만들기 변수 사용시 event로 통일 function xxxxxxxx() 에서 ()에는 어떤 문자를 넣어도 후에 활용할 수 있지만, 특별한 경우가 아니라면 다른 작업자나 미래의 본인을 위해서 (event)로 통일후 활용하기.

Visual Studio Code💻

Visual Studio Code 사용법 비주얼스튜디오 사용법 홈페이지 https://code.visualstudio.com/ Visual Studio Code - Code Editing. Redefined Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. code.visualstudio.com 첫 화면에 뜨는 Download for Windows 클릭하면 됩니다. (M..

반응형