본문 바로가기
올 뉴 30분 요약강좌(Bootstrap) 정리 #2 # First Last Handle 1 Mark Otto @mdo 2 Jacob Thornton @fat 3 Larry the Bird @twitter 2022. 12. 4.
올 뉴 30분 요약강좌(Bootstrap) 정리 유투브에서 부트스트랩 요약강좌를 짧게 들어보고 요점을 기록한 글입니다. 유투브 url: https://www.youtube.com/watch?v=2znzBerWyWU 부트스트랩 문서(영문이어야함, 한글은 3버전 대...임..ㅠㅠㅎ) https://getbootstrap.com/docs/5.2/getting-started/introduction/ Get started with Bootstrap Bootstrap is a powerful, feature-packed frontend toolkit. Build anything—from prototype to production—in minutes. getbootstrap.com 대부분 문서에 아주 정리가 잘 되어있다. **alert 샘플 많은 사이트 https.. 2022. 12. 4.
삼항연산자 (3항연산자) 사용법 (조건식 ? 참:거짓) let str = true ? "참":"거짓" console.log(str) 결과 : 참 조건식에는 boolean형 조건식이 들어가게된다. **중첩 삼항연산자는 안 쓰는게 좋다. int a; if(5 2022. 11. 23.
jQuery 대신 자바스크립트를 사용하자 기존 jQuery는 메모리 용량을 잡아 먹기 때문에 바닐라 자바스크립트를 사용하도록 샘플 코드를 기록해둔다 var modifyForm = document.getElementById("modifyForm"); document.getElementById("modifyBtn").addEventListener("click", (e) => { if(!confirm("수정하시겠습니까?")) return; modifyForm.action= "/guestbook/modify"; modifyForm.submit(); }); document.getElementById("removeBtn").addEventListener("click", (e) => { if(!confirm("삭제하시겠습니까?")) return; modif.. 2022. 11. 23.
구구단 홀수단/짝수단 조건 설정 + 세로/가로tab 설정 이렇게... 짝수단은 1~5까지 홀수단은 6~9까지 출력하고 단이 바뀔때는 가로로 이동하는 출력문을 작성해보겠습니다. for (int i = 1; i 2022. 11. 21.