@Biankii48
Submitted
I had difficulty centering the QR image to the div, but after long research, I found a solution. This is the final result.
Looking to hire developers?
@hatemhenchir
@Biankii48
Submitted
I had difficulty centering the QR image to the div, but after long research, I found a solution. This is the final result.
@hatemhenchir
Posted
Hey Faith Bianca Aragon, how are you ? I really liked the result of your project, but I have some tips that I think you will enjoy:
display:flex; justify-content:center; align-items:center;
.display:grid; place-items:center;
Marked as helpful
Please provide feedback on how I can improve
@hatemhenchir
Posted
Hey Madu Chimeremeze Clinton, how are you ? I really liked the result of your project, but I have some tips that I think you will enjoy:
<div class="container">
with <main class="container">
and <div class="card">
with <section class="card">
for semantic page.Semantic HTML refers to the use of HTML tags that accurately describe the content of a webpage, rather than just its appearance. Using semantic HTML can improve the accessibility and SEO of a webpage, as well as make the code easier to read and understand for developers.
Here are a few reasons why it is important to use semantic HTML:
The rest is great.
Great work and keep going.
How do i work on the media queries for the mobile design it was difficult
@hatemhenchir
Posted
Hey Faith Kalu Onyeani, how are you ? I really liked the result of your project, but I have some tips that I think you will enjoy:
Media queries are a powerful tool for creating responsive designs that adapt to different screen sizes and device types. Here are a few tips for working with media queries in your mobile design:
I hope these tips are helpful! Let me know if you have any other quest.
Great work and keep going.
Marked as helpful
During the project I used css grid and css flexbox. If you think that is necessary to do any change, please let me know, will be helpful !
@hatemhenchir
Posted
Hey Wellington Marques, how are you ? I really liked the result of your project, but I have some tips that I think you will enjoy:
display:grid;place-items:center;
display:flex; justify-content: center; align-items: center;
.Great work and keep going.
@LG2GAME
Submitted
@hatemhenchir
Posted
Hey ark.gor, how are you ? I really liked the result of your project, but I have some tips that I think you will enjoy:
Semantic HTML refers to the use of HTML tags that accurately describe the content of a webpage, rather than just its appearance. Using semantic HTML can improve the accessibility and SEO of a webpage, as well as make the code easier to read and understand for developers.
Here are a few reasons why it is important to use semantic HTML:
verall, using semantic HTML can improve the accessibility, SEO, and code readability of a webpage, and is an important best practice in front-end development.
Mobile first design is a design approach in which the design process is started by designing for mobile devices and then progressively adding features for larger screens such as tablets and desktop computers. There are several reasons why implementing a mobile first approach in front-end development can be beneficial:
Overall, a mobile first approach helps ensure that the site is optimized for the growing number of mobile users, while also providing a better overall user experience for all users.
The rest is great.
Great work and keep going.
@LuanS0
Submitted
In this challenge, I had some difficulties regarding the exact moment to use flexbox or use grid. So, when is it recommended to use each of them?
@hatemhenchir
Posted
Hey Luan Souza, how are you ? I really liked the result of your project:
The CSS Grid Layout and Flexbox are both layout tools that allow developers to create complex and responsive layouts for websites and applications. There are a few key differences between the two that can help determine when to use each one:
In general, if you need to create a layout with rows and columns, or if you need more precise control over the layout of your elements, Grid is the better choice. On the other hand, if you need to create a simple, one-dimensional layout and have more flexibility in aligning and distributing elements, Flexbox is a good option.
It's also worth noting that both Grid and Flexbox can be used together in the same layout, depending on your specific needs.
Great work, and happy coding.
Marked as helpful
@beRajeevKumar
Submitted
I code this challenge so please review it.
@hatemhenchir
Posted
Hey Rajeev kumar, how are you ? I really liked the result of your project, but I have some tips that I think you will enjoy:
background-size: 100% 50%;
.Mobile first design is a design approach in which the design process is started by designing for mobile devices and then progressively adding features for larger screens such as tablets and desktop computers. There are several reasons why implementing a mobile first approach in front-end development can be beneficial:
Overall, a mobile first approach helps ensure that the site is optimized for the growing number of mobile users, while also providing a better overall user experience for all users.
The rest is great.
Great work and keep going.
@malek-bt
Submitted
Would be more than happy to hear your suggestions and some tips on improving the code. 🙏
@hatemhenchir
Posted
Hey Malek, how are you ? I really liked the result of your project, but I have some tips that I think you will enjoy:
The title on a web page is usually tagged as an H1 tag. While this isn't always the case, it makes sense in most cases. By making the title of your page an H1 heading, it shows that it's one of the most important pieces of content on the page. It’s important to remember that SEO can often be about user optimization as well as optimization for search.
The rest is great!
Great work, and happy coding.
Marked as helpful
@hatemhenchir
Posted
Hey Mehedi Hasan Likhon, how are you ? I really liked the result of your project, but I have some tips that I think you will enjoy:
The rest is great!
Great work, and happy coding.
@prithiviraj275
Submitted
all feedbacks are welcome, thank you
@hatemhenchir
Posted
Hey Prithivi Raj, how are you ? I really liked the result of your project, but I have some tips that I think you will enjoy:
<div class="card">
with <section class="card">
and <div class="attribution">
with <footer class="attribution">
for semantic page. You can read more about semantic HTML here: HTML Semantic Elements.margin: 0 auto;
.box-shadow: -11px 10px 19px -3px rgba(0,0,0,0.75); -webkit-box-shadow: -11px 10px 19px -3px rgba(0,0,0,0.75); -moz-box-shadow: -11px 10px 19px -3px rgba(0,0,0,0.75);
.You can try an online box shadow generator like this Box Shadow CSS Generator.
The rest is great!
Great work, and happy coding.
@malek-bt
Submitted
Hello, thank you for coming and looking at my code!
This is my solution for this challenge, i'm very happy to complete this challenge . I hope it's up to the standards, but if it's not, please feel free to tell me!
Thank you in advance.
@hatemhenchir
Posted
Hey Malek , nice work. I have one tip for you 😁.
Great work, and happy coding
Marked as helpful
@skulbas
Submitted
I tried to use image-set to switch between mobile and desktop background images on different widths, but it didn't seem to work properly at all..
UPD:
@hatemhenchir
Posted
Hey Anna, nice work. I have some tips for you.
background-size: 100% 50%;
.The rest is great.
Great work and keep going.
Marked as helpful
@Hamdi-git
Submitted
@hatemhenchir
Posted
Hey Hamdi, nice work. I have some tips for you.
<div class="card">
with <section class="card">
for semantic page. You can read more about semantic HTML here: HTML Semantic Elements.The rest is great!
Happy Coding!
@hesam-fattahi
Submitted
Hey everyone! 👋
For the circles on the background, I've used ::before
and ::after
. The same thing for the pattern on the component. Is there a better way to implement that or this is fine?
Should the profile name be a heading or p
is okay?
Thank you
@hatemhenchir
Posted
Hey Hessam, nice work
margin-top:-53px;
.If you have any questions or need further clarification, feel free to reach out to me.
Happy Coding!🍂🦃
Marked as helpful
@Hamdi-git
Submitted
@hatemhenchir
Posted
This comment was deleted
@malek-bt
Submitted
Hello, thank you for coming and looking at my code!
This is my solution for this challenge, I hope it's up to the standards, but if it's not, please feel free to tell me! Thank you in advance.
@hatemhenchir
Posted
Hey Malek Bentaher, how are you ? I really liked the result of your project, but I have some tips that I think you will enjoy:
<header>
not in <main>
like this:
<body><header>your logo</header><main>your main page</main><footer>your footer(icons)</footer></body>
for semantic page.<div class="id">
with <section class="id">
for semantic page. You can read more about semantic HTML here: HTML Semantic ElementsIf you have any questions or need further clarification, feel free to reach out to me.
Happy Coding! 🍂🦃
Marked as helpful
@rockdoginafog
Submitted
This is my first time doing something with css and html. I really enjoyed doing something other than just learning css with no idea what to do with it. I learned so much more than just watching tutorials on yt.
@hatemhenchir
Posted
Hey rockdoginafog, how are you ? I really liked the result of your project, but I have some tips that I think you will enjoy:
<div id="border">
with <main id="border">
for semantic HTML. You can read more about semantic HTML here: HTML Semantic Elements<html lang="en">
display:grid;place-items: center;
or you can use flexbox like this display:flex;justify-content: center;align-items: center
.The rest is great!
If you have any questions or need further clarification, feel free to reach out to me.
Happy Coding! 🍂🦃
Marked as helpful
@cyber12341
Submitted
please give me a few suggestion to improve my css
@hatemhenchir
Posted
Hey Cyber12341, how are you ? I really liked the result of your project, but I have some tips that I think you will enjoy:
<head<title>Frontend Mentor | Product preview card component</title></head>
<html lang="en">
The rest is great!
If you have any questions or need further clarification, feel free to reach out to me.
Happy Coding! 🍂🦃
Marked as helpful
@leninMoscoso
Submitted
I solved the size a bit.
Do you help me with the shadows?
@hatemhenchir
Posted
Hey Lenin, how are you ? I really liked the result of your project, but I have some tips that I think you will enjoy:
You can try an online box shadow generator like this Box Shadow CSS Generator
this code, it will help you to do it box-shadow: -11px 10px 19px -3px rgba(0,0,0,0.75); -webkit-box-shadow: -11px 10px 19px -3px rgba(0,0,0,0.75); -moz-box-shadow: -11px 10px 19px -3px rgba(0,0,0,0.75);
The rest is great!
If you have any questions or need further clarification, feel free to reach out to me.
Happy Coding! 🍂🦃
Marked as helpful
@Hamdi-git
Submitted
@hatemhenchir
Posted
Hey Hamdi Shili, how are you ? I really liked the result of your project, but I have some tips that I think you will enjoy:
<div class="layout"/>
with <main class="layou"/>
With mobile devices being the predominant way that people view websites/content. It is more crucial than ever to ensure that your website/content looks presentable on all mobile devices. To achieve this, you start building your website/content for smaller screen first and then adjust your content for larger screens.
If you have any questions or need further clarification, feel free to reach out to me.
Happy Coding! 🍂🦃
Marked as helpful
@malek-bt
Submitted
@hatemhenchir
Posted
Hey Malek, how are you ? I really liked the result of your project, but I have some tips that I think you will enjoy:
.btn1:hover { background-color: hsl(31, 77%, 52%) !important; color: hsl(0, 0%, 95%) !important; border: 1px solid hsl(0, 0%, 95%) !important; } .btn2:hover { background-color: hsl(184, 100%, 22%) !important; color: hsl(0, 0%, 95%) !important; border: 1px solid hsl(0, 0%, 95%) !important; } .btn3:hover { background-color: hsl(179, 100%, 13%) !important; color: hsl(0, 0%, 95%) !important; border: 1px solid hsl(0, 0%, 95%) !important; }
`If you have any questions or need further clarification, feel free to reach out to me.
Happy Coding! 🍂🦃
Marked as helpful
@sand-storm-17
Submitted
Is there anything i can improve upon? What resources would help me do a better job at doing this?
@hatemhenchir
Posted
Hey Kumar Sandeep, how are you ? I really liked the result of your project, but I have some tips that I think you will enjoy:
It's a bad idea to center a div or a container using position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
to center the card, you can use flex like this : body{display: flex; justify-content: center; align-items: center; height: 100vh;}
or you can use a grid like this : body{display:grid;align-items: center;height:100vh}
the color of the title is color:hsl(220, 15%, 55%);
The rest is great!
If you have any questions or need further clarification, feel free to reach out to me.
Happy Coding! 🍂🦃
Marked as helpful
@malek-bt
Submitted
@hatemhenchir
Posted
Hey Bentaher Malek, how are you ? I really liked the result of your project, but I have some tips that I think you will enjoy:
1.You have used <br>. Using <br> is not only bad practice, it is problematic for people who navigate with the aid of screen reading technology. Screen readers may announce the presence of the element. This can be a confusing and frustrating experience for the person using the screen reader. You can read more in MDN
2.Consider using rem for font size. If your web content font sizes are set in absolute units, such as pixels, the user will not be able to re-size the text or control the font size based on their needs. Relative units “stretch” according to the screen size and/or user’s preferred font size, and work on a large range of devices.
3.If you are notice in this challenge we are used just one font-family. So you can just do font-family just in the body like this:
body{font-family: 'Karla', sans-serif;}
The rest is great!
If you have any questions or need further clarification, feel free to reach out to me.
Happy Coding! 🍂🦃
Marked as helpful
@ab1820
Submitted
My 3rd Frontend Mentor Challenge, this time I am building a landing page. This will be the first landing page that I have built. Built with mobile design first in mind. I like to finish the mobile version first, then I set the media to min-width: 800px, and design the desktop version from that.
Web design will always be continued learning. As the years pass and technology grows, things will change for the markup language and web styling, that's why I will always be learning. But for now, mobile first, responsiveness, CSS Grid and Flexbox are what I am currently working on right now.
@hatemhenchir
Posted
Hey there! 👋 Here are some suggestions to help improve your code:
If you have any questions or need further clarification, feel free to reach out to me.
Happy Coding! 🍂🦃