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

ReactJs

Akshat 120

@INFLAMER07

Desktop design screenshot for the Newsletter sign-up form with success message coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


site is fully working did't spent much time in doing css and making site reactive but you can add some more designs and effects to make it more fun and more presentable unlike me ;) :)

Community feedback

@0xabdulkhaliq

Posted

Hello there 👋. Congratulations on successfully completing the challenge! 🎉

  • I have other recommendations regarding your code that I believe will be of great interest to you.

CSS 🎨:

  • Looks like the component has not been centered properly. So let me explain, How you can easily center the component without using margin or padding.
  • We don't need to use margin and padding to center the component both horizontally & vertically. Because using margin or padding will not dynamical centers our component at all states
  • You already using Flexbox for layout, but you didn't utilized it's full potential. Just add the following rules to properly center the component.
#root {
min-height: 100vh;
align-items: center;
}
  • Now remove these styles, after removing you can able to see the changes
#root {
margin: 50px;
}
  • Now your component has been properly centered

.

I hope you find this helpful 😄 Above all, the solution you submitted is great !

Happy coding!

0

Akshat 120

@INFLAMER07

Posted

Jai shree ram 🙏i know these things but im not wanting my time rn on css and stuff and i dont think its possible to complete site under 3 hours with proper css anyways thankyou for your consideration @0xAbdulKhalid

0

@0xabdulkhaliq

Posted

@INFLAMER07 Glad you found it helpful ! 🤠

0

@0xabdulkhaliq

Posted

BTW @INFLAMER07, can i know the meaning of "Jai Shree Ram" ?

0
Akshat 120

@INFLAMER07

Posted

It's just a greeting that we use @0xAbdulKhalid

0

@0xabdulkhaliq

Posted

Bro @INFLAMER07, but the google says "Victory to Lord Ram".

I don't know why you're saying this to me as "Victory to Lord Ram".

Is this a greetings bro ?

0
Akshat 120

@INFLAMER07

Posted

@0xAbdulKhalid it is a greeting and it definitely not means victory to lord ram . maybe you are from south and people don't use it that often over there but when you travel to north thats something you might find

0

@0xabdulkhaliq

Posted

Yeah you're right @INFLAMER07 people from south never used that, and i'm eager to know the meaning of the sentence from you.

Can you explain the meaning for that ?

Because Google may fail sometime but human can provide the right data!

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