Overview
Aim
Learners will develop an understanding of JavaScript as a text-based programming language to create interactive elements on web pages.
Learners will develop an understanding of JavaScript as a text-based programming language to create interactive elements on web pages.
Understand the use of JavaScript in web development.
JavaScript is a programming language that powers the dynamic behaviour on most websites. Alongside HTML and CSS, it is a core technology that makes the web run, flexible; can be used for both front-end and back-end.
Explain how JavaScript is used as a web programming language.
Be able to use JavaScript in web pages.
W3Schools Resource Title: JavaScript Tutorial: http://www.w3schools.com/js/
JavaScript cheatsheet: https://www.codecademy.com/learn/introduction-to-javascript/modules/learn-javascript-introduction/cheatsheet
Client-side form validation, Constraint validation API.
Document.write()method writes a string of text to a document stream opened by document.open().
jQuery to respond to user actions; alter, show, hide and move objects, show/hide div.
Visual effects: layout techniques, text animation, transition effects etc.
Event handlers: onSelect, onSubmit, onClick, onMouseOver, onLoad, onUnload.
Use JavaScript to prompt and validate inputs in web pages.
Use document.write to display messages in web pages.
Alter, show, hide and move objects in web pages.
Use JavaScript to include special effects in web pages.
Use functions and variables to customise web pages.
Use functions and variables for functional web pages.
Use event handlers to trigger JavaScript code.