Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Solution to Chat App Illustration

@rame0033

Desktop design screenshot for the Chat app CSS illustration coding challenge

This is a solution for...

  • HTML
  • CSS
3intermediate
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

The use of pseudo-code ::before and ::after helped me to add content like accent designs and radio button for the choices in the message container.

The snippet below will show how I did the styling for the mockup radio button

.time:before {
  content: '';
  display: inline-block;
  height: 1rem;
  width: 1rem;
  border: 0.1rem solid var(--radio-btn);
  border-radius: 50%;
  margin-right: 0.5rem;
}

What challenges did you encounter, and how did you overcome them?

I was hesitant to do the phone app but I discovered to make a container that will have respective divs for every element and class to style each individual properly.

Community feedback

@DigitaleWeltLibrary

Posted

Hey, good soluten.

I have two points for improvement:

  • Give the main element a height. Then you can't see the footer on the screen.
  • The violet banner on the left side is on the mobile version smaller. Then you can read the text easier.
main{
      min-height: 100dvh;
}

I hope i could help you to improve your skills. 😉

Happy coding 😊

Marked as helpful

0

@rame0033

Posted

Thank you for this wonderful tip @DigitaleWeltLibrary 😄

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord