Annas Dwi
@anasdwcAll comments
- @rajvirsiinghSubmitted almost 2 years ago@anasdwcPosted almost 2 years ago
Helloπ
- You can use Grid or Flex to help you to make layout
Code β¨οΈ:
body { display: grid; }
Documentation π:
-
Grid: A Complete Guide to CSS Grid | CSS-Tricks - CSS-Tricks
-
Instead of using table, use Grid or Flex is helpful and make it easier to create your layout
- Your number of unread notification not change if button clicked
document .querySelector("#read") .addEventListener("click", function handleClick() { document.querySelector(".number").innerHTML = 0; for (let i = 0; i <= 4; i++) { document.querySelectorAll("i")[i].style.color = "white"; document.querySelectorAll(".notification")[i].classList.remove("unread"); } });
- add
innerHTML = 0
make your number change to 0
Feel free to reach me out π»
1 - @HannTosinSubmitted almost 2 years ago@anasdwcPosted almost 2 years ago
Helloπ
- You can use Grid or Flex to help you to make layout
Code β¨οΈ:
body { display: grid; }
Documentation π:
-
Grid: A Complete Guide to CSS Grid | CSS-Tricks - CSS-Tricks
-
Instead of using
postition: absolute
, use Grid or Flex is helpful and make it easier to create your layout
Feel free to reach me out π»
0 - @omar-bakrySubmitted almost 2 years ago
Finally! I hope it is good, i am new to CSS
@anasdwcPosted almost 2 years agoHello π
- Your component not center in mobile view
You can use
justify-content
to make your content centerCode β¨οΈ:
.parent { justify-content: center; }
Documentation π: justify-content - CSS: Cascading Style Sheets | MDN
Feel free to reach me out π»
0 - @LucasHMeloSubmitted almost 2 years ago
Hello Folks,
I thought this challenge was easier, but i had some difficulties doing him. Some of this problems were:
- Background, apparently the bg is rotate, but i can't do this, some tip ?
- profile image, in this part i can't put the name near to the profile image, because seems a div between the image and the text, why did this happen ?
@anasdwcPosted almost 2 years agoHello @LucasHMelo π
- For background image, you can add some value for positioning your image
Documentation π:
https://developer.mozilla.org/en-US/docs/Web/CSS/background-position
- You can add some value to
background-position
Code β¨οΈ:
body { background-image: url(../../images/bg-pattern-top.svg), url(../../images/bg-pattern-bottom.svg); background-position: top -380px left -110px, bottom -350px right -150px; background-repeat: no-repeat; background-size: contain; }
- It's better if you use the
img
HTML syntax instead of using thebackground-image
in CSS.img
HTML is also easier to customize.
Feel free to reach me out π»
0