Giter Site home page Giter Site logo

nfl_roster's Introduction

NFL_Roster

Fantasy Hand-Egg!!!

NFL Roster

-1. Create a repository for my-roster. -2. Create an index.html file. -3. Create an app.js file. -4. Create a site.css file. -5. Link the script and stylesheet in index.html -6. Link bootstrap in index.html -7. Link jQuery in index.html -8. Add a panel with a header that says "My NFL Roster". -9. Wrap the panel in a div with the class "container". -10. Inside the panel body, create 2 child divs, one with the class "player-roster" and one with the class "player-form". -11. Inside the player-roster div, add another div with the class "player-card".

  • Set the player-card class to "display:inline-block" and add a "1px solid black" border
  • Add an image to the player card with the src = "http://s.nflcdn.com/static/content/public/image/fantasy/transparent/200x200/"
  • display the player's name
  • display the player's position
  • display the player's number -12. Create a form inside the "player-form" div. -13. Add input fields for playerName, playerPosition, and playerJersey. -14. When the Add button is pressed, it should automatically add a player to the Roster. -15. Create a constructor for Player that accepts 3 arguments: name, position, jersey.
  1. When the Add button is pressed, a new Player is created and added to the players array.
  2. Use jQuery to target the "player-roster" div, and append the player.

Key Components ("User Stories")

  1. As a fan of sports, I would like a dynamic roster where I can add/remove players and visualize my sports team.
  2. I would like a form so that I can add a player to my roster easily.
  • The form should have the following fields:
    • Player Name
    • Player Position
    • Player Jersey
  1. I would like the players added to show up in the roster section after being added.

nfl_roster's People

Contributors

jakeoverall avatar emilyanndavis avatar dustinrpatterson avatar matthewoverall avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.