Step02_example6 의 변형 예제로 5개의 이미지를 각각 클릭시 확대 축소를 가능하게 만들었다
확대만 가능
2022.07.08 - [javascript] - Step02_example6 (for, length)
한개만 가능
2022.07.08 - [javascript] - Step03_example7 (if else)
for 반복문과 if else 문을 활용하여 이미지를 확대 축소 가능하게 만들었다. 링크 걸어둔 Step03_example6, 7을 참고하였다.
'javascript, framework > javascript' 카테고리의 다른 글
Step02_example10 (change, value) (0) | 2022.07.08 |
---|---|
Step02_example9(Math.random, Math.floor) (0) | 2022.07.08 |
Step02_example7 (if else) (0) | 2022.07.08 |
Step02_example6 (for, length) (0) | 2022.07.08 |
Step02_example4 (변수 연산, if, return) (0) | 2022.07.08 |