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

Mikas business site week 3 #380

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

Mikas business site week 3 #380

wants to merge 21 commits into from

Conversation

mikaeber
Copy link

@mikaeber mikaeber commented Sep 1, 2024

No description provided.

Copy link
Contributor

@HIPPIEKICK HIPPIEKICK left a comment

Choose a reason for hiding this comment

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

Nice job with your business site, Mika! 🏃 You have a lot of files in your repo, so I'd suggest to remove all the ones you are not using. I started looking at demo.html before I realised it was a demo for the fonts 😅 Can be good to keep in mind going forward, to keep things clear and clean.

HTML

  • The br tag is a bit outdated, try to achieve the same thing using flexbox
  • I see a commented-out video tag for the hero section. It’s good practice to remove any unused code from your production files
  • I see you've added "What's your main sport?" as one of the values in the select - great way of adding a placeholder! Just make sure to add the disabled attribute so that the user can't pick that option

CSS

  • You’ve done a great job using CSS variables ⭐ Just make sure to remember to use them where applicable!
  • Make sure your paths are correct. I think to reach the fonts from the CSS file you need the double dots to "move up a level" from the code folder - i.e. "../Fonts". And on this topic, rename all files and folders to lower case kebab-case.

Really good job overall with this project, just keep these things in mind as you progress 🚀

code/index.html Outdated Show resolved Hide resolved
code/index.html Outdated Show resolved Hide resolved
Fonts/demo.html Outdated Show resolved Hide resolved
Copy link

@Jonash189 Jonash189 left a comment

Choose a reason for hiding this comment

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

image

Great job! Your code works without any issues, and it looks really good on both mobile and desktop. I like the design, but one thing I would like to add is make (P) a bit more responsive on mobile devices with screen widths between 320 and 333 pixels. See image attacted image.

Overall, you have a nice structure for the HTML and CSS. It’s easy to follow and understand. Also noticed that you have a lot of code related to fonts, and I’m curious about what it does. Well done!

Copy link
Contributor

@HIPPIEKICK HIPPIEKICK left a comment

Choose a reason for hiding this comment

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

Accessibility feedback
Your form and the rest of the interactive elements are possible to navigate with keyboard, super! Your form have all the labels it needs too. You’ve used semantic elements, which means you get a lot of accessibility ”for free”, but you’ve also made use of aria labels to provide additional descriptive meaning to some of your elements.

I see you’ve worked on increasing the contrast for your colors this week, which is great - but the text "Get real with clinically tested isothiocyanates from 🥦"
is still really low contrast, so I’d suggest changing that to make it more accessible. Another thing to think about is the outline for form elements. The outline is there for a reason, so don’t style it away with too low of a contrast - it helps the user see what’s in focus 👀

Changes Requested

  • Sufficient contrast for all text plus form elements' focus state

@mikaeber mikaeber requested a review from HIPPIEKICK October 10, 2024 14:01
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