I find it so difficult to center content. Anyone have any tip to center webpage content properly?
Durga Jaiswal
@Durga-JaiswalAll comments
- @PhusaraSubmitted about 1 year ago@Durga-JaiswalPosted about 1 year ago
Hello, Good to see your Project. To make the card center aligned with the body, you can follow these as
display: flex justify-content: center align-items: center
This will make your card component center aligned.
3 - @AdamsRuth1Submitted about 1 year ago
I'm not so sure of my code responsiveness and i am really finding it difficult setting my code to adjust to various screen sizes
@Durga-JaiswalPosted about 1 year agoGreat. You have to make
body
tag viewport height 100vh.body { max-height: 100vh; }
To avoid scrolling, there should be max-height not min-height. This will make sure that no - scroll bar appear in the main page.
0 - @flaviogpSubmitted about 1 year ago
Hi there 👋, I’m Flavio and this is my solution for this challenge. 🚀
🛠️ Built With:
HTML5 CSS3
Any suggestions on how I can improve and reduce unnecessary code are welcome!
Thank you. 😊✌️
@Durga-JaiswalPosted about 1 year agoHello there, Good to see your project.
You can set
min-height
of the card so that it matches with the given design. Other than this your project doesn't have much to change.Hope you find it helpful.
0 - @Vitor5782Submitted about 1 year ago@Durga-JaiswalPosted about 1 year ago
Hello there, Good to see your project. Overall your project is good, but the
width: 80%;
in the.container
selector should be 60% or 65% so that it matches with the given Style of Challenge.Hope you find this helpful.
Marked as helpful0 - @LLLEEXXSubmitted about 1 year ago
Making a responsive website is still challenging for me, but I would greatly appreciate any suggestions on what I can do.
@Durga-JaiswalPosted about 1 year agoOverall your project is Good. But as I've seen in the code you've used CSS ID as selectors, this is not a good practise. Try to use classes as selectors, using classes as selectors is known as best practise.
Marked as helpful0 - @AnjasfedoSubmitted about 1 year ago
The project I'm working on is an interesting challenge, but I feel like there are some things I want to learn more about and some aspects that still confuse me. The main obstacle I encountered while building this project was still learning how to use CSS properly, especially in the context of front end development. I find it sometimes difficult to achieve the look I want and apply CSS efficiently. I feel I need to learn more. Do you have any suggestions or resources that can help me understand good CSS usage?
@Durga-JaiswalPosted about 1 year agoTry to use
border-radius
in pixels(px) as using % does not make border perfect circular around the corners. I've also learnt this after a long time. Using px in border-radius helps in this problem.Talking about CSS resources, there are plenty of them.Youtube Videos and Free Courses, but to get better grasp on it, you have to make small and easy projects, that will get you in better position of learning CSS.
Marked as helpful1 - @MjornogSubmitted about 1 year ago
My first difficulty in this challenge was in the process of deducing the sizes of the elements on the screen and I “wasted” a lot of time with that, so I'd like to know some tips on how I can make this design process a little faster.
@Durga-JaiswalPosted about 1 year agoPut
max-height : 100vh
to avoid scrolling the page. It will help in making page do not scroll. Other than this all things are perfect.Marked as helpful0 - @hemafarsSubmitted about 1 year ago
html , css
@Durga-JaiswalPosted about 1 year agoUse color gradient as prescribed in style guide for the Your Result side of card, so that it matches with the original layout.
1 - @dashaunnSubmitted about 1 year ago
Can anyone provide me some resources or project ideas that help me to understand CSS Grid better? Thank you!
@Durga-JaiswalPosted about 1 year agoHappy, You've completed the challenge. There are many resources out there, I'll list 2 of them:
1 - @JalenDmarion25Submitted about 1 year ago
Another challenge that I enjoyed, probably gonna try and at least do 1 or 2 of these a day for the next few days, once again any advice on what can be done is greatly appreciated.
@Durga-JaiswalPosted about 1 year agoTry to use prescribed font-family given in the style guide. body text should have different font-family than head text. Overall the project is good. You have done excellent job
Marked as helpful0 - @acoreyuSubmitted about 1 year ago
Fun project. I was not sure if the mobile design was supposed to be a different set of code or if the one set of code was supposed to resize to look like the mobile version. Any tips and feedback are much appreciated.
@Durga-JaiswalPosted about 1 year agoOverall project was Good
In img tag
padding: 20px
should be10px
so that it matches with the given design.and there should be some padding in
header-text
andguide-text
classes.I hope it helps you.
Marked as helpful0 - @AMINKHALAJISubmitted over 1 year ago
Appreciate any feedback or suggestion
@Durga-JaiswalPosted over 1 year agoSet background-image as radial-gradient for the Your Result side component. It's not a simple background color, it is the combination of two colors given in the style-guide in the given package of files. Like this:
background-image: radial-gradient(circle, hsl(252, 100%, 67%),hsl(241, 81%, 54%) 80%); This will make the background look same like the given project.
1