Shubham Sharma
@shubhamthedevAll comments
- @SahasSauravSubmitted over 4 years ago@shubhamthedevPosted over 4 years ago
Hi the solution looks great and it's responsive here are a few things that you might wanna look into :
-
The loading takes unusually, I really don't know why this is but the api isn't that slow in sending data.
-
Search work properly only when the region is set to all regions.
-
Borders on the details page get messed up sometimes, where i can't even view countries that do have borders.
-
Dark mode doesn't work for me even though i can see the buttons.
I did this same challenge a while back maybe it might help you, here is the link.
Hope this helps.
1 -
- @JessicaUkpeborSubmitted over 4 years ago@shubhamthedevPosted over 4 years ago
Hi, I can't really see your code maybe you entered the wrong link there but what you could do is put the whole section into a
<div>
and give it a class.container
then specify the width of the container using CSS i.e.width: 800px
or whatever value you wanna give it then useposition : absolute
to centre the element also you can use flexbox to centre the elements.0 - @tamsaySubmitted over 4 years ago
My first submission here. Kindly review and give your feedback(s). Thank you
@shubhamthedevPosted over 4 years agoHi, the solution looks great and i love the theme switcher especially, here is a few things you can tweak:
-
The region filter doesn't let me switch back to viewing all countries, maybe add an option for that.
-
If i click on the border for a given country then their is no way for me to see go back an see all countries since it only shows me the country that i clicked on.
-
When clicking on the borders the page should automatically show me it's details.
-
When i click on a random country in the beginning and start scrolling on the details page i can see the main page scrolling for some reason.
These are the things that i noticed while looking at the site, I did this same solution a while back you can checkout my solution here.
Hope this helps.
2 -
- @mohamedabusreaSubmitted over 4 years ago
This challenge was tricky especially with the responsive because the images don't have the same size so I tried some workarounds to solve this issue and make it looks good. Also, it's a PWA which means its installable and works even in offline mode. Feedback is much appreciated 😊🤓
@shubhamthedevPosted over 4 years agoHey, good job on the project here are a few things maybe you could fix:
-
The borders on the details page are supposed to take you to that page, basically they are supposed to be links.
-
Okay there are way to many html and accessibility issues maybe fix those.
I did the same project using react, you can check it out here.
Hope this helps.
0 -
- @adeola2310Submitted over 4 years ago@shubhamthedevPosted over 4 years ago
Hi, functionality wise the site works but their are a few problems :
-
The filtering using filter region doesn't work you actually need to make a new call to the api to filter by region.
-
On the details page you cannot see the surrounding borders for a country .
-
Plus you have a lot of html and accessibility issues.
But i know this isn't an easy challenge so overall good job. Here is my solution for the same.
1 -
- @DannyBritoSubmitted over 4 years ago
Hello, thank you for looking at my solution. I'm trying to improve my styling skills. I would appreciate any and all feedback.
@shubhamthedevPosted over 4 years agoHi, I don't see any problems with the design or the functionality, the code is clean and the site is responsive, good job 👍.
1 - @jarayabozoSubmitted over 4 years ago
I would appreciate any feedback on this project. Thank you.
@shubhamthedevPosted over 4 years agoHi, awesome job on the project here's what i think you can improve:
-
First of all the icons in the search and filter regions aren't visible for some reason.
-
Second when you toggle dark mode on the homepage, it persists only until i click on the neighbouring borders of a specified country i.e. if i clicked on India the dark mode persists but as soon as i click on one of it's borders it disappears.
-
Third you are loading some wrong pages like for ex. when i clicked on India it opened up British Indian Ocean territories page, maybe you're making the wrong api requests.
Here is mine solution although i did it using React.
Hope this helps 😊
1 -
- @mritunjaysahaSubmitted over 4 years ago
I've used loading skeleton, material-ui for the dropdown menu, and unicons for the icons.
I faced problems in theme switching using SASS. If some one could help with this.
Feedback would be appreciated.
@shubhamthedevPosted over 4 years agoHi, the loading skeleton looks great in fact i didn't know such a tool existed so thanks i learned something from you and on the subject of theme switching, it seems to work fine. But here's how i did mine, basically when i toggled dark mode i basically stored this info in local storage plus i made sure that as soon as body gets a class of
.class
everything else on the page also changes.Hope this helps!
1 - @safrukSubmitted over 4 years ago
Question: Is there any alternate to max-width. I find that I rely on it a lot specially for text. I used to use padding earlier but my design breaks a lot with padding. I don;t know if this is the correct way. I would be thrilled if you would share your views about this.
Question: I just cant figure out when to use flex-wrap and when not to.Again my design just falls apart when i use flex wrap attribute. What are some use cases for flex wrap.
Question: When I carefully look at this design ,the background image looks like its been set to contain and not cover.But I couldn't figure out how to implement that. The mobile view has the image only behind the mockups image. I looked at other peoples solution hoping to clear my confusion but I didnt find any.If anybody here has a solution can you please show me.
@shubhamthedevPosted over 4 years agoHi, here are some of the answers to your questions:
-
For me i usually change the font sizes for the paragraphs on different screen sizes and in combination with
width
attribute it seems to work fine for me. -
I'll be honest but i have never used
flex-wrap
ever but you could see a small example of how it maybe useful over here. -
You could use a shorthand
background: #ffffff url("img_tree.png") no-repeat right top;
and put both the background-image and background-color on the body element,this worked for me.
Hope this helps.
2 -
- @LizUKSubmitted over 4 years ago
Any feedback would be appreciated.
@shubhamthedevPosted over 4 years agoHi @LizUK, nice job and you've nailed the line heights and font sizes pretty accurately and you've got the positioning done correctly. Here are some suggestions for you:
-
You should provide a label for your inputs since labels are used by the accessibility API for screen readers and other things.
-
If you're asking for the users email address then the input type should be email i.e.
<input type="email">
and not text. -
Plus you should use a form submit button or in other words the button element instead of an input element.
-
I don't know the reason but on my screen width the design has a horizontal scrollbar which should be there.
Hope this helps and keep coding 😃
1 -
- @HakaCodeSubmitted over 4 years ago
I would like feedbacks ...
My biggest problem is about making some site responsive, because, I don't know which one to use "min" or "max".... I would like help if possible.
@shubhamthedevPosted over 4 years agoIt's a simple concept if you designed your site first for desktop screen sizes like 1400px then you need to scale down your design using
max-width
media queries and if you designed your webpage for mobile first screen sizes like 375px then you usemin-width
media queries to scale up your design.Here is an MDN page for the same although this contains a lot of details and might confuse you so here is a youtube video for the same.
3 - @emmy-htmlSubmitted over 4 years ago
Any feedback is welcome! In particular I was having trouble with displaying the location marker in the footer as a block element next to the text, so I'd love any suggestions on workarounds for that. Thank you!
@shubhamthedevPosted over 4 years agoHi, you could use
display:inline-block
to put them on each other sides, or if you put them inside a<div>
element then you could usedisplay:flex
property on the<div>
element to display them on each others side. Apart from this your design seems pretty good the design is responsive and adapts nicely to different screen sizes.-
Just a few suggestion, the button at the bottom of the page needs more space to fit the text maybe increase the width of the same a bit plus you should provide some transitions to the way buttons change color upon hovering.
-
Second fix all those html validation and accessibility issues.
Hope this helps and keep coding 👨💻.
1 -