FEEDBACKS ARE VERY MUCH APPRECIATED
Janelle Schuh
@jschuh23All comments
- @kayflySSubmitted over 2 years ago@jschuh23Posted over 2 years ago
@kayflyS This was a bit of a tough challenge! I have a few suggestions for you :)
- It looks like none of your images are showing up because the
src
is not linked properly. If you add a period at the beginning of each of your image references that should do the trick. For instance, `src="./images/icon-star.svg" - I would also suggest not using as many
div
elements and instead adjusting much of your code to use semantic HTML elements such as -header
,section
,main
,footer
. Making these changes will clear the accessibility issues from the FEM report. HTML: A good basis for accessibility is a great resource by MDN about semantics for accessibility.
Hope this is helpful!!
0 - It looks like none of your images are showing up because the
- @missbaahSubmitted over 2 years ago
Any ideas to make my code cleaner ? Feedback is welcome!
@jschuh23Posted over 2 years ago@missbaah Great job on the project!! I have yet to work on this one, but plan to jump into the challenge soon :)
I noticed a few accessibility issues that were identified in the FEM report. Most of these should be easy fixes.
- All page content must be contained by landmarks
The rule description states - "it is best practice to contain all content excepting skip links, within distinct regions such as the
header
,nav
,main
, andfooter
." I would suggest that you either wrap yoursection class="container"
in amain
element or change thissection
element to amain
element. That should fix 3 of your accessibility issues. - Page should contain a level one heading
My suggestion here would be to change your current
h2
to anh1
and then resize theh1
in your css. Finally, to follow semantic HTML I would change yourdiv class="attribution"
to afooter
element.
Again, great job on this challenge!!! Keep up the good work!
Marked as helpful0 - All page content must be contained by landmarks
The rule description states - "it is best practice to contain all content excepting skip links, within distinct regions such as the
- @kaiohnrSubmitted over 2 years ago
Can anyone tell me how I can change the color of the social icon in the footer when hovering over it?
@jschuh23Posted over 2 years ago@kaiohnr The site looks awesome!!
I did notice that there are a number of accessibility issues per the Frontend Mentor checks.
- Document should have one main landmark: This can be solved by adding a
main
element which completely surrounds everything between yourheader
andfooter
. - All page content should be contained by landmarks: I suspect that when you add the
main
element then this error will go away (?). - Links must have discernible text: My suggestion would be to add either
alt
text such as "Twitter logo" or anaria-label
. Then a screenreader would have something to read.
Regarding the hover color for the social icons....because those are images you cannot use the
fill
property. That is only for SVGs. So you can either change your icons to SVGs or do something different for your hover.Hope this helps :)
Marked as helpful1 - Document should have one main landmark: This can be solved by adding a
- @Abdelghafour122Submitted over 2 years ago
This is my humble solution Not pixel-perfect
If anyone has suggestions on how i can improve my code, please let me know, thank you!
@jschuh23Posted over 2 years agoGreat solution @Abdelghafour122! I wouldn't worry too much about pixel perfect as that can be very hard to obtain :)
It looks like you have some HTML issues per the Frontend Mentor report. One suggestion I would have is to decrease the number of
section
elements that you're using. Many of these can be changed to adiv
and that's ok. I might just have onesection
element that contains the entire card component.The MDN website has some great info on the
section
element. Specifically: If you are only using the element as a styling wrapper, use adiv
. An unwritten rule is that asection
should logically appear in the outline of a document.Hope that helps!!
1 - @IFafaaSubmitted over 2 years ago
Feedback welcome!! :D the first time using media querry! and im learning how using the flexbox
@jschuh23Posted over 2 years agoNice work on your solution Fabricio!! I did notice that the Frontend Mentor report was returning some accessibility and html issues. These should be easy enough to adjust :)
-
For your images, even if they are considered background images they should still have an
alt
attribute. In this case you would set it as follows:alt=""
. If you completely omit analt
attribute then a screenreader would read the entire url for the image. -
The anchor tags that you have listed can probably have the
href
completely removed to pass the Frontend Mentor test. Meaning don't set them to#
. I myself have learned to set blank links to this, but it seems that the FEM test doesn't like those :) -
I would suggest removing some of the
section
elements that you have as every section should in turn have a heading element. However, based on your code some sections wouldn't make sense to have a heading. You could probably make do with one section element which includes the entire component.
Just some suggestions!! Great work!
Marked as helpful0 -