Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Web-Technologies-Lab2

Here is the link to run the program: https://profound-axolotl-0b0163.netlify.app/ OR: https://app.netlify.com/projects/profound-axolotl-0b0163/overview

The app’s main state lives in App.jsx, which stores all the posts and saves them to localStorage so they stay after refreshing. The App component passes this data down to its child components: Navbar, Composer, and Feed. The Composer lets users add new posts, updating the state in App when they submit. The Feed displays all posts by mapping through them, and each PostCard shows one post’s image, caption, and like button. When the like button is clicked, it updates the main post data in App. In short, App manages all the data, and the other components handle displaying it and sending updates back.

Screenshots:

Screenshot A: The app showing the centered layout (visible margins), with the browser DevTools Styles panel open highlighting: body’s font-family stack including system-ui, the .container rules applied to main. Screenshot 2025-10-09 130950

Screenshot B: A hovered button (e.g., Like) demonstrating the hover style difference. Hovering over like: Screenshot 2025-10-09 131052

Vs not hovering: Screenshot 2025-10-09 131152

Screenshot C: DevTools Elements view of: a Like with aria-pressed="true" (after clicking), set to true: Screenshot 2025-10-09 131314

a post image’s img with a meaningful alt attribute. Screenshot 2025-10-09 131538

And other screen shots: Screenshot 2025-10-09 125645 Screenshot 2025-10-08 102244 Screenshot 2025-10-08 180704 Screenshot 2025-10-08 182109 Screenshot 2025-10-08 182316 Screenshot 2025-10-08 182440 Screenshot 2025-10-08 191628 Screenshot 2025-10-08 191900 Screenshot 2025-10-08 192026 Screenshot 2025-10-08 192726 Screenshot 2025-10-08 193752 Screenshot 2025-10-08 193820 Screenshot 2025-10-08 201007 Screenshot 2025-10-08 201143

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages