File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1005,16 +1005,7 @@ <h3>${proj.title}</h3>
10051005 ( p ) => p . category === "utilities"
10061006 ) . length ;
10071007
1008- const heroCount = document . getElementById ( "heroProjectCount" ) ;
1009- const heroGames = document . getElementById ( "heroGameCount" ) ;
1010- const heroMath = document . getElementById ( "heroMathCount" ) ;
1011- const heroUtils = document . getElementById ( "heroUtilityCount" ) ;
10121008 const projectBadge = document . getElementById ( "projectCountBadge" ) ;
1013-
1014- if ( heroCount ) heroCount . textContent = total ;
1015- if ( heroGames ) heroGames . textContent = games ;
1016- if ( heroMath ) heroMath . textContent = math ;
1017- if ( heroUtils ) heroUtils . textContent = utils ;
10181009 if ( projectBadge ) projectBadge . textContent = total + " projects" ;
10191010 animateCounter ( "statsTotal" , total ) ;
10201011animateCounter ( "statsGames" , games ) ;
Original file line number Diff line number Diff line change @@ -39,8 +39,6 @@ function getProjectHTML(projectName) {
3939 'minesweeper' : getMinesweeperHTML ( )
4040 } ;
4141
42- return projects [ projectName ] || "<h2>Project Coming Soon!</h2>" ;
43- }
4442
4543function toPascalCase ( str ) {
4644 if ( str === "2048-game" ) return "2048Game" ;
You can’t perform that action at this time.
0 commit comments