@jp-lavrattiSubmitted over 1 year ago
Syed Umair
@SYEDUMAIR007All comments
- @richie-omondiSubmitted over 1 year ago
As much as I enjoyed working on this project, I still have a few challenges in implementing Bootstrap.
- First of all, is there any way I could improve my use of sematic HTML to improve code readability and accessibility? I decided to use the
<section>
and<footer>
tags to demarcate the different sections of the page. - How can I make the edges of the card and image more rounded?
- How can I make the card longer?
- Is the responsiveness good enough or how could I improve on it?
Thank you!
@SYEDUMAIR007Posted over 1 year agoHey friend, Its Syed Umair, first of all I would like to congratulate you for the completion of your project. You can remove the warnings in the validation report by following these steps:
- U cant have directly h4 after h1 so use h2 because u always have to come in hierarchy.
- Always u should have a main section in your project, so nest the code which is in body tag into main tag and then keep main inside body.
- And for having more rounded corners give the div an id and select that div inside css style sheet and give it a border radius of 1.875 rem.
Hope you like my suggestions helpful.
Marked as helpful1 - First of all, is there any way I could improve my use of sematic HTML to improve code readability and accessibility? I decided to use the
- @ibrahimherithSubmitted almost 2 years ago
Hello, what is the best practice between adding google fonts links in html file and in css file?
@SYEDUMAIR007Posted almost 2 years agoHi Ibrahim, I have a couple of suggestions for you to improve your code:
- Always have a main section in your HTML file. (You could replace your section tag with the main tag)
- Try using rems or ems to set font size instead of pixels.
- Use min-width instead of max-width, and always use percentages as units to set the size of the containers as well as elements.
- The best practice concerning google fonts is always to add the HTML link given in google forms eg: ( <link rel="preconnect" href="https://fonts.googleapis.com">)into your head of the HTML file and the CSS link in the CSS file eg:(@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@500;600&display=swap');). Hope you like my feedback, thank you for reading!!!
Marked as helpful1