Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- node.js
- lambda 이름 변경
- godotenv
- 람다 함수 이름 변경
- C++
- 깃허브 clone
- aws lambda 함수
- go 환경변수
- GitHub 업로드
- 깃허브 pull
- node.js 교과서
- 깃허브 복제
- 람다 함수 이름 변경 안됨
- 열혈 C++
- 백준 2443
- C++ 입출력
- 깃허브 협업
- go .env
- 출력형식 오류 해결
- 라우팅 연결하기
- 깃허브
- Node.js교과서
- C++ 시간 초과
- 깃허브 코드 업로드
- 팔로잉 끊기 구현
- github pull
- http 모듈
- 백준
- 백준 알고리즘
- C++ Fast I/O
Archives
- Today
- Total
목록sns기능 구현 (1)
만능재주꾼
[Node.js 교과서] 팔로우하기, 팔로잉끊기 구현
✔️ 팔로우 하기 팔로우한 목록에 없으면 팔로우하기 버튼 나타내기 (main.html) {% if not followerIdList.includes(twit.User.id) and twit.User.id !== user.id %} 팔로우하기 2. 버튼 이벤트 코드 작성하기 (main.html) /* 해당 클래스의 버튼이 눌리면 팔로우 여부 묻기*/ document.querySelectorAll('.twit-follow').forEach(function(tag) { tag.addEventListener('click', function() { const myId = document.querySelector('#my-id'); if (myId) { //로그인한 사용자가 있는지 확인 const userId = ..
💻 Node.js
2021. 3. 7. 00:13