Jump to content

Active buttons not working


BellaSzabo
 Share

Recommended Posts

I have copy and pasted the coding from https://www.w3schools.com/howto/howto_js_portfolio_filter.asp into my portfolio page and came across some issues that I cannot figure out. 

1. When I open my html document in the web browser, it doesn't show all of the photos until you click on "All" in the portfolio's menu bar. It's supposed to show all right when you open the portfolio page.

2. The active link is not working right. It shows "All" as being active even when you click on the other options. 

Anyone know how to fix this? I am not familiar with js so I don't know how to fix these problems. 

about1.jpg

about2.jpg

art.css portfolio.js portfolio.html

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...