@BenChis
Submitted
Hey there, Here is my solution for the product landing page. Please if you are interested in my experience reading my markdown.
Thanks for your everyone who want to spend some time giving me some feedback.
Looking to hire developers?
@molszewski34
@BenChis
Submitted
Hey there, Here is my solution for the product landing page. Please if you are interested in my experience reading my markdown.
Thanks for your everyone who want to spend some time giving me some feedback.
@molszewski34
Posted
Hey i see few problems.
Only first 2 menu links have hover effect. Hover effect can look better if you lower transition time. Cart when empty change side. I had the same problem and for me the best and easy solution was to make a container with button and sum visibility:hidden; Cart in mobile view has big white space. Plus and minus buttons are too small. You can make them small but it is a good thing to put them in span so area in which you can click is bigger. I didn't test it on smartphone but buttons can be hard to push. Same thing with slider buttons. Button in cart do not always hover when i move cursor. Input number should keep the value visible when submit.
Marked as helpful
@jaronimas-codes
Submitted
1.1 NEW PROBLEM - how to apply style when 'left' is 0. Should I redesign structure of page as an array of object and then render it with different information? NEED HELP WITH THIS.
How to center "left borders" in main statistics page? Did static and I know it is bad option. SOLVED
Looking for coding buddy to review each others code and give constructive feedback. (once per week or so - will negotiate).
Regards, Jaronimas
@molszewski34
Posted
You can try update it with parseInt method and use toLocaleString to give value a proper format.
sumOutput.innerHTML = "$" + (sumOutput + parseInt(noRewardInput.value)).toLocaleString("en-us"); sumOfBacker.innerHTML = (sumOfBacker + 1).toLocaleString("en-us");
let sumOutput = 89914; let sumOfBacker = 5007;
Marked as helpful
@jaronimas-codes
Submitted
1.1 NEW PROBLEM - how to apply style when 'left' is 0. Should I redesign structure of page as an array of object and then render it with different information? NEED HELP WITH THIS.
How to center "left borders" in main statistics page? Did static and I know it is bad option. SOLVED
Looking for coding buddy to review each others code and give constructive feedback. (once per week or so - will negotiate).
Regards, Jaronimas
@molszewski34
Posted
Marked as helpful
@AyllaChristinne
Submitted
I know there's a lot undone, but that's what i've got until now. When I master more of frontend, the solution will be upgraded.
@molszewski34
Posted
Hey. Solution works. Every calculations works as intended. You missing two things. When "person input" is 0 or less it should show alarm state - red border and text. Second is button which must show disabled and active status.
In matter of responsivness you could consider use of grid. This should help you a lot.
Good job!
I spent some time learning more about masking currency. Please, comments and reviews are always welcome.
@molszewski34
Posted
Still didn't get an answer about this, but one thing concerns me right now. Is us-eu currency format for input even a good thing to set in hmtl. Comma is another sign for javascript which can disrupt a whole calculation when not used with some methods. So you probably need javascript for this anyway which is not an answer for question :)
Marked as helpful
I spent some time learning more about masking currency. Please, comments and reviews are always welcome.
@molszewski34
Posted
I don't know but i will check if there is any easy way to do it w/o js.
Marked as helpful
I spent some time learning more about masking currency. Please, comments and reviews are always welcome.
@molszewski34
Posted
Hey. It is one of better aproaches to what should be provied inside input. Most of solutions goes with step="1" which is not real in every scenario when someone pays with cents.
But why you don't used input type number with step="0.1" which gives you the same thing with less effort and you can also edit those numbers in easier way ?
Also it is not must have but reset button should look active when there is any change in status.
Marked as helpful
@JasonYuYang
Submitted
This challenge is pretty easy so I use this to practice webpack and setup prettier,eslint...Trying to understand how to setup development environment closer to real work scenario, can you guys share how your setup was? Or give me some feedback about my setup.
@molszewski34
Posted
Hey. You miss one small feature. It is not so important but without it project is not complete. When reset button is used it should change style to darker to look as it is disabled and when there is any change it should look active again.
@mjmorrison10
Submitted
Any tips or suggestions highly appreciated.
@molszewski34
Posted
Yes. I see that span when in position: absolute moves over input and block it.
@imparassharma
Submitted
Any feedback is appriciated.
@molszewski34
Posted
List of issues.
Marked as helpful
I think my JS is too complex / big ...???
Any ideas or suggestions?
@molszewski34
Posted
List of issues:
Code isn't too big and too complex. You code the way you can and with time you find better practice or way to make it shorter but it come with time... so don't worry and keep coding.
Marked as helpful
@KatherineEbel
Submitted
Any feedback welcome.
@molszewski34
Posted
Yea. It is fine right now :)
@KatherineEbel
Submitted
Any feedback welcome.
@molszewski34
Posted
Hey. Almost everything is fine. The only issue is found is that when you change custom input from any value to 0 it keeps old value when it should show default value mb. 5% ? It is not so important but keeps this project from perfection :)
Marked as helpful
@mjmorrison10
Submitted
Any tips or suggestions highly appreciated.
@molszewski34
Posted
Hey. Calculation part works but there are few issues you should work with.
Checked on firefox and chrome.
Marked as helpful
Hello! Simple tip calculator using HTML, SCSS and JavaScript, comments and suggestions are greatly appreciated! :)
@molszewski34
Posted
Looks good. The only thing i would suggest is to change reset button so it does not show "disabled" status non stop. Reset button should look active only when any input has been provided and disabled after you use reset and not provided any input.
@molszewski34
Submitted
Hey. Feel free to comment about errors i made during this challange.
@molszewski34
Posted
You mean that lower background picture in mobile view or something else?
@omeizahanif
Submitted
How do you set input validation to display border and a warning text?
Feedback is welcome!
@molszewski34
Posted
I hope this aproach will give you some insight. There are better ways to make it but it is one of simpler to understand.
form.addEventListener("input", () => { if (numPeople.value <= 0) { document.querySelector(".people__error").style.display = "block" numPeople.style.borderColor = "red" } else if (bill.value <= 0) { document.querySelector(".error").style.display = "block" bill.style.borderColor = "red" } else { document.querySelector(".error").style.display = "none" numPeople.style.borderColor = "green" document.querySelector(".people__error").style.display = "none" bill.style.borderColor = "green" } })
Marked as helpful
@Menna-Rashad
Submitted
Is there any notes about the styling? the JS part? Any helpful notes are welcome ^^.
@molszewski34
Posted
In my aproach i used it for form. If you use input instead of submit it use functions anytime you pass the numbers so this way you get a real time calculation like in normal calculator.
If you are worried about alert msg you can try to give your input in html vallue=1 or give min=1 so this way it should never show alert msg at the start but keep in mind this is reserve for input type number. I used input type number.
I checked alerts again and now it works.
Marked as helpful
@Menna-Rashad
Submitted
Is there any notes about the styling? the JS part? Any helpful notes are welcome ^^.
@molszewski34
Posted
Hey. There are few issues. First is that you not included method .toFixed(2) so output gives big numbers after dot. Second is less important but still worth mention. The way you need to confirm input by "submit" can confuse user that output is not showing. I propose to change it for "input". Third is that your "alert" function not working when user provide 0.
Checked on Firefox browser.
Marked as helpful
I'm pretty happy with this one. There were a lot of subtle challenges here to make sure it was fully responsive and accessible.
It was my first time building a purpose built design system for a project, and that's something that I hope to re-use.
It might seem like using React and so many re-usable components was a bit overkill. However, I think it was great to be able to concentrate on building out a good design-system api without having massive scope.
@molszewski34
Posted
No problem. Finding bugs and trying to figure when and how they happend is also some way of better understanding a code for me. So if you post solution of problem it is also some benefit for me :)
@NadyaMumtazah
Submitted
Love to hear your feedbacks!
@molszewski34
Posted
You miss function which check if number of people is greater than zero and show alert. Also "reset button" not showing disabled status. It works but not fully as intended in challange.
Beside that, everything is fine. Good work.
I'm pretty happy with this one. There were a lot of subtle challenges here to make sure it was fully responsive and accessible.
It was my first time building a purpose built design system for a project, and that's something that I hope to re-use.
It might seem like using React and so many re-usable components was a bit overkill. However, I think it was great to be able to concentrate on building out a good design-system api without having massive scope.
@molszewski34
Posted
I checked it on chrome, firefox and opera. This bug appears only on firefox. When i reset, the default option is 15%. If i change to some "reset button" stops to be disabled, but when i go back to 15% even with number put into, button starts to be disabled again. https://freeimage.host/i/zrzut-ekranu-z-2021-11-09-o-100015.5Gkw1j
Works fine on other platforms. I am just curious why this bug happens and mb i will learn how to avoid it.
Marked as helpful
I'm pretty happy with this one. There were a lot of subtle challenges here to make sure it was fully responsive and accessible.
It was my first time building a purpose built design system for a project, and that's something that I hope to re-use.
It might seem like using React and so many re-usable components was a bit overkill. However, I think it was great to be able to concentrate on building out a good design-system api without having massive scope.
@molszewski34
Posted
Did you tried on some other device, mb smartphone?
Marked as helpful
@spencerrunde
Submitted
Tried something new while working on this one! First time using SCSS, and I really enjoyed it. Any feedback is welcome, as always! Thank you!
@molszewski34
Posted
Hey. Good solution.
If you want you can change a bit mobile view. Right now is a bit too large for mobile devices as phone.