Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Happiness survey by Joyce & Helene #84

Open
wants to merge 25 commits into
base: main
Choose a base branch
from

Conversation

HeleneWestrin
Copy link

Netlify link

View it live »

Collaborators

Joyce Kuo & Helene Westrin

HeleneWestrin and others added 24 commits October 15, 2024 12:05
…sed to the heading of the next step instead of the button
@JennieDalgren JennieDalgren self-assigned this Oct 24, 2024
Copy link

@JennieDalgren JennieDalgren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job with this project!

You're meeting the requirements and going beyond.
I like how well polished this forms looks like. You have put time and effort into small design details, such as the favicon etc.
It wasnt the main learnings for this week but it will make this project stand out in your portfolios.

Code Organization: The strcutre of your code base is well-maintained with clear distinctions between components and styles.
Functionality: The added states and functions in App.jsx effectively manage the survey flow and user input.
Styling: The CSS updates ensure a consistent and accessible design, with the use of custom fonts and responsive design considerations. Also, 100 points on Lighthouse check ⭐️

Really nice to see that you've started to think about reusability in your components, such as the button component.

Keep up the good work 🌠

Comment on lines +8 to +9
width="400"
height="400"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how come you put width and height here instead of a css file?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having width and height explicitly set on images (even if you control the size with CSS in some other way) prevents layout shifts when the page os loading because you preserve space for them. Especially noticeable on a slow 4G net for example. @JennieDalgren

import "./ProgressIndicator.css";
import Checkmark from "../assets/checkmark.svg?react";

export const ProgressIndicator = ({ currentStep }) => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants