Okay. You made it! You're in the NBA Finals! Now it's time to beat your foe, the Los Angelos Lakers. If you look at the scoreboard, you will see two sides: ME and YOU. YOU are you and the Lakers are ME. This game will work how every basketball game works: you can dribble, shoot 3-pointers and 2-pointers, and defend against your opponent. But be careful—don't get too loose with the ball or get to reckless with your defense. If you do, you may commit a turnover or a foul, respectively. However, so might your opponents 😍. Oh oh, the games about to start! That's it, you've been debriefed—now go out there and get them Tiger!
This project started out as a simple basketball scoreboard with the only functionality being 3 score-incrementing buttons (+1-point, +2-points, and +3-points) for both the Home team and the Opponent. Wanted a greater challenge so turned the scoreboard into a replica of a real basketball game.
Add functionality to the buttons on the webpage. Make the scoreboard based off the Figma design. Design was changed to personalize. Make the personalization function like a real basketball game.
Live Site: https://2008-nba-finals-revisited.netlify.app/
Design the HTML first and then the CSS. Initially designed desktop-first. Made the switch to mobile-first design when became more educated on how to make responsive sites.
This game was built with HTML, CSS, and JS.
First: how to utilize flexbox and grid in the same webpage. Grid dictates the layout of the page, while flexbox determines the layout.
Secondly:
@media (max-height: 480px) and (orientation: landscape) {}
When implementing the landscape
media query, the height
of the viewport is of interest (i.e. needs limitation), unlike portrait
(regular) media queries which focus on the width
. Also, when in the browser's responsive mode, once the width
of the viewport becomes greater than the height
, the browser automatically changes the orientation of the webpage to landscape
.
- Make an instructions modal pop-up a couple seconds after opening the game to inform the user how to play the game.
The Los Angelos Lakers, Boston Celtics, and NBA logos are from freebiesubbly.com.
The color palette for the gameplay buttons are from SchemeColor.
Don't have any personal links other that this GitHub account.
None