
PHP site with session-based login/signup, note creation, and a car shop with cart, live pricing, and lazy-loaded images for smoother performance.
by Chris Chen Oct 2023 to Oct 2023The purpose of creating this website was to learn how to implement PHP in web development. The website uses PHP's session storage to provide a fully functional signup and login mechanism. Users can create accounts, and their activities are saved in the session storage. When logged in, users can create notes with a title, description, and image. The website also features a car shop, demonstrating simple e-commerce functionality, including adding cars to a cart, clearing the cart, and live total price updates. Cars in the shop are represented by objects with images, prices, and descriptions to inform users about the details. Additionally, I learned how to implement lazy loading for images that take longer to load.