@thomashertog
Submitted
Looking to hire developers?
@thomashertog
@thomashertog
Submitted
@thomashertog
Posted
I didn't include an <h1> because this clearly is a component that should be included into another page (that will have the <h1>)
@SalahEddineMj
Submitted
@thomashertog
Posted
The design is a bit too much off to consider this one finished in my opinion. Most of it is colors and sizing, so you're on your way there.
Other improvements I'd make on this
HTML/accessibility
<div>
containers of which i'm not sure whether they're all needed/adding some possibilities<header>
and <footer>
which is good but no <main>
<section>
without associated header is just the same as a meaningless <div>
CSS
px
-values which are better in em/rem
Marked as helpful
@andresd0319
Submitted
I want to keep improving step by step.
@thomashertog
Posted
your solution looks good visually! some small code improvements can be made though
HTML/accessibility
<section>
, however that doesn't add any semantics nor a landmark. <section>
is only useful if you can associate it with a header<article>
is something that should make sense on it's own page, so definitely not the right element for that plan<a>
is for linking to another page, i'm a bit unsure what other page you would navigate to when changing a plan/proceeding, they might be better off as a <button>
<h1>
, which is like reading a book without a titleµalt
text instead of in CSSCSS
@rawan6602
Submitted
@thomashertog
Posted
Your solution is looking good visually! There are some few improvements to be made though.
HTML/accessibility
<main>
element which is good, however you also used <div class="paragraph">
while there is a <p>
element exactly for paragraph textclass="record"
in your code should be a listCSS
min-height
instead of height
to ensure overflow issues are not caused when content is expandingem/rem
instead of px
Marked as helpful
@gokhan-guneri
Submitted
It was a nice work especially for reinforcing CSS Flexbox applications. I will be here for those who want to ask suggestions and questions. Enjoy your work...
@thomashertog
Posted
almost looking exactly like the design, so that's very good
few improvements can be made though
HTML/accessibility
<section>
however, that doesn't correspond with a landmark role.<div>
wrapper elements which are (mostly) unnecessaryCSS
px
-based values, which are totally unresponsivemin-height
as opposed to height
so elements get room to expand when needed instead of causing issues with overflow@Uvejsii
Submitted
I know it's not perfect so if you have any suggestions tell me, thank you in advance.
@thomashertog
Posted
like you said, it's not perfect yet, my suggestions to you
Design
style_guide.md
from the starter files, the ones you use, feel a bit darker on screenHTML
<h1>
, remember headings should be in order and never skip a levelCSS
px
values, try to replace them with em
or rem
for better accessibilityMarked as helpful
@Mygaverse
Submitted
I thought it was an easy challenge, but it took me quite a while to achieve the final result. There were some small issues with the layout and styles. I had to make several different approaches to the result. I did some reseaches and examples over the internet. I finally found a similar design that I could reference to. There are many techniques and skills that I can apply to my future projects. ps: I found there is a line of border around the left column. I haven't figure out where it went wrong. Let me know if you know how to fix it. Thanks!
@thomashertog
Posted
The visual is looking good. There are some improvements available on the code part though
HTML
<h1>
<div class="score-list">
with <div class="list-item">
, which is completely insemantic. Use a <ul>
with <li>
for this<button>
does not have a type
attributeCSS
375px
at least, like in the challenge requirements)P.S.
the border around the left column is coming from the border
property in your .card
selector (probably coming from bootstrap)
@Ferperezm28
Submitted
@thomashertog
Posted
your solution is not responsive... it's adapting to the width yes, but it still uses fixed sizing
other than that you're including both the mobile and desktop image at once (and hiding it via CSS) while you should use the <picture>
element to do that (and save bandwidth by only downloading 1 image asset)
you used an <h3>
but you lack an <h1>
and an <h2>
, so your headings are out of order/incomplete
@kaushik-2318
Submitted
@thomashertog
Posted
I hate to break it to you but
this only looks like a very pale resemblance of the design
the code feels generated
Marked as helpful
@anespoul34
Submitted
@thomashertog
Posted
Your solution is looking good visually, there are some improvements that can be made though.
HTML
1. <h1> / 1.1. <h2> / 1.1.1. <h3>
it doesn't really make sense<button>
is missing a type
<p>
with <br>
CSS
width
and height
using px
body
is not needed in a media query, it should be the default (and making sure that the mobile view is vertically centered as well)Marked as helpful
@hsrvms
Submitted
@thomashertog
Posted
the solution is almost looking like the design, yet there are some serious accessibility improvements to be made.
px
values for width
(and even height
, which would be much better as min-height
) so it isn't responsive in any way<main>
)<li>
instead of using radio-buttons in a <form>
Marked as helpful
@eslamwaleed1
Submitted
I'd appreciate any feedback (":
@thomashertog
Posted
you may have completed the desktop design, but it is not responsive. I can't see the mobile view of this.
other than that, you have used absolute positioning for everything (with pixels) that is definitely not how layouting works nowadays. maybe you can try learning some things about flexbox and/or CSS grid to make a new attempt at this challenge.
your solution is tagged with #accessibility yet you still have <div class="button">
with an svg (for the icon) which is not hidden from assistive tech (as it should be since it's only decorative), and a paragraph for the text, but no <button>
element is used...
Marked as helpful
@thomashertog
Posted
Visually very similar to the design so kudos for that.
It has some improvements that can be made though
<h1>
for the name of the product and an <h4>
for the product type perfume. This is not how headings work (imagine reading a book and you have a table of contents going from 1.
to 1.1.1.1.
but the 1.1.
and the 1.1.1.
are missing). Don't use headings for styling, do that in your CSSbackground-image
)type=button
will do)em/rem
Marked as helpful
@Thewatcher13
Submitted
This is a solution with a little more explanation for beginners like I was when i'm start my journey on frontendmentor.
I'm still learning every day more and more and I think this kind of solution with a little bit of explanation could be helpfull to new people. I'm every day more familliar with the basics of html and css with thanks to frontendmentor!
Please give feedback if I things say that not right or make sense.
@thomashertog
Posted
visually very similar to design so kudos for that
few small improvements can be made though
<span>
in the button to have extra styling options available, yet you didn't make use of it (because all styling was already done on the button itself), you can remove the <span>
since you don't need ittype
attribute (type=button will do)px
for a gap
somewhere in your CSS, which might not scale as well, you may want to replace this with em/rem
Marked as helpful
@Rock-n-Roll-CRC
Submitted
Hi there 👋, I’m Danil and this is my solution for this challenge. 🚀
⚡ Performance:
🔥 Features:
❓ Help:
🛠️ Built With:
👨💻 Languages Used:
Any suggestions on how I can improve and reduce unnecessary code are welcome!
Thank you. 🔥
@thomashertog
Posted
This is already looking very good, as well visually like the design given as in the code.
Some small improvements you could make however (in no particular order)
<header>
<h2>
), so I'd fix this by making your .introduction
into a <header>
with an <h2>
for the .introduction-slogan
and a <p>
for the .introduction-description
grid-template-rows: repeat(4, 1fr)
feels a bit squishy since now all your rows will have the same height. That would be bad if one of the cards contained longer content, you might be able to "fix" it with min-height
on the cardsborder-top
property on .card
switching only the border-top-color
on every card itself for better reusability (only need to change border-width
in 1 place)Overall, this is already a very nice attempt, keep going and improving
Marked as helpful
I really enjoy this project. I complete this project in just 1 hour.
@thomashertog
Posted
looking very sleek.
small improvements can be made though
height
is extremely restrictive and might cause overflow issues, therefore it is better to use min-height
keep going and improving though!
Marked as helpful
@ladykays
Submitted
@thomashertog
Posted
while the site is looking almost like the design there are some subtleties that can be improved.
Design
grid-template-rows
)HTML
.container
element could be a <main>
)<h1>
to <h6>
for styling). Styling should be done in CSS, heading levels should be in logical order. by that i mean: when you strip away everything else in your HTML, does it like a table of contents that makes sense?aria-hidden
attribute to ensure it is removed from the accessibility treeMarked as helpful
@mah07308
Submitted
@thomashertog
Posted
Solution is looking good (visually). There are some things to improve your code though.
HTML
<button type="submit">
but there is no <form>
aria-hidden
attribute<input type="radio">
in order for the form to submit meaningful data. you can find more info herehidden
attribute for the thank you container in order to remove it from your accessibility tree as well until the form is submittedCSS looks clean, couldn't find improvements there however, you may want to remove those commented lines as they distract you from the code that is needed
Marked as helpful
@Karthick-J-11
Submitted
@thomashertog
Posted
there's a lot of good stuff going on as well, so keep up the good work!
Marked as helpful
@TeNeBiT-eng
Submitted
@thomashertog
Posted
this is already looking good. few things you might want to address though. there are some accessibility issues in the report that are easily fixable.
regarding your CSS code, you may want to look into reusing styles more. I've noticed you are using all different classnames. Know that classes are meant to be reused across various elements!
@AhmaadAlharbi
Submitted
I just learnt css grid and wanted to pracrice on it
@thomashertog
Posted
you might want to define the structure of your grid on the parent as well by using template-columns/rows
that being said, you can use grid just as well for the mobile layout. try thinking about how you should alter the grid definition to make sure the mobile layout fits in.
Please help me look at my solution and tell me ways i can improve on it. Thanks
@thomashertog
Posted
there are a lot of issues in the report. Please try to fix them first!
Marked as helpful
@RaresIorga
Submitted
Feedback always welcome
@thomashertog
Posted
you might want to learn about how margins (and especially margin: auto) works in a flexbox context. this could easily replace the solution with position:absolute and make it cleaner. other than that, your solution is looking pretty darn good! don't forget to fix the accessibility issue as well
Marked as helpful
@jlmcabral
Submitted
Feel free to leave some comments 😉👍🦄
@thomashertog
Posted
what @cyruskabir already said about the image. Other than that. think about your HTML structure. right now you have headings of level 2 (h2 elements) with the numbers of the stats. Imagine you're browsing the webpage with a screenreader without actually looking at the screen and tabbing through the headings. It probably feels a bit weird that you are just announcing the amounts (and i don't really know whether it would be useful to have these as header at all)