DEV Community

Discussion on: Designing a Stars Rating program in vanilla JS

Collapse
piclez profile image
Peter WD

Great article Uriel! I think your 3rd line should be:

star.getAttribute('data-num')

Thanks!

Collapse
theeasydev profile image
Uriel Bitton Author

Yes just corrected it thanks for pointing that out!