What are you most proud of, and what would you do differently next time?
I implemented React Portal for my custom dialog / modal box and also able to close it when we click the area outside of the dialog. But I'm not sure if it's been used correctly. Next time I'd prefer to use third party library to ensure the correct behaviour of a dialog.
What challenges did you encounter, and how did you overcome them?
Data state management, we usually fetching data in server side and render the UI. However in this challenge, I imported data locally and store in data state in useEffect to simulate fetching data on page load. On the other hand, it has to do everything in client side which basically abandoned the advantages of server side rendering.
Hi everyone, this is my solution of "Four card feature section". This is my first time of using TypeScript and TailwindCSS. I want to ask a question about setting up the grid layout for desktop version in TailwindCSS. I can only use the original way to apply grid-area in global.css.
Hi everyone, this is my solution of Responsive Space-Tourism-Website using NextJS(App Router). I managed to complete this challenge in one week. I really enjoy the way to handle routes with NextJS (App Router) by just creating a new directory and page.js. Considered a better user experience. I would like to add fade-in animation to components rendering.
Any comment would be appreciated. Thanks for your help!! :D
Hi everyone, this is my solution of Responsive Room-Homepage using [NextJS, CSS Grid, Flexbox]. For me, the most difficult parts are <img srcset="" sizes=""> and the sizing of image slider. I'm happy to complete this challenge.
Hi everyone, this is my solution for a responsive e-commerce page with NextJS 13,
In this challenge, I found that the most difficult part is dealing with the server and client components. It's completely different from how I've been building websites.
Any comment would be appreciated and helped me grow further.
This is my first project using NextJS and handling external API calls. It was struggle to play around with the structure of NextJS. I'm not sure if my coding structure are correct. Any feedback will be appreciated. Thanks for your help!!
This is my first exercise using React. I tried to keep elements tidy and separated into tiny components. I would love to hear any comment on my page or coding. Thanks for your help.
What I learned:
CSS Grid and Flexbox. Use grid-template-column: 1fr 1fr 1fr to keep columns or rows in same ratio.
Responsive image using <picture> to switch imgage source.
Use the silbling selector (~) to link up the active state of navigation button and the following classes.
(When a nav button is activated, the related CSS should be followed)
Hi everyone, this is my solution of "3 column preview card".
I learned CSS property 'transition'.
transition: background-color 200ms ease-in-out, color 200ms ease-in-out;
I found that using grid-template-rows: 1fr 1fr 1fr; will share equal amount of width for each item. In this situation, it is better than using flex-direction: row;.
Hi everyone, this is my solution of "stats-preview-card-component".
I learned how to use mix-blend-model: multiply; property to mix the background colour and image. I was thinking to add an overlay <div> on top with transparent colour. But I found this is a lot more simpler than that.
I also noticed that flexbox will shrink the image for the text content if I didn't set the flex-shrink: 0;.