Interaction Design: Final Project - Website Redesign and Development

SUN YU (0378222)

Interactive Design | BISD | Taylor's University 

Final Project: Website Redesign and Development

Development Process Challenge

Interactive elements

Demonstration video / test

Final submission draft 

Netlify hosting website link:https://comforting-basbousa-ba0a77.netlify.app/ ( final Xiangha Network)

Final project file :My drive contains HTML, CSS, images and video files.(File Name: Sunyu 0378222 Interactive Design Final Project: Xiangha Network)

Development process: 

Initially, I created 6 HTML files with custom CSS styles. I also developed 6 main pages, including the About Us page, Personal Profile page, Home page, Product page, Recipe page, and Food Details page.

I used the website shared by our teacher: https://getbootstrap.com/docs/5.3/components/modal/

The original website of Xiangha network:https://www.xiangha.com


fig1.Original website image1

fig2.Original website image2

fig3.Original website image3




Framework and style are unified.

The CDN of Bootstrap and DaisyUI was introduced to simplify the layout:

The Bootstrap class "col-10" was used to uniformly set the width and margin for all sections, making the white space and spacing of the entire website look more harmonious;

When customizing the style, either more specific CSS class names should be used, such as uniformly setting the color tone for buttons and cards on different pages.

fig4.

Document Declaration: Use the HTML5 standard document declaration <!DOCTYPE html> to ensure that the browser parses the page according to the latest standards, enhancing compatibility.
Head Metadata:
Character Encoding: <meta charset="UTF-8"> Uses UTF-8 encoding, which can support all Chinese characters and special characters, effectively avoiding the problem of garbled characters.
Responsive Configuration: <meta name="viewport" content="width=device-width, initial-scale=1.0"> Achieves mobile device adaptation, ensuring the page displays normally on different screen sizes, conforming to the trend of prioritizing mobile design.
Page Title: <title>香哈 Xiangha</title> Simple and intuitive, it includes both the Chinese brand name and its pinyin, balancing the convenience for user recognition and search optimization needs.
Style Introduction: Through <link rel="stylesheet" href="style.css">, external CSS style files are imported to separate the page structure from the styles, facilitating subsequent maintenance and modification.
Overall Hierarchical Structure: The page adopts a "container - partition - module" three-layer architecture, with clear logic and distinct levels, laying a good foundation for page layout and function expansion.
fig5.

Some of the processes
Web page head navigation production steps
  1. Enclosing: use <div class="container"> to wrap the whole page and <header> to define the header area
  2. Make Logo: use <div class=" lolo-container "> as the container, add <div class="logo"> and fill in the brand name "Xiangha"
  3. Do the main navigation:
  4. Wrap the navigation with <div class="nav-container">
  5. Use <nav class="main-nav"> to install navigation links, each link with <a> tag, write the function name (such as About Us), add href link corresponding to the page, and the current page with the active class identity
  6. The "My Favorites" link uses an inline <span class="heart-icon">♡</span> as the heart icon
  7. Add user functionality: Wrap it in <div class="user-actions"> with an Account link, <div class="avatar-placeholder">, and a Personal link
  8. Make a search box: wrap <div class="search-container"> with <input type="text"> and <span class="search-icon">🔍</span>
fig6.


  1. Enclose the form with <div class="form-section meta-info">
  2. Split: Use <div class="form-row"> to make a single line for multiple selections side by side
  3. Let's set up a selection container: Each selection is wrapped in <div class="form-group col-3">, and col-3 gives all three options an equal row width
  4. label: Specify the type of option (Time/Difficulty/People) in each container with <label>.
  5. Make a drop-down box: Use the <select> tag to create a drop-down selection function
  6. Optional: Use <option> in <select> to list the optional values (e.g. 15 min/30 min, Easy/Medium, etc.)
fig7.

Title:.section-label with "Ingredients";
List of ingredients:.ingredients-list wrapped around multiple.ingredient-rows (1 set of ingredients per row)
Each line contains: ingredient name input box, dosage input box, delete button (×);
add a new button:.btn-add-row to add more rows.
Key points: Support "add + delete" to meet the needs of different recipes
5..steps-form
Function: Fill in the cooking steps, can attach step pictures
Structure:
Title:.section-label with "Steps";
Step-items: Multiple.step-items, where each step contains:
.step-number: 1, 2, 3...
Step content: <textarea> (describe steps) +.step-upload-small;
add the.btn-add-row button and click Add More steps.

fig8.

fig9.




Question 1: Style duplication and redundancy, difficult to modify

Troubles encountered:

The same components such as buttons and titles are repeatedly styled on different pages. For example, the color and size of the function buttons and titles on multiple pages are each set separately. When adjusting the theme color or style later, one needs to search and modify each one individually, which is time-consuming and prone to errors.

Solution:

Extract common style classes (such as button and title classes), and directly reuse them for all pages

Use CSS variables to unify the theme color, and only need to modify one place when changing

Divide the code into "global → common components → page-specific → responsive" sections, add comments for distinction

Question 2: Conflicts between dark footer and sub-element styles

Troubles encountered:

On a dark footer background, the text and border color of the subscription form have low contrast with the background, making it difficult to read; social icons and copyright text are not adapted to the dark background and appear out of place.

Solution:

Use descendant selectors to precisely set the styles of sub-elements within the dark footer

Adjust the input box text to white, the border to semi-transparent white, and optimize the button and icon styles

Check the contrast to ensure it meets accessibility standards

Question 3: Grid layout cards' responsive arrangement is disordered

Troubles encountered:

The Grid layout on the PC end displays normally, but the cards are arranged out of order on tablet and mobile devices, and the spacing between different sections is inconsistent, resulting in visual imbalance.

Solution:

Use "repeat(auto-fit, minmax)" to achieve adaptive column numbers

Unify the basic spacing of Grid, and adjust the spacing size slightly at different breakpoints

Add multiple breakpoint media queries to test critical dimensions to ensure uniform arrangement

Question 4: Form element styles are not unified, and there is no focus feedback

Troubles encountered:

The styles of text boxes, dropdown boxes, and text areas vary greatly, and the original native styles are retained for dropdown boxes; there is no obvious feedback when the form elements are focused, resulting in poor user experience.

Solution:

Use "appearance: none" to reset the original form styles

Unify the borders, rounded corners, and padding of all form elements

Add focus state styles (theme color border + shadow) for form elements, and optimize the adaptation of text boxes and dropdown boxes

Question 5: Navigation bar and image display are abnormal on mobile devices

Troubles encountered:

The navigation bar options on mobile devices are crowded together and the text overlaps; the search box is too wide; the image container maintains a fixed width, causing the layout to collapse or display incompletely.

Solution:

Change the navigation bar to be distributed vertically on mobile devices, set the search box to 100% width

Change the image container to use percentage width, reduce the spacing to save space

Hide non-essential elements on mobile devices and use browser device simulation to test the dimensions of mainstream mobile phones



fig10.(Mobile phone)

fig11.(Computer)
fig12.(Computer)

fig13.(Mobile phone)
fig14.(Mobile phone)

fig15.(Computer)
fig16.(Computer)

fig17.(Mobile phone)

fig18.(Mobile phone)

fig19.(Computer)

fig20.(Computer)
fig21.(Mobile phone)




Mobile pages are viewport appropriate (via viewport meta tags) and the layout resizes with device size (e.g., the navigation bar wraps on mobile)


The indicator (dot) of the carouseling area is implemented with pure <span>, without semantic tags (such as <nav> or <button>), which is not easy to access.

Insufficient mobile compatibility details: Some pages have a mobile layout that only relies on viewport Settings, without HTML structures (e.g., reactive container classes) to enforce the compatibility logic.

Different models of responses

 


(Computer browsing response)
(Responsive mobile browsing)



Personal Homepage

shop page

Recipe Sharing Page

pizza details page

 food dreviews page

about us page(index)

Custom CSS stylesheets_custom.css (merged)

Netlify hosting website link:https://comforting-basbousa-ba0a77.netlify.app/ ( final Xiangha Network)

Final project file :My drive contains HTML, CSS, images and video files. (File Name: Sunyu 0378222 Interactive Design Final Project: Xiangha Network)
Reflection

First, the harvest of this production

1. Master the basic structure specification: skilled use of HTML5 document declaration, meta tags and <header>, <section> and other semantic tags, replace the pure <div> layout, make the page structure clearer.
2. Learn modular layout: Build pages according to the "container-division-module" logic, such as splitting the form into multiple functional modules and marking clear class names to improve the maintainability of the code and facilitate subsequent adjustment with CSS.
3. Familiar with the use of form elements: select input, textarea and other form elements reasonably according to requirements, add label and placeholder tips, and preliminarily master the methods to improve the form experience.

Second, the existing shortcomings

1. Careless use of semantics: interactive elements such as carouseling small dots and deleting buttons misuse <span> tags, and do not use <button> to clarify interactive attributes, affecting accessibility.
2. Lack of detail optimization: the alt attribute is not filled in the picture, and the placeholder of some input boxes is empty, which does not conform to the specification and affects the user experience.
3. Insufficient consideration of responsive adaptation: only setting viewport meta tags, not making provision for mobile adaptation in HTML structure (such as accordion navigation)
4. Code redundancy: similar modules (does not sort out the unified template, repeated writing leads to cumbersome modification.

Iii. Direction of subsequent improvement

1. Strengthen semantic cognition: Clarify the semantic purpose of elements, and give priority to the use of tags such as <button> for interactive elements to ensure that the structure of the page is understandable.
2. Pay attention to details and specifications: develop the habit of completing alt attributes of images and placeholders of input boxes to reduce syntax errors.
3. Plan responsive structure in advance: Consider multi-screen adaptation at the beginning of building pages, reserve the layout foundation of mobile terminals, and realize structural adaptation priority.
4. Optimize code reuse: sort out the unified template of repeated modules to improve writing efficiency and maintainability.

This practice has made me deeply realize the importance of specifications and details. In the future, I will strengthen the practice to write more standardized, easy to maintain and fit the needs of HTML code.

Comments

Popular posts from this blog

INTERACTIVE DESIGN: PROJECT 2_ XIANGHA WEBSITES REDESIGN PROTOTYPE