Question: Hey i need hep which this javascript program. can someone pls just write the code for only the commented parts where it says //TODO. if

Hey i need hep which this javascript program. can someone pls just write the code for only the commented parts where it says "//TODO". if you need any other file to then please write it in the comments.

 function updateTableTitle(title) { // TODO // Add the text to the ... element in the element with id=table-title } function addRowToTable(row) { // TODO // Add the given ... element to the table body element with id=rows } function clearAllTableRows() { // TODO // Remove all content from the table body element with id=rows } function createTableRow(id) { // TODO // Creates and returns new table row  element with the specified id value. } function createTableCell(child) { // TODO // Given a child element, create a  and add this child to it. Return the . } function addContentToRow(child, row) { // TODO // Wraps a child element in a ... and adds it to the table row } function createImg(src, alt) { // TODO // Given a URL src string and alt text string, create an  element and return: // Hey i need hep which this javascript program. can someone pls just }  function createText(text) { // TODO // Given a string of text, create and return a TextNode // https://developer.mozilla.org/en-US/docs/Web/API/Document/createTextNode } function createAnchor(href, innerContent) { // TODO // create and return an anchor element. // Muskrat. NOTE: // The innerContent will be a TextNode or HTML Img Element (i.e., it // won't be simple text). } function createTime(formatted) { // TODO // Return a proper time element with its dateTime property set: //  } function toYesNo(value) { // TODO // Given a boolean value (true/false) return a string "Yes" or "No" }  // Converts an Observation object into DOM nodes that produce the following HTML: // //  //  //  // Hey i need hep which this javascript program. can //  //  //  //  //  //  // Muskrat //  // No // Yes // No // No //  // // Things to note in your solution: // // - Give the table row an id, using the observation's id // - Create an anchor so you can click the photo and go to the observation's uri // - Use the observation's name as the alt text of the image, and photoUrl as its src // - Use a proper 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!