# Custom code a number counter that starts counting after you scroll to a certain point on the page. 


**URL:** <https://forum.wixstudio.com/t/custom-code-a-number-counter-that-starts-counting-after-you-scroll-to-a-certain-point-on-the-page/36427>\
**Category:** Ask the community\
**Tags:** code, question\
**Created:** [July 26, 2021, 1:30am UTC](https://forum.wixstudio.com/t/custom-code-a-number-counter-that-starts-counting-after-you-scroll-to-a-certain-point-on-the-page/36427 "2021-07-26T01:30:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![CODE-NINJA](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/code-ninja/32/110588_2.png) [@CODE-NINJA](https://forum.wixstudio.com/u/CODE-NINJA)\
**Post date:** [July 26, 2021, 4:50am UTC](https://forum.wixstudio.com/t/custom-code-a-number-counter-that-starts-counting-after-you-scroll-to-a-certain-point-on-the-page/36427/2 "2021-07-26T04:50:33Z")

</div>

You can use → onVieportEnter of a certain element. When you pass this element, while scrolling, an event will be triggered, which would start your function.

---

_[View the full topic](https://forum.wixstudio.com/t/custom-code-a-number-counter-that-starts-counting-after-you-scroll-to-a-certain-point-on-the-page/36427)._
