SYST10049 Web Development:Worksheet 3

Prev

Next

1. Review, connect, dig deeper

1.1. What will your website look like?
Did you complete and review material from previous worksheet, including...
  • Planning: What is your website about? What info are you presenting on the subject? What is it going look like?
  • Sketching out your design - wireframe diagrams.
  • Choosing your assets: text, color theme, images, font.
  • What's in the head? Metadata in HTML -- What is the HTML head? Adding a title. Metadata: the META element. Applying CSS and JavaScript to HTML. Setting the primary language of the document.
  • WCAG (accessible web design principles: perceivable, operable, understandable, robust)
1.2. Preparing server environment
  1. Did you download and install FileZilla client?
  2. Did you request a password for dev.fast.sheridanc.on.ca server? Did you receive and read the email? Store your password in a safe place (see previous worksheet).
1.3. Take a closer look

2. Read and explore more concepts

2.1. Preparing server environment
  1. INSTRUCTIONS UPDATED
    Protect assignments directory: All assignments must be published and password-protected.
    1. STEP 1. Read through carefully: SYST10049 Setup Tasks: Protect Assignments with cPanel
    2. STEP 2. Using the File Manager in the cPanel, navigate to public_html directory, create the folder syst10049 using the +Folder menu item (see FIGURE 1).
      FIGURE 1. +Folder is the second menu item from the left, in the top menu.
      remove authorized users
    3. STEP 3. Move to the syst10049 folder and create the assignments folder, the templates folder, and the week03 folder.
    4. STEP 4. Move to the assignments folder and create the assignment1, assignment2, assignment3, and assignment4 folders. Your sub-tree should look the same as illustrated in FIGURE 2.
      FIGURE 2. Sub-tree on the server
      Sub-tree on the server
    5. STEP 5. Complete the steps in the "SYST10049 Setup Tasks: Protect Assignments with cPanel" in STEP 1.
    6. STEP 6. If you make a mistake and protect the wrong folder:
      1. Navigate to the folder that you have protected by mistake (remember: to navigate, you click on the icons)
      2. Click on the text (name of the folder) that you want to unprotect.
      3. Scroll down to the bottom of the page. Under the heading "Authorized Users", select (click on username) and then click the "Delete User" button underneath.
      FIGURE 3. How to remove authorized users
      remove authorized users
  2. Publishing process to dev.fast.sheridanc.on.ca
    FIGURE 4. Publishing process to dev.fast.sheridanc.on.ca
    Publishing process to dev.fast.sheridanc.on.ca
  3. How do you upload your files to a web server? (MDN web docs)
  4. How do you make sure your website works properly? (MDN web docs) Test in your browser. HTTP statuses. Frequent errors. More things to check.
2.2. Plan, design, and construct website
  1. Dealing with files (MDN web docs)
    Where should your website live on your computer? An aside on casing and spacing. What structure should your website have? File paths.
  2. What are browser developer tools?(MDN web docs)
    How to open the devtools in your browser. The Inspector: DOM explorer and CSS editor.
  3. Document and website structure (MDN web docs)
    1. HTML for structuring content. HTML layout elements in more detail. (Information architecture: Information architecture, as applied to web design and development, is the practice of organizing the information, content, and functionality of a website so that it presents the best user experience it can, with information and services being easily usable and findable.)
    2. Basic sections of a document (header, navigation bar, main content, sidebar, footer)
    3. Many web designers consider the navigation bar to be part of the header rather than an individual component, but that's not a requirement; in fact, some also argue that having the two separate is better for accessibility, as screen readers can read the two features better if they are separate.
    4. we need to respect semantics and use the right element for the right job.
    5. article, section, aside, header, nav, footer, body, article, section; span, div; br, hr, p
  4. HTML basics (MDN web docs) ADDED
    So what is HTML? • Anatomy of an HTML element • Nesting elements • Void (Empty) elements • Anatomy of an HTML document • Marking up text (Headings, Paragraphs, Lists) • Links
2.3. HTML Living Standard
2.4. Testing for valid HTML and accessibility
  • Testing for valid HTML with https://validator.w3.org/
  • Testing for accessibility with WAVE Web Accessibility Evaluation Tools
  • Accessibility tree Browser Accessibility Tree provides a representation of the document that is used by assistive devices like screen readers. Each node in the tree has the properties name, description, role and state.

3. Practice. Practice. Practice.

3.1. Create templates project
Complete all steps.
3.2. Create week03 project
  1. Copy the templates project. Rename the copy week03
  2. Rename the template.html to index.html. This will be the only page for this project.
  3. Remove all markup in the BODY element. This page does not have a header and footer, main, and aside.
  4. Add content to your HTML file (un-marked). Copy and paste the text within the BODY element:
    Textual content of the letter
  5. Examine the image of the letter. Observe the content characteristics.
    The final (original) rendering of the letter (including CSS in Phase II PE)
  6. Compare to image of the letter as rendered without any CSS. Remember CSS is added only after the content is marked up with HTML5, with the objective of achieving semantic correctness, accessibility, well-formedness, and validity.
    The rendering of the letter at the end of Phase I PE (without CSS)
  7. Here is a suggested list of requirements. You can incorporate the requirements list in your document and use the TODO and DONE notation to keep track of your progress: Suggested documentation You can also read the original project on Marking up a letter on MDN LINK UPDATED -- ignore all references to CSS -- Addressor's contact information WILL NOT BE aligned on the right! (that will come later in PE Phase 2)