Answer:
All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad,
, is His slave and Messenger.
The issue that was debated among scholars was about charging fees for teaching the Quran. However, there is nothing wrong with creating a website for teaching the Quran and earning profits from the ads on the website. Such earnings are lawful as long as the ads do not include violations of the Islamic Sharee'ah.
Allaah kows best.