adding class to DOM items

devfish·2023년 2월 3일
0

Javascript

목록 보기
23/30

You don't need to check if it already has that class before trying to add it, since it already checks for duplicates before adding it!

profile
la, di, lah

0개의 댓글