Interactive Design - Exercises

28/09/2023 - /09/2023/ Week 1 - Week 

Amelia Intan Cahyani/ 0355211

Interactive Design/ Bachelor of Design (Hons) in Creative Media

Exercises



Lectures - Week 1

Mr. Shamsul introduced the module to us in Week 1 along with the assignments we would be completing. We next created an account with Netlify and analyzed websites that had won awards, according to https://www.csswinner.com/winners.

Lectures - Week 2

This weeks topic is usability. There are five key principles of usability, which includes:

1. Consistency - Intuitive design is consistent. It guarantees that your website appears and functions properly. Similar-looking items should get the same result.
2. Simplicity - User interfaces should be easy for users. Simple refers to minimizing the number of steps in a procedure.
3. Visibility - Users will be aware of visual elements such as photo thumbnails, symbols, and buttons. When an element is hidden, it is difficult to discover and apply.
4. Feedback - An outcome of an engagement is feedback. Users cannot know whether a task is finished without feedback, for example, whether a payment was successful. 
5. Error prevention - Notifies the user when an error is being made so that they can complete a task correctly.

Lectures - Week 3

1. Improve website structure for better user-friendliness.

2. Use SEO by adding keywords with tags to help search engines find the site.

3. The footer marks the end of the webpage.

4. Include navigation options in the footer for easy access.

5. Organize HTML code with headers like h1, h2, h3, and so on.

6. Keep navigation visible on desktop versions.

7. Put the most vital information on the landing page.

8. Consider adding quotes to enhance website credibility.

Lectures - Week 4

1. CSS stands for Cascading Style Sheet.

2. HTML stands for Hypertext Markup Language.

3. Why is it important? To have a universal language everyone understands and to ensure text displays correctly in all 4. browsers without needing rewrites.

5. You can change the heading's style using the style option.

6. CSS can be used to alter a website's appearance.

7. Tags in HTML can be one-sided or two-sided.

8. In HTML, we use <> called angle brackets; in CSS, we don't use them.

9. <b></b> are the opening and closing tags respectively, and for <a></a> and <img>, it's necessary to use attribute tags like <a href="#id"></a>.

10. HTML is in the American language.

11. There are two types of lists in HTML: ordered lists <ol><li></ol> and unordered lists <ul><li></ul>.

12. Links are created using the <a> element.

13. To add an image, use the <img src="image link"/> tag, which is a one-sided tag.


We were asked to do a simple coding exercise using html, here's my link

Lectures - Week 5

1. The name shouldn't have any special characters.

2. The first page should be named "index," while the others can have any name.

3. To view it in your web browser, go to "File" > "Real-Time Preview" or click the icon at the bottom right.

4. Manage your website by linking it to the folder in Dreamweaver.

5. The <div> tag doesn't have any attributes, but you can add an "id" attribute or "class" markup to it.

6. Two HTML elements can't have the same "ID" (it must be unique), but the "class" attribute can be the same for multiple elements.

7. BLOCK elements take up the whole space and cannot be side by side (e.g., <h1>).

8. INLINE elements can be placed side by side (e.g., <b><i>).

9. In HTML, we use <> and in CSS, we use {}.

10. CSS allows for customizable styles (CSS {property: value;}).

11. To change the style for the entire document, add it to the head.

12. Each attribute must be separated by a space.

13. For the "background attachment" to remain fixed and not scroll, you can use shorthand.

14. For the background, set it to repeat only in the horizontal direction (background-repeat: repeat-x).

15. Avoid using numbers in the code.

16. The system font is a font from your computer's system; some users might not have it.

17. In "project 1," the width is 1330 pixels, and there are 12 columns for the grids, which can stretch.

Lectures - Week 6


This week, we learned about CSS Selectors. Selectors are like tags that tell the computer which part of a webpage you want to style. There are several types of selectors:


1. Universal Selector: This one affects everything on a page and is represented by an asterisk (*). For example, you can use it to style everything on the page.


2. Element Selector: This targets specific HTML elements by their names. For example, you can use it to style all paragraphs (p), list items (li), ordered lists (ol), or headings (h1).


3. ID Selector: This is for targeting an element with a special ID attribute, like hyperlinks. You use a # symbol before the ID name. For example, you can use it to style an element with the ID "chosen."


4. Class Selector: This one targets elements with a specific class attribute. Multiple elements can have the same class. You must use a period before the class name. For example, you can style elements with the class "my-class."


5. Descendant Selector: It selects an element that is inside another element. For instance, if you want to style links inside a container, like a table or a button inside a div, you can use it.


6. Child Selector: This selects elements that are direct children of another element. For example, to select only the immediate list items (<li>) that are children of an unordered list (<ul), you can use this selector.


7. Pseudo-Class Selector: This one is for selecting elements based on their state or position, like when a link is being hovered over, clicked on, or visited.


8. Pseudo-Element Selector: It's used to style parts of an element rather than the element itself, like adding content before or after an element.


These different selectors help you be very specific in targeting parts of a webpage. They make your webpage look good, work well, and be accessible to all users, no matter what browser or device they're using. So, it's like having a toolbox full of tools to make your website just the way you want it.

Lectures - Week 7

In our lesson, we figured out how CSS helps us control how things look on a webpage. Here are some important things we learned:

1. Block-Level Elements: These are like the "big building blocks" of your webpage. When you use them, they start a new line and stretch horizontally, making sure each one gets its own line.


2. Inline Elements: These are like the "small details" of your webpage. You can put them in a line without making a new line for each one. They're good for keeping things close together.


3. Other Display Options: Besides block and inline, there are other ways to show elements on your webpage. You can choose to make things act like blocks that stay close together (inline-block), or you can arrange them flexibly (flex) or in a grid.


4. Containers: These are like big, invisible boxes that wrap around most things on your webpage. They're like a protective layer with some extra space (padding), a border around them, and some space outside (margin). They help you control how things are placed and spaced on your webpage.

Lectures - Week 8

1. Static Position: This is the normal position of an element. It just stays where it is.

2. Relative Position: If you move the container of an element with relative positioning, the element inside will move along with it. It won't affect other elements, and it doesn't take up extra space.

3. Absolute Position: An element with absolute positioning is like a sticker. If its container is set to relative, it stays inside that container. If not, it sticks to the corners of the webpage. It doesn't affect the space of other elements.

4. Z-Index: This is like arranging layers. You can use it to decide which element appears in front of others.

5. Sticky Position: To use this, the parent container must have relative positioning. Sticky elements stay put until you scroll past them. It's important to set a parent container to relative so your contents don't get messed up.

6. vh (Viewport Height): This means a percentage of the whole viewport. So, 100vh is the entire height of what you can see on your screen.





Instructions



Exercise 1 - Website Analysis


The first task we have is to select two websites from the provided link and analyze them, considering their design, layout, content, and functionality. We must identify the website's strengths and flaws and examine how these affect the user experience. 

When creating the analysis, we must consider various factors:
1. Consider the website's purpose and goals, and whether they are properly conveyed to the user.
2. Examine the website's visual design and layout, including its use of colour, typography, and graphics.
3. Consider the website's functionality and usability, including navigation, forms, and interactive aspects.
4. Examine the website's material for quality and relevancy, including correctness, clarity, and organization.
Consider the performance of the website, including load times, responsiveness, and compatibility with various devices and browsers.


fig 1 Website Analysis

Exercise 2 - Website Replication

To obtain a better grasp of the structure of the websites listed in the link provided, you need to recreate 2 of their existing main pages. Choose two from the list provided. Take the width and height of the existing website as a guide. This activity will help you improve your design skills by utilizing software such as Photoshop or Adobe Illustrator, as well as gain knowledge about web design best practices. You are free to use any image from the stock image or free stock icon collection. It is not needed to use an exact image from the source website. You can substitute a comparable image for it. Pay attention to the layout, typeface, and colour scheme. You can download fonts from Google Fonts to find comparable typefaces/fonts. You need to screengrab the webpage before you can begin to replicate the page. 

The 2 Websites i chose was Bandit Running and Ocean Health Index

fig 2 & fig 3 Website Overview Before



fig 4 & fig 5 After Replicate


Exercise 3 - Recipe Card


In this task, you'll make a recipe card using HTML and CSS. The aim is to create a simple web page that shows a recipe's ingredients and steps in a nice way.

1. Make a new HTML file and name it "index.html."

2. In the HTML file, set up a section for the following:

- Recipe title

- Include any images you need

- List of ingredients

- Step-by-step cooking instructions

3. Now, create a separate CSS file and name it "style.css."

4. Use CSS rules to style your recipe card. You can use selectors like these to style different parts:

- To style the whole page: (e.g., body, h1, ul)

- For specific things like the recipe title or ingredient list: (e.g., .recipe-title, .ingredient-list)

- To style the step-by-step instructions: (e.g., #instructions)


For this task i followed the lecturers tutorial

Html:

fig 6 Html My Recipe

Css:
fig 6 Css My Recipe

Final Link: Amelia Cooks



Comments

Popular Posts