With the rapid growth of web pages implementation skills, the online-learning materials have become much more interesting and increased learners’ motivation. Adding real time feedback into online learning web pages can reinforce the users' learning outcomes of the teaching materials and prepares users for better result on future tests. To create real time feedback in online learning web pages, a combination of Hyper Text Markup Language (HTML), Cascading Style Sheets (CSS) and JavaScript could be used to implement web pages, and the JavaScript plays the most important part of them. This paper will discuss how the JavaScript make the real time feedback of E-learning web site and display various examples implemented by the combination of JavaScript, HTML and CSS. Such a combination is also known as Dynamic HTML (DHTML).