Briefly describe the interaction required to trigger

Assignment Help Web Project
Reference no: EM133666280

Creating Web Applications

Purpose of the assignment
In this assignment you will further enhance the website you developed in Assignment Part 1. In particular you will
Use client-side storage to transfer data between pages.
Use JavaScript to validate data entered into HTML forms and provide user feed back

Like Part 1, there will be an opportunity to optionally enhance your website beyond the basic requirements.
HTML
This part of the assignment requires minimal alteration to the HTML you wrote in Part 1. All pages should be valid HTML5
CSS
All pages should be styled appropriately using CSS as in Part 1, and should be valid CSS3. Minor additional CSS styling might be required.

Web Site Description
Data Validation
In Part 1 of the assignment you validated most of the inputs on the apply.html form using HTML5. In this part of the assignment we will use JavaScript to do some additional data validation,

in particular where the data entered into one field is validated against the value in another (e.g. postcode and state must be consistent) then this will need to be done in JavaScript.

Specific data validation rules in addition to those define in Part 1 are:
For the date of birth text field, a valid date must be entered in valid dd/mm/yyyy format. Applicants must be at between 15 and 80 years old at the time they fill in the form.
The selected state must match the first digit of the postcode
VIC = 3 OR 8, NSW = 1 OR 2 ,QLD = 4 OR 9 ,NT = 0 ,WA = 6 ,SA=5 ,TAS=7 ,ACT= 0
(e.g. the postcode 3122 should match the state VIC)
If the "Other skills..." is selected in the Skills Checkbox list, the Other Skills text area cannot be blank.
If the above data does not validate appropriately, meaningful feedback should be given to the user. Error messages should be displayed in an appropriate place on the Web page itself (rather than using an alert box).

Data transfer using Local and Session Storage
jobs.html page. Add an Apply hyperlink in each job description section. When the user clicks on this link they will be transferred to the application form page apply.html Using JavaScript, the Company's position description reference number (5 characters) will be stored using local client-side storage.
apply.html page. When this page is loaded, the job reference number) will be retrieved from local storage, and will be displayed as read-only in the form. This data value will also then need to be sent to the server, along with the other personal data the user enters into the form. (Hint: Lab 7 shows how to use hidden input elements to transfer form data.) While nothing will be stored on the server in this assignment (we will do this in Assignment Part 3), this process will allow the form data passing to be tested.
After a user has applied for one job, if they apply for another job during the same browser session, the browser should remember their details and automatically pre-fill the application form with the information about the applicant. Use session storage for this purpose.

Implementation of JavaScript
There should be no JavaScript embedded in your HTML files. This precludes both event registration (e.g. <form onsubmit="return validate()" ... ) and function definitions in the HTML.

JavaScript should be in a file called apply.js located in a scripts folder.

Enhancements using JavaScript
You should complete the above requirements before attempting any enhancements.

As with Part 1 you have an opportunity to implement enhancements to your Web site using techniques not covered in the tutorials. Each enhancement must be described on a page called enhancements2.html. The entries on this page should:
briefly describe the interaction required to trigger the event and what a programmer has to do to implement the feature.
provide a hyperlink to the page where the enhancement is implemented in your Web site.
reference any 3rd party contribution to the enhancement

It is a good idea to discuss your proposed enhancements with your tutor before you implement them.

The JavaScript enhancements themselves should be in a separate enhancements.js file. Make sure there are adequate comments to explain the enhancement (including its source if applicable). Examples of JavaScript and other enhancements you might make include (but are not limited to):

Have your jobs written in JavaScript and dynamically display the data in the jobs page.

Use the JavaScript methods querySelector() that take a CSS selector as an argument to manipulate the web page in response to user action.

Create an extra client side JavaScript dynamic effect: e.g. Slideshow, random image displayed onload, etc. The code and structure of this is open, but must be documented and explained as clearly as possible.

On apply.html, implement a timer so that the user only has a limited time to complete the application after which a warning is displayed and the browser redirects to the home page.

Use JavaScript to change the Menu display, to reflect the current page being viewed.

Re-implement your JavaScript using a library such as jQuery. Add some enhancements the library provides. No library code should be included in your apply.js file. This alternative implementation should be in the file enhancements.js file. Explain the difference in approach using the library and using plain JavaScript.
...
Any enhancements that are not listed and linked on the page enhancements2.html and
implemented in enhancements.js will not be assessed.

Web Site Folder Structure and Deployment Requirements
Your website folder structure should follow a similar structure as Assignment 1.
All files should be under a folder /assign2. JavaScript should sit in an assign2/script folder.

Reference no: EM133666280

Questions Cloud

Refers having tiredness-shortness of breath with exercise : A woman who is preparing to have a pregnancy, or who wishes to become pregnant at some point,refers having tiredness, shortness of breath with exercise.
Discuss the reasons for the escalation in numbers : Discuss the reasons for this escalation in numbers; why are the veterans of the war in the Middle East suffering from such high numbers of PTSD?
Provides a real life example of the consequences : describe the consequences of relying on and expecting gender differences. Find a recent news article that provides a real life example of the consequences.
Describe the sex differences present in the anatomy : Describe the sex differences present in the anatomy of the biological male and female and how those differences affect function (eg. cognition, etc).
Briefly describe the interaction required to trigger : COS10011 Creating Web Applications, Swinburne University of Technology - Briefly describe the interaction required to trigger the event and what a programmer
Post your histogram and interpret it in terms of normality : Post your histogram and interpret it in terms of normality. Explain your reasoning. Note: Refer to the Learning Resources for assistance.
Foremost of issues we face year-the global pandemic : The foremost of the issues we face this year-the global pandemic and massive nationwide reckoning with racist violence-are profoundly intertwined
Place the events associated with information : Place the events associated with Information Theory in the order in which they occurred.
Healthcare providers and nonbinary patients : Healthcare Providers and Nonbinary Patients. How is healthcare affected by this issue? Who are the stakeholders involved?

Reviews

Write a Review

Web Project Questions & Answers

  Evaluating an ecommerce website

Create a check list that contains key point for evaluating an ecommerce website - Write a short, reflective report about website

  Gpc and runtime magic quotes

Create a script that lets you know whether Zeus or Helios has the GPC and Runtime Magic Quotes turned on or off. The output should have appropriate labels that define what output signified and should display 'ON' or 'OFF' depending on the setting.

  Creating functions through conditional operator

Use the conditional operator and the cal_days_in_month function, determine the number of days in the current month and output to browser whether it is normal month or a leap month.

  Web development projects with database

Since the vast majority of web-development projects involve a database, do you think that computational activities should be performed there, or do you think they belong in the XML page or stylesheet?

  Comparing shelf software packages

Required assistance with comparing and contrasting two main off the shelf software packages that could be implemented in an organization.

  Web based scams

Web phishing, pharming and vishing are popular web based scams. Talk about currently used tools and recommended measures to defeat this kind of attacks efficiently?

  Explanation of contextual links

The most powerful hypertext capabilities is the the contextual link. Wikipedia . com is a great example of a site that utilizes contextual links.

  How architectural and protocol changes occur

Discuss how architectural and protocol changes happen, the administrative organization that oversees the technical development of the Internet,

  Traditional approaches for training professionals

Webinars and other web conferencing techniques have proved most beneficial for the provision of affordable quality corporate training.

  Internet for business

Discuss how can a business use the Internet and give at least three examples with web links demonstrating your answer.

  It influences the behavior of organizations

Information technology influences the behavior of organizations. Name one effect of Information technology implementation and long-term usage you suppose having a positive contribution and one having a negative consequence.

  Importance of a guided navigation system

Explain the use and importance of a guided navigation system and shopping cart for a website designed for e-commerce and business purpose.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd