Online Learning
CLICK HERE TO ORDER YOUR ASSIGNMENT

Name on or more interactive features that JavaScript can provide and HTML 5 cannot

Interactive features JavaScript offers absent in HTML5 affiliation JavaScript features Custom events Even with the coming of HTML5, creating a custom event still requires the use of JavaScript (Severance 2012, p.8). Custom event, which is an action, is an event that occurs and one feels its expedient define an action that will be elicited when such an action occurs. Custom event resembles native event, such as on-load and on-click, but the developer defines the action and the timing of firing. Custom event, therefore, becomes the manifestation seen by the observer pattern that is useful in loose coupling. Loose coupling is unparalleled when creating stable, maintainable codebases.User notificationThe user notification function allows a browser to view notifications to the user for specific events and passive notifications such as tweets, Facebook notifications, new emails, and calendar events irrespective of the tab in focus (Severance 2012 p.8). The set message option takes in desired message for translation to the user, preferred color of the notification and time length of the notification display.DialogA dialog is a window of an application that is fashioned to cause an interruption in the current application processing to prompt the user to enter some information or a required user response. An alert dialog in this context is useful in conveying a message to alert user. Its role ends up in the same node that contains both the rest of the dialogue and the message alert. They are designed in a way to ensure mouse and keyboard interactions operate only within the alert dialog (Severance 2012 p. 7). It is an important feature especially in login and surveys, which html5 alone does not provide.LogIt is a live region that allows the addition of new information in a meaningful order with subsequent loss of old information. These include messaging history, chat logs, game logs, and error logs. In this functionality, a relationship exists between acquisition of new information and reading order in the log (Severance 2012 p. 8). HTML5 does not provide that function while JavaScript makes it readily available.Works citedSeverance, Charles. 2012. Java Script: Designing a Language in 10 Days. Computer 45 (2): 0007–0008.

Name on or more interactive features that JavaScript can provide and HTML 5 cannot