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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 00:20, kcameronanderso
What’s resistance in an electrical circuit ?
Answers: 1
image
Computers and Technology, 22.06.2019 11:00, sjackson0625p8w1a0
Which action is good business etiquette? a. switching your cell phone off before you enter a meeting b. keeping your cell phone on low volume before you enter a meeting c. setting a pleasant ring tone on your cell phone before you enter a meeting d. setting a standard ringtone on your cell phone before you enter a meeting
Answers: 1
image
Computers and Technology, 22.06.2019 19:30, tfaulk2884
Singing in the rain: this first part of the film shows the early history of motion picture. how accurate do you think the portrayal of the early motion picture industry is? why? is historical accuracy important in films and theater productions? explain.
Answers: 1
image
Computers and Technology, 23.06.2019 01:10, kristofwr3444
Are special combinations of keys that tell a computer to perform a command. keypads multi-keys combinations shortcuts
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 in other subjects:

Konu
Mathematics, 01.07.2019 06:00