Create a Home Page: Part 1 • Contain an image or logo about your website. • Must contain three...

60.1K

Verified Solution

Question

Programming

Create a Home Page:

Part 1

• Contain an image or logo about yourwebsite.

• Must contain three navigation links. Home link.Registration link. Animations link.

• Footer will contain links to web pages to any othersite you wish (just be outside your webpage, like YouTube,etc.)Open links in new tab, not current tab.

Create a Registration page:

• Registration Fields:

1) User Name - Input Text

2) Password - Input Password

3) Repeat Password - Input Password

4) First Name - Input Text

5) Last Name - Input Text

6) Address line 1 - Input Text

7) Address line 2 - Input Text

8) City - Input Text

9) State - Drop Down of Options

10) Zip Code - Input Text

11) Phone Number - Input Text

12) Email - Input Text

13) Gender - Radio buttons

14) Marital Status - Radio buttons

15) Date of Birth - Input Text, must have a calendarpop up (date picker)

16) Submit Button - Form submit button

17) Reset Button - Clears form fields to defaultsettings (normally empty)

Create an Animation page:

• Use CSS3 animations to make an animation thatmatches your web site theme.


Part 2

• Add client side HTML5 and JavaScript form validationfor user input

• Validation Rules for Registration Fields (do notchange the input types from Project 1, these validation characterlengths are going to be the database column sizes, so forradio/drop down options, just do not give the user a valueunder/over the limit):
1) User Name

a. Required Field

b. Max length 50 characters, minimum length 6characters

2) Password

a. Required Field

b. Max length 50 characters, minimum length 8characters

c. Enforce 1 capital, 1 lowercase, 1 digit, 1 specialcharacter

3) Repeat Password

a. Required Field

b. Max length 50 characters, minimum length 8characters

c. Enforce 1 capital, 1 lowercase, 1 digit, 1 specialcharacter

d. Ensure password fields match

4) First Name

a. Required Field

b. Max length 50 characters

5) Last Name

a. Required Field

b. Max length 50 characters

6) Address line 1

a. Required Field

b. Max length 100 characters

7) Address line 2

a. Optional Field

b. Max length 100 characters

8) City

a. Required Field

b. Max length 50 characters

9) State

a. Required Field

b. Max length 52 characters

10) Zip Code

a. Required Field

b. Max length 10 characters, minimum length 5digits

c. Use jQuery/JavaScript to dynamically adjust userinput to match either xxxxx or xxxxx-xxxx format (this should bedone either as the user is typing or after leaving thefield)

11) Phone Number

a. Required Field

b. Max length 12 characters

c. Use jQuery/JavaScript to dynamically adjust userinput to match xxx-xxx-xxxx (this should be done either as the useris typing or after leaving the field)
format

12) Email

a. Required Field

b. Email format, [email protected] format, where x is aplaceholder for valid alphanumeric characters

13) Gender

a. Required Field

b. Max length 50 characters

14) Marital Status

a. Required Field

b. Max length 50 characters

15) Date of Birth

a. Required Field

b. MM/dd/yyyy format

16) Submit Button

a. Submits valid user data only

17) Reset Button

a. Resets all fields to default value (empty, for mostfields)

----------------------------------------------------------------------------------------------------

• When validating user input with JavaScript. Checkall user input fields.

o All valid user inputs are marked green with someicon or messaging indicating good
input.
o All invalid user inputs are marked red with some icon ormessaging indicating bad input.

o Make sure all valid user data is submitted to theserver

----------------------------------------------------------------------------------------------------


Answer & Explanation Solved by verified expert
3.6 Ratings (621 Votes)
Part 1According to the step by step procedure webpage is developedand the javascript which was developed while click on button resetwhich will clear all the data here the javascript to code tobetter understanding how to use the function to clear the datafunction ClearFields documentgetElementByIdusernamevalue documentgetElementByIdpasswordvalue documentgetElementByIdfnamevalue documentgetElementByIdlnamevalue documentgetElementByIdads1value documentgetElementByIdads2value documentgetElementByIdcityvalue documentgetElementByIdstatevalue documentgetElementByIdzipvalue documentgetElementByIdphonevalue documentgetElementByIdemailvalue documentgetElementByIddatevalue Now to design the webpage more responsive that is make use ofcss and animation effect here the css file which was defined andhere the code for clear understandingbody fontfamily Helvetica margin 0a textdecoration none color 000siteheader borderbottom 1px solid ccc padding 5em 1emsiteheaderafter content display table clear bothsiteidentity float leftsiteidentity h1 fontsize 15em margin 7em 0 3em 0 display inlineblocksiteidentity img maxwidth 55px float left margin 0 10px 0 0sitenavigation float rightsitenavigation ul li margin 0 padding 0sitenavigation li display inlineblock margin 14em 1em 1em 1emfooter position relative textalign center bottom 0 width 100 padding 3px height 25px backgroundcolor f5f5f5 info fontweight bold colorred form div textalign left margin 5px 3px fontsize 22px inputtyperadio margin 4px 0px 20px 105px gend display flex marginleft 64px dgend textalign center margin 5px 56px 5px 4px inputtypedate fontsize16px color252e387a inputplaceholder fontsize16px color252e387a form positionrelative width365px height100 margin50px auto 100px textaligncenter backgroundeeeeef padding40px webkitborderradius40px 0 0 0 mozborderradius40px 0 0 0 borderradius 50px 7px 50px 7px boxshadow 9px 11px 0px 2px eef1fb38 inset 10px 7px 0px 0px a3a7b1f2 h4 fontfamily Source Sans Pro sansserif fontsize2em fontweight300 margin 24px 13px 12px 12px color000 textshadow1px 1px 0px white input displayblock width315px padding14px webkitborderradius6px mozborderradius6px borderradius6px border0 marginbottom 20px color7f8c8d fontweight600 fontsize16px inputfocus backgroundfafafa select displayblock width350px padding14px webkitborderradius6px mozborderradius6px borderradius6px border0 marginbottom 20px color7f8c8d fontweight600 fontsize16px backgroundcolor fff selectfocus backgroundfafafa button position relative float left width 145px margintop 10px background 507492 color fff fontweight 400 textshadow 1px 1px 0px 2d7baf boxshadow 7px 6px 0px 9c9c9cc4 webkittransition all 3s easeinout moztransition all 3s easeinout transition    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students