COS60004 Creating Web Applications
Assignment Part 1, Semester 1, 2021 Develop a simple static website
Swinburne University of Technology Faculty of Science, Engineering and Technology COS60004 Creating Web Applications Assignment Part 1, Semester 1, 2021Develop a simple static website
Week 5, Monday by 10am
(Late submission penalty 10% of total available marks per day)
Your tutorial: Week 5
Contribution to Final Assessment: 12%
This is an Individual Assignment. All work must be your own. Submissions are automatically checked for similarities. Unexplained similarities may constitute plagiarism. Carefully read the section on plagiarism in the Unit Outline before you proceed (including the section forbidding sharing your work with others).
Purpose of the assignment
This individual assignment will familiarise you with the techniques and skills involved in designing and creating static webpages utilising validated HTML and CSS created with a standard text editor. You will deploy these Web pages on a Unix / Apache server. This should be done in a way that keeps HTML content and CSS presentation separate, as discussed in the lectures.
The essential requirements for this assignment are listed in the marking guide. In general the web pages must:
have relevant content
must include the HTML markup specified in the marking guide
must validate to HTML5 without errors
must be styled by a validated CSS3 file
must be linked to each other via a menu
must be deployed on Mercury.
An IT company wants to develop a website that will enable it to advertise vacant positions. These have a ‘position description’ that sets out the qualifications, skills and knowledge required. Potential applicants for the position will be able to submit an online form to apply for a position.
In this assignment you will develop a prototype of this website. The website you develop will consist of the following Web pages, accessible from a common menu on each page:
Home page with details of the company (index.html)
A page of job descriptions (jobs.html)
A job application page (apply.html)
A page with your personal details (about.html)
A page which lists any enhancementsyou have made (enhancements.html)
You will also include
A CSS file that styles your website (style.css).
You must call these files exactly by these names, otherwise the marking program will not know they exist!
Content and presentation of Web Pages
The website must be developed using HTML5 to describe the content and logical structure. Web pages should not contain any deprecated elements/attributes.
The following HTML elements must be used in this assignment
oComment, Head, Title, Meta, Body
As appropriate to each page
oHeader, Navigation, Footer, Section, Aside Used in most pages
oHeading levels, Paragraph
oOrdered list, Unordered list, Definition list, Table, Image and Anchors
oOther elements as detailed in the page requirements shown below
oA Form, with labelled and grouped form control elements which validate user input
Where “in-house” templates have been defined in this unit (e.g. for meta-data; tables; etc.) these should be followed.
All Web pages should have a consistent layout and navigation.
The HTML in your Web pages must validate against the W3C HTML5 validator http://validator.w3.org/nu .
Accessibility guidelines should be followed, especially for media, tables and forms.
Elements such as block quotes, strong, emphasis, among others can be used, if deemed necessary and appropriate for the content.
Generic structural elements like div or span should only be used where there is not a more appropriate or meaningful HTML5 element (e.g. section or strong).
Pages should not contain any deprecated elements/attributes (e.g. , ). Do not use iframe elements in your assignment.
Sources / References:
You can use material from other websites but the source of all material must be
acknowledged. This acknowledgement should be immediately after the material and include a hyperlinked URL to the original source. The text of the hyperlink reference can be a short name but the hyperlink must work.
If you are unsure of what is contained in a position description there are many resources on the web.
3.Job application page (apply.html)
This page has a form that allows a potential candidate to register their interest in the advertised
position. HTML5 data validation should be used to check the user’s input.
The form will allow a potential applicant to fill in the following:
Job reference number
exactly 5 alphanumeric characters
max 20 alpha characters
max 20 alpha characters
Date of birth
radio inputs grouped using a fieldset and legend
max 40 characters
max 40 characters
drop down selection from
exactly 4 digits
8 to 12 digits, or spaces
Skill list – the last item in list
should read “Other skills…”
All inputs should have labels. All form values, except the comment textarea are ‘required’ or have a default value (e.g. select and checkbox inputs). The user should not be able to submit the form if any of these required fields are blank.
Data Submission to Server
The form should have a submit button labelled “Apply”. When this button is clicked the name- values from the associated form should be sent to the server using the post http method. The server action address is https://mercury.swin.edu.au/it000000/formtest.php. The server will then just echo back the name value pairs to the client. While nothing will be stored on the server in this part of the assignment (we will do this in Part 3) this will allow the form submission to be tested.
4.A page about you (about.html)
This page will contain information on the following:
HTML element to be used
Your tutor’s name
Course you are doing
Photo of you < 100k
HTML figure element
Your Swinburne timetable
A mailto link to your student email.
It could also include personal profile, such as resume, interests, or information that is related to you. This extra information gives you an opportunity to extend the techniques you apply in your assignment, and could include:
Demographic information about you
Description of hometown
A list of your favourite books, music, films etc.
No style markup should be included in your HTML file.
The pages in your website must be styled with CSS and have a consistent ‘look and feel’, particularly common elements such as menus, headers and footers. While the emphasis is this assignment is on the appropriate application of techniques rather than graphic design, your pages should follow basic usability / accessibility principles, e.g. distinguishable foreground and background colours, and font readability, etc.
Create your own design and implement it using one single external stylesheet that applies to all
your Web pages. This file should be named style.css and placed in a styles folder on the server.
The stylesheet should style the common elements on all your web pages, and address the following specific style requirements.
1.Comments: The CSS should include comments at the beginning of the CSS file to identifyauthor and purpose. Individual line comments should be used as necessary to explainparticular styles and explain where they are applied.
2.Selectors: All the following CSS Selectors should be used appropriately at some point in thisassignment:
element, #id, .class, grouping, contextual
pseudo class, pseudo element
3.Menu: The menu should have its own set of styles applied. Use a background colour.
4.Index Page: Demonstrated the following specific CSS rules on the index.html page:
display a background graphic.
5.Position Descriptions Page: Demonstrated the following specific CSS rules on the jobs.html
elements should have their font variant, size and family etc. set using theshort-hand font property.
The should be 25% of the width of page and float to the right.
The should have a coloured border with an appropriate margin andpadding.
The footer should cover the full width of the page the footer text should be in asmall font and centred in the footer..
6.About Page: Demonstrated the following specific CSS rules on the about.html page:
Style the definition list so that each is on the left and the on the right in asingle line. Set the dt to have a common width.
The photo should be styled with a single border using the short-hand border- property, and the figure should be floated to the right of the definition list
should be centred within the section, headings in bold, table cells with abackground colour specified in hexadecimal format
The email should be style similarly to the definition list.
7.All pages: should have a fluid layout (the page should “Reflow” on page resize).
Other CSS selectors and properties can be used as necessary and appropriate for the presentation
Do not include any proprietary CSS mark-up, such as –moz- or –webkit etc.
Hint: CSS validators will validate against a particular version of CSS e.g. CSS2.1 or 3. This assignment should be valid CSS2.1 or CSS3. Make sure that you are checking your CSS using the correct version of the validator. For example, if you include CSS3 markup and validate as CSS2.1 it will show errors.
Enhancements to the Specified Requirements
Note: Make sure you get all the basics working first before you attempt any enhancements. See the marking Guide below.
The technologies for developing Web applications are rapidly changing. One of the key skills you will need is finding out about these new techniques and applying them. This assessment gives you an opportunity to demonstrate your ability to implement features/techniques that go beyond the specified requirements above. It also provides you with an opportunity to demonstrate your ability to discover techniques from a range of sources and apply them in a standards compliant manner.
These enhancements need to be implemented within the required web pages (index.html, jobs.html, apply.html, about.html). The extra feature needs to enhance your web site in a meaningful and relevant way.
List and describe each enhancement implemented on the separate enhancements.html page, and describe how you have significantly extended the basic HTML and CSS beyond the lecture and tutorials. Hyperlink from this list to where the feature is implemented in your Web site.
If it is a CSS feature, hyperlink to an example of the html that is selected by the CSS rule. For each enhancement feature briefly explain:
how it goes beyond the basic requirements of the assignment
what code is needed to implement the feature
the references to any third party sources for the technique, (e.g. URL) must be cited.
a hyperlink to where you have applied that extension in your Web site
(this is needed so the tutor can quickly assess your enhancements during the demonstration).
A maximum of 2 enhancements will be assessed (up to 10 marks each). Examples of HTML/CSS enhancements you might make that will contribute a high distinction mark include:
Effective, appropriate and innovative use of a number of distinct HTML elements not coveredin tutorials (e.g. Image maps, Canvas, etc) used in a way that improves the user experience ofthe website.
A number of additional CSS properties or selectors (e.g. support for interactivity, animation)not covered in the tutorials. For example the use of a range CSS3 pseudo-elements and classes,child or siblings combinators, attribute selectors, etc. (e.g. use the CSS3 :target selector to helpus see where you have applied your enhancements.)
Implement Responsive Design with additional CSS that presents your website specifically formobile phone / tablet sized displays.
Discuss your proposed enhancements with you tutor before you implement them.
The number of marks you receive for an enhancement will be at the sole discretion of your tutor/marker. As a guide if the enhancement has only taken a couple of lines of code it is likely to be trivial.
Be relevant to / enhance the content of the website
Be well described (as explained above)
Be significantly different from other features you have implemented.
Web Site Folder Structure and Deployment Requirements
The directory structure of your website is described below. You can create additional HTML files for your content (depending on what your content requires), but the following is needed:
HTML files should only be in the base “assign1/” folder – not anywhere else.
All images used for the content should be stored in the “assign1/images/” folder.
All images used for the style should be stored in the “assign1/styles/images/” folder.
There should be a “style.css” file in the “assign1/styles/” folder.
All links to your files (CSS or images) should be relative. Do not use absolute links, asthese links will be broken when files are transferred for marking. No marks will beallocated if links are broken.
Note: DO NOT INCLUDE VIDEO OR OTHER LARGE (>5MB) MEDIA FILES IN YOUR SUBMISSION.
An electronic copy of your assignment should be submitted through Canvas on or before your deadline.
Make sure all your files are in the correct folders and compress your root folder with allyour sub-folders with HTML, CSS, and images into a zip file named “assign1.zip”. Submitthis to Canvas. When the zip file is decompressed, the entire website should be able to berun from index.html without needing to move any files.
You can submit more than once through Canvas.
Note that all deliverables must be submitted electronically. There is no need to submit anassignment cover sheet.
Mark Sheet Marker …………..
if requirement met
–validated HTML5 with all meta tags, title, author
–nav menu that links logo/graphic
–validated HTML5 nav menu appropriate levels of headings
–meaningful content > ~150 words image list
–validated HTML5 nav menu form (at least different four form controls)
specified data echoed back from server some HTML5 data checking
–validated HTML5 nav menu
–dl list timetable photo email link
–validated external CSS single file CSS applied to all HTML pages
–consistent typological style applied to all pages some CSS layout applied
Selectors used: element ,#id ,.class
Deployed to Mercury
Subtotal (all Y)
Specified Requirements Place or in box – 2 marks each tick
HTML (deduct 2 marks up to -10 for each HTML5 validation error)
Menu that links (consistent menu on all pages)
Header with appropriate context including title Footer
CSS: Background graphic
Menu appropriately formatted with background colour
HTML (deduct 2 marks up to -20 for each HTML5 validation error)
Headings (at least contiguous 2 levels)
Ordered list , Unordered list , 2+ Sections , Aside
CSS: Aside 25% width , floats right , coloured border
font variant, size family set Footer full page width
apply.html (deduct 2 marks up to -26 for each HTML5 validation error) One mark only if input has no html check
Text input with HTML format checking for: job ref no (=5 char) , names (<20 char) , address (<40 char ) , postcode (=4 digits) , email , phone number (8 to 12 digits) Appropriate input for date
Radio buttons for gender with fieldset
Dropdown box for state Skills check boxes Text area
Labels linked with ‘for’ (test by ‘clicking’ on label)
Data for all inputs returned from server correctly
about.html (deduct 2 marks up to -16 for each HTML5 validation error)
definitions lists lists single line common width
photo in figure border as specified float right
timetable timetable format as specified email link works
CSS (general) (deduct 1 mark up to -8 for each CSS3 validation error)
Appropriate use of selectors: grouping , context , pseudo
Fluid page flow (relative dimensions)
Enhancements to Specified Requirements listed and linked from enhancements.html Maximum of 2 Enhancements will be assessed (put your best ones at the top of the list). Up to 10 marks are available per feature. Poorly implemented or trivial enhancements may receive less or zero marks.
Linked to where implemented on
your Web site
Source (if applicable)
Other Deductions based on demonstration, documentation, code and file inspection
Max Deduction if
-Poorly designed structure
-Appropriate contrast in colours
-Appropriate use of fonts
-Consist application of style across pages
-Appropriate application of styles (e.g. different styles for menu)
-Job descriptions have sufficient quantity
-Job descriptions is sufficient quality
-About.html content meets spec
-Images (including portrait) present and appropriate file size
-Meta-data follows in-house standard
-HTML has no embedded Style markup CSS is fully separated
-No deprecated elements/attributes used
-No inappropriate use of HTML semantics
(e.g. use of when should be used)
-HTML does not follow usability standards (e.g. alt on images)
-No redundant CSS or unused selectors
-Appropriate header comments (match in-house standard)
-Appropriate use of selectors (e.g. Class versus ID)
-Appropriate line comments
-All third party content acknowledged properly*
-Directory Structure as defined above
*Note: Failure to acknowledge third party code or content at all is plagiarism and may result in zeromarks for this assessment or other penalties in accord with Swinburne policy.
A final assignment mark will not be provided during the demonstration. All code is inspected after the demonstration by your tutor before a final mark is allocated.