I've been a full-stack developer for about 9 years & currently taking a break to learn more front-end tech, particularly React. Worked in Singapore for various digital agencies. I discovered that I enjoy doing front-end more, building up great designs and UIs, & would like to focus on it.
I’m currently learning...React, Tailwind, Redux, GraphQL, Zustand, Firebase, Laravel.
Latest solutions
Audiophile E-commerce with React, Redux, Tailwind and Firebase
#react#react-router#redux#tailwind-css#firebaseSubmitted over 3 years ago
Latest comments
- @tab21@mjbaga
Hi, @tab21. Nice job on the card. It looks great.
I've checked the code and see that you're using a background image. I also suggest try doing alternate one where you're using an image tag. This might not be useful now but typically on the job, the image tags are the way to go because:
- Screen readers (assistive technology) won't be able to read background images on CSS. They can read image tags and their alt attributes.
- Sometimes when working with backend and the image source comes from them, they can't place the image unless they use a style tag and some policies like CSP prevent inline styles.
Otherwise, solution is great. Hope this helps. Happy coding.
- @Dany-GitHub@mjbaga
Hi Ali. Nice work on the challenge.
Just some feedback:
- Was already pointed out on the social media icons. This usually happens when height and width doesn't match. You can try setting an explicit height and width, maybe in pixels. Or you can define just the width or height and use
aspect-ratio: 1/1;
- I'm on a larger screen and the social media icons are cut off, almost by half and can't scroll down. Maybe doesn't need the
overflow: hidden
on body. - On your button, maybe you can add a small transition effect,
transition: color 300ms ease-in;
. These are micro-interactions that improve user experience.
Hope this helps! Happy coding!
Marked as helpful - Was already pointed out on the social media icons. This usually happens when height and width doesn't match. You can try setting an explicit height and width, maybe in pixels. Or you can define just the width or height and use
- @emjogale@mjbaga
Hi, Emma. Good work on the slider!
Nothing much to say except maybe a few ideas on transition of the slides. Small animations just make the user experience better. Some things you can try:
- Slide animation, usually you declare a long width so that you can place your slides side by side and use overflow-hidden to hide that slide. Then you can play with transform translate rule and use transition. Or even use animate CSS rules.
- Fade in, fade-out, is much easier, you just stack the slides up and fade in the the new slide.
Oh, lastly, maybe a better hover effect than shadow on the buttons. Maybe background change instead.
Hope this helps! Happy coding.
Marked as helpful - @topspinppy@mjbaga
Hi @topspinppy. Good job on the challenge.
I've checked your code and have a few feedback:
- I would recommend to separate your media queries in big group chunks, instead of repeating the media query includes on a few declaration blocks. It's something I also used to do, but when you check your compiled styles.css, you'll see the same media queries were repeated like 16 times on the file. It wouldn't matter much on very small projects but quite significant or large ones, even saving a few kilobytes.
- You can check out mobile-first development. It helped me out a lot in coding for responsive design. Basically it's coding for mobile first and adding media queries as you go up in screen size. So you'll be using your min-width mixins instead of max-width.
That's it. Hope this helps! Happy coding!
- @Niezzx@mjbaga
Hi, Niezzx! Good job on the challenge.
I've checked your code out and here's some feedback:
- The container is expanding because of the hidden paragraph content being shown. Notice that it doesn't expand when the paragraph isn't as long as 2 lines. Try transferring that hidden paragraph inside the question-bar div so that it will follow the width of its parent container and you won't have to us percent width on the paragraph.
- I checked your JS. For adding event listeners to querySelectorAll, you don't need to loop through each item. I get that you're trying to access the ID, but you can just do it by simply traversing the DOM.
- Check out this article https://medium.com/codex/how-to-traverse-the-dom-in-javascript-7fece4a7751c for traversing DOM. Basically if you have queried an element, like with querySelectorAll, you can use that as a basepoint to either go up the DOM to access parents, or go down the DOM to access children.
Hope this helps! Happy coding!
Marked as helpful - @devbev@mjbaga
Hi Devbev. Good job on the challenge.
Just some feedback, just very small things:
- Just semantic HTML, suggest to use
<ul></ul>
for lists, items that are related with each other. To divide stuff into sections for layout, use divs instead. - Font sizes are smaller and the colors for Equilibrium and Jules Wyvern are different from design.
That's it! Otherwise, nice work. Hope this helps.
Marked as helpful - Just semantic HTML, suggest to use