It's interesting that on screenshot in solution it renders incorrectly. Any ideas?
Paras Gediya
@MrparasgediyaAll comments
- @TomRoloSubmitted over 3 years ago@MrparasgediyaPosted over 3 years ago
Hello, i have visited you live preview everything look good, you need to generate new screen shot,and you can center this card with absolute positioning, flexbox and more so you can achieve design view.
0 - @LidiaRJSubmitted over 3 years ago
Any feedback or advice is more than welcome, specially on the JS code. Thanks!
@MrparasgediyaPosted over 3 years agoHi there, i found some small changes to your js code in handleClick func you can use id instead of innerHTML and there is no need to calculate person value in for each loop and you can replace calculate person value by using setpersonvalue func out of for loop, and if you are using setpersonvalue function after for each loop the there is no need to use calculate tip. in setpersonvalue func here you are using timeout to remove warning but warning removed after 5 sec if customer no is greater then 0. here timeout return function to stop timeout and you can store it in global variable and you can use if customer count is more then one and there is warning timeout running then you can close timeout by simply calling global variable func. i hope this info will very helpful for you. Thank you :)
0 - @TalhaAmjad0034Submitted over 3 years ago
This is my 2nd Deployment using React. I want to ask why there is gap between Graphic design pic having cherry pic and Orange pic. and secondly please recomend me from which import, from where I can learn to add animations in projects like this. I am pretty much new in react game so don't hesitate to leave a comment. Thanks a lot !!
@MrparasgediyaPosted over 3 years agoHello bro, i think here your header(first orange image) height is more then graphic design so your content after header is shifting with that increment of header height so you just need to reduce height of header or you can use vh to handle header height.
Marked as helpful0