subject

In javascript i was given the footballer. html and the footballer_api. js files, i have to make a footballer. css and ANOTHER footballer. js file in order to create a table that looks like the attached image.'s primary purpose is to make DOM modifications to the HTML document in response to the data that is obtained through the baller library.

so there needs to be TWO .js files

The user sees a page listing all of the teams in the Driftless Region rugby (football) league. The teams are listed in a table. The teams already exist and are obtained through the baller library. Note that this library will re-generate a random data-set (including a random number of teams and games) every time the application is refreshed.
The baller library is an object that is accessible via the globally defined variable named baller. All interaction with the library is through this global variable. Your code must interact with the library to perform all data-related operations There is no other mechanism for peforming these operations.

Property Description
getTeams(cb:function) This function accepts a callback function and returns undefined. The callback function is executed when the teams have been obtained from the baller library. The callback function is a function of two inputs: an error string and a list of all teams. Exactly one of these two elements will be null.
getTeam(id:string, cb:function) This function accepts the id of a team and a callback function cb. The getTeam function returns the value undefined. The callback function is executed when the team has been obtained from the baller library. The callback function is a function of two arguments: an error string and the team object having the specified id. Exactly one of these two elements will be null.
getGames(id:string, cb:function) This function accepts the id of a team and a callback function cb. The callback function is executed when the games of the specified team (identified by id) have been obtained from the baller library. The callback function is a function of two arguments: an error string and a list of game objects involving the team having the specified id. Exactly one of these two elements will be null.
link to full asmt
https://charity. cs. uwlax. edu/views/cs202/homeworks/hw04/inde x. html
here is the hmtl

view-source:https://charity. cs. uwlax. edu/views/cs202/homeworks/hw04/code /footballer. html

here is the footbalelr_api. js

https://charity. cs. uwlax. edu/views/cs202/homeworks/hw04/code /footballer_api. js

there should be 4 code files total


In javascript

i was given the footballer.html and the footballer_api.js files, i have to make a f

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:00
Is the following sentence true or false? during meiosis, the two alleles for each gene stay together.
Answers: 3
question
Computers and Technology, 22.06.2019 01:20
What is the full meaning of rfid in computer
Answers: 2
question
Computers and Technology, 23.06.2019 18:00
Apunishment or the threat of punishment used to enforce conformity. select the best answer from the choices provided t f
Answers: 1
question
Computers and Technology, 23.06.2019 20:00
What multimedia system creates an immersive, real-life experience that the user can interact with?
Answers: 1
You know the right answer?
In javascript i was given the footballer. html and the footballer_api. js files, i have to make a...
Questions
question
Social Studies, 03.03.2022 17:40
question
Computers and Technology, 03.03.2022 17:40
Questions on the website: 13722366