@nenadmne
Submitted
@CharlieCastleWeb
@nenadmne
Submitted
@CharlieCastleWeb
Posted
Hi Nenad! Good work!
Just a few tips:
Instead of using <div id="main-div">
you can use just the <main>
tag.
Instead of using the h2 tag, I think you should use an h1 tag.
According to the design, the card should be centered horizontally and vertically. To do that I use flexbox. The following code should center everything inside the body:
`html, body { height: 100%; }
body { display: flex; align-items: center; justify-content: center; }`
Let me know if you have any doubts or I can help you with other questions!
Marked as helpful
I am not sure, if my svg circles should be in this place in HTML structure.
@CharlieCastleWeb
Posted
Hi Karol! Good work keep it up!
In my opinion these circles are not important information in the page, but a design decision. So I think that they should not be implemented in the html file, but as a background in the css as follows:
body { font-family: 'Kumbh Sans', sans-serif; background: url("./images/bg-pattern-top.svg"), url("./images/bg-pattern-bottom.svg");
Also I think that the position of the card could be improved, to be more accurate to the design.
Let me know if you need any more information or doubts!
Marked as helpful
@arunkanaujia23
Submitted
Can anyone help me with how to Vertical Align the div?
@CharlieCastleWeb
Posted
Hi Arun ! Great work, anyway!
The solution I use to center the main content is:
Hope this works, let me know if you need more help
Marked as helpful
@neuyann
Submitted
Still dont really get how to center the main div... Any idea?
@CharlieCastleWeb
Posted
Hi Yann! Great work.
The solution I use to center the main content is:
Hope this works, let me know if you need more help
Marked as helpful
@d3longas
Submitted
I'm struggling with the hover overlay on the image. I know that i have to use divs, but i don't know how.
@CharlieCastleWeb
Posted
Hi Arthur! Great work!
For the overlay effect one solution could be :
Contact me if you need more help, but that should be a start