A Photo Website like Pexels (Build with React)

Hi everyone,

I’ve been working on this photo app. It’s pretty basic, but I just want to make sure I can use React comfortably. The project isn’t finished yet, but I plan to keep working on it and improving it as I go.

Link: https://github.com/AmbitiousCalvin/PhotoWebsite.git

Thanks for reading. Have a good day!

1 Like

Looks cool! Some of the menus and panels don’t really function perfectly — I’m not sure if they’re hover or click activated — so you might want to look into that. But everything else is a delight to look at! Great design.

Here’s a better live link of the site, to all who are interested:

https://c8fhys.csb.app

The only functional buttons are the Theme Btn, Menu Icon for smaller window size and search bar icon. others are there for style.
Thx for the reply!

1 Like

Ah, I see. Well, the menu button for smaller window size doesn’t quite function on my end. When I click on it, it appears briefly and then slides away on its own. I can’t see it long enough to perform any actions. Maybe you ought to check your event listener logic for it? I suspect there’s some bug hiding in there somewhere.

1 Like

I think it should be working right now.

1 Like

Hey, everyone. I added some new features to the website.
Here’s the direct Link: https://c8fhys.csb.app/

I would run this code through chatgpt and ask for feedback.

The use of TS seems off. Many any types in use for example which negates the need for it.

I could spend my time listing other examples but no point, just paste it into chatgpt.

1 Like

I tried to start the project in just React but ran into some problems in codesandbox so I just went with what worked. But I will do as you suggested.

Ok makes sense. If you want to change to plain JavaScript, change the file extensions to .js or .jsx for react components.

Or you could choose to properly implement TypeScript.

1 Like

A lot of things have been fixed, and honestly the site feels much better. Great work. It feels so professional.

However, that weird menu behavior is still there. I’m not able to open it either by clicking or hovering for more than a split second. I recorded it and put it in a GIF below for you to see. I am actively clicking and hovering on it in the recording.

HDUntitled2-ezgif.com-optimize

Hope you pinpoint the bug soon!

I checked my logic but I can’t seem to find the bug. I fixed some styling in css so maybe it works now. :sweat_smile:

1 Like

Uh oh, looks like you tampered a bit too much with the styling. Now the page won’t even load. I get an error message reading

Can't find variable: custom_class

hey, sorry. I was working on the website at that time.
Everything works now (at least on my side). I added a new page and a bunch of new stuff.