Web&UI Lab 4

19 Feb 2022

Web&UI Lab 4

This is the last lab that will be marked. It must be completed by Sunday February 27th.

Part I – Coding a Fish Creek Website

  1. Alter your Fish Creek code (from previous labs) to use the following:
    a. Classes and ids
    b. Centring layers
     .centered{
         margin-left: auto;
         margin-right: auto;
         width: 70%;
     }
    

    c. The position attribute

    d. The float attribute
    Ensure No. 1 is complete before you answer 2 & 3.

  2. Test your code with the HTML validator (http://validator.w3.org/ ) and the CSS validator (http://jigsaw.w3.org/css-validator/ ). (record in blog)
    1. What are the problems that are highlighted?
    2. Were you able to fix them?
      ``` Warning: Consider adding a lang attribute to the html start tag to declare the language of this document.

    From line 1, column 16; to line 2, column 6

    TYPE html>↩<html>↩<head

    For further guidance, consult Declaring the overall language of a page and Choosing language tags.

    If the HTML checker has misidentified the language of this document, please file an issue report or send e-mail to report the problem.

    Warning: Section lacks heading. Consider using h2-h6 elements to add identifying headings to all sections.

    From line 48, column 3; to line 48, column 11

    </nav>↩↩ <section>↩ <

    
     Fix: add lang and header
    
    
    ...

    ```

  3. Test your code across three browsers. (record in blog)
    1. Were there any?
    2. If so, were you able to fix them?
      I tried IE, Chrome, and Edge, there were no problems.
  4. Try the following CSS game: http://flukeout.github.io/ (record in blog)
    1. What level did you get to?
      Level 32
    2. What did you learn from the game??
      • ”+” to select the following element.
      • ”~” You can select all siblings of an element that follow it. This is like the Adjacent Selector (A + B) except it gets all of the following elements instead of one.
      • ”>” You can select elements that are direct children of other elements. A child element is any element that is nested directly in another element.
      • “el:first-child” You can select the first child element. el is the tag name of the child not the parent.
      • .example:nth-of-type(odd) selects all odd instances of a the example class.
      • span:nth-of-type(6n+2) selects every 6th instance of a span, starting from (and including) the second instance.
      • a[href] selects all a elements that have a href attribute no matter what value href equals to.
      • [attribute=”value”]Attribute selectors are case sensitive, each character must match exactly.
      • .toy[category^=”Swim”] selects elements with class toy and either category=”Swimwear or category=”Swimming”.
      • [class*=”heading”] selects all elements with “heading” in their class, like class=”main-heading” and class=”sub-heading”

Part II – Web Development Tools (record in blog)

  1. Look at the “Developer Tools” in the Chrome Browser and answer the following:
    a. What does your page look like from a mobile perspective?
    Bigger texts due to lower resolutions and smaller buttons due to using of % to adjust size in css.

    b. What will you use this tool for when developing a website?
    For testing responsiveness.
    Checking responsiveness and availibility on phones or tablets.

  2. Research and describe one other extension/add-on that could be helpful when developing a website for each of the following browsers:
    a. Firefox
    b. Chrome
    Perhaps the speed limit, because it allows me to find out how quick website is rendered in poor networks. And the element checker, let me inspect if the css is working right.

Part III – Perception, Attention & Memory (record in blog)

  1. Visual perception (attention and memory) Play the following games - https://www.freebrainagegames.com/

    i. Comment on how you did overall.
    Congratulations! Your Brain Age is 32

    ii. Comment on what strategies you used to get the best score you could.
    Name the position with letters and rememder the sequence instead of positions in the first game.

  2. Visual memory – play the following game: https://www.proprofs.com/games/pattern-memory/

    a. Comment on how you did.
    21100 Scores

    b. Did you use the Gestalt principles (https://www.interaction-design.org/literature/topics/gestalt-principles) during this game?
    Of course.

    c. How can this exercise help you as an interaction designer?
    I can use Gestalt principles(similarity, proximity, closure, continuity) to desgin my websites. Because that will help users to group and search contents on my website more easily.

  3. Testing attention & working memory – do the following activity: https://youtu.be/vJG698U2Mvo

    a. How selective was your attention?
    Very selective.

    b. How is this relevant to usability?
    We should make the most important contents more visible. Or else our users may get attracted by irrelavent contents and miss the real important ones.

Thanks for you donation

Please choose your pay method
USD

Bitcoin-Deposit Address:

1DGiAzDacFRxewyos23C14cKcgD5LGZ5hK

Doge-Deposit Address:

DRpHTcQXKcauPktjz9WMALST3Vnf5SviDs

ETH-Deposit Address:

0xd34447399c497337a61eccb29cc2ef3e0dad7d13

Other Cryptos-Deposit Address:

coming soon