Join the discussion
Question 1/89
Given HTML below:
<div>
<div id ="row-uc"> Universal Container</div>
<div id ="row-aa">Applied Shipping</div>
<div id ="row-bt"> Burlington Textiles </div>
</div>
Which statement adds the priority = account CSS class to the universal COntainers row ?
<div>
<div id ="row-uc"> Universal Container</div>
<div id ="row-aa">Applied Shipping</div>
<div id ="row-bt"> Burlington Textiles </div>
</div>
Which statement adds the priority = account CSS class to the universal COntainers row ?
Correct Answer: C
Add Comments
- Other Question (89q)
- Q1. Given HTML below: <div> <div id ="row-uc"> Universal Container</div> <...
- Q2. A developer needs to debug a Node.js web server because a runtime error keeps occurring at...
- Q3. What are two unique features of functions defined with a fat arrow as compared to normal f...
- Q4. A developer implements a function that adds a few values. Function sum(num) { If (num == u...
- Q5. Which three options show valid methods for creating a fat arrow function? Choose 3 answers...
- Q6. A developer is creating a simple webpage with a button. When a user clicks this button for...
- Q7. Given the following code: Counter = 0; const logCounter = () => { console.log(counter);...
- Q8. Given the following code, what is the value of x? let x = '15' + (10 * 2);...
- Q9. Given two expressions var1 and var2. What are two valid ways to return the logical AND of ...
- Q10. A class was written to represent items for purchase in an online store, and a second class...
- Q11. Given the code below: const copy = JSON.stringify([ new String(' false '), new Bollean( fa...
- Q12. Refer to code below: Function muFunction(reassign){ Let x = 1; var y = 1; if( reassign ) {...
- Q13. Which three statements are true about promises ? Choose 3 answers...
- Q14. The developer wants to test the array shown: const arr = Array(5).fill(0) Which two tests ...
- Q15. Refer to the following code block: class Animal{ constructor(name){ this.name = name; } ma...
- Q16. Refer to the code below: Const searchTest = 'Yay! Salesforce is amazing!" ; Let result1 = ...
- Q17. The developer has a function that prints "Hello" to an input name. To test this, thedevelo...
- Q18. bar, awesome is a popular JavaScript module. the versions publish to npm are: (Exhibit) Te...
- Q19. Given the expressions var1 and var2, what are two valid ways to return the concatenation o...
- Q20. After user acceptance testing, the developer is asked to change the webpage background bas...
- Q21. Which statement phrases successfully?
- Q22. Refer to the code declarations below: (Exhibit) Which three expressions return the string ...
- Q23. Given the following code: let x = null; console.log(typeof x); What is the output?...
- Q24. A developer writes the code below to return a message to a user attempting to register a n...
- Q25. Considering the implications of 'use strict' on line 04, which three statements describe t...
- Q26. A developer wants to define a function log to be used a few times on a single-file JavaScr...
- Q27. Given the following code: Let x =('15' + 10)*2; What is the value of a?...
- Q28. Refer to the following code: (Exhibit) What is the value of output on line 11?...
- Q29. Refer to the HTML below: (Exhibit) Which JavaScript statement results in changing " The Li...
- Q30. Refer the following code (Exhibit) what is the value of array after code executes?...
- Q31. Refer to the code below: Async funct on functionUnderTest(isOK) { If (isOK) return 'OK' ; ...
- Q32. Refer to the following code: function test (val) { If (val === undefined) { return 'Undefi...
- Q33. A developer is trying to handle an error within a function. Which code segment shows the c...
- Q34. Refer to the code below: (Exhibit) What is the value of result after line 10 executes?...
- Q35. Given the code below: 01 function GameConsole (name) { 02 this.name = name; 03 } 04 05 Gam...
- Q36. Refer to the following code that imports a module named utils: import (foo, bar) from '/pa...
- Q37. Refer to the string below. Const str='Salesforce'; Which two statements results in the wor...
- Q38. Refer to the code below: (Exhibit) What is the result when the Promise in the execute func...
- Q39. A developer wrote the following code to test a sum3 function that takes in an array of num...
- Q40. Refer to the code below: const addBy = ? const addByEight =addBy(8); const sum = addBYEigh...
- Q41. Refer to the following code: (Exhibit) Which statement should be added to line 09 for the ...
- Q42. Given the following code: (Exhibit) What is the output of line 02?...
- Q43. Refer to the code below: 01 const exec = (item, delay) =>{ 02 new Promise(resolve =>...
- Q44. Which code statement below correctly persists an objects in local Storage ?...
- Q45. A developer has code that calculates a restaurant bill, but generates incorrect answers wh...
- Q46. Given the code below: Setcurrent URL (); console.log('The current URL is: ' +url ); functi...
- Q47. A developer is wondering whether to use, Promise.then or Promise.catch, especially when a ...
- Q48. There is a new requirement for a developer to implement a currPrice method that will retur...
- Q49. What are two unique features of functions defined with a fat arrow as compared to normal f...
- Q50. A developer has an ErrorHandler module that contains multiple functions. What kind of expo...
- Q51. developer publishes a new version of a package with new features that do not break backwar...
- Q52. What are two unique features of functions defined with a fat arrow as compared to normal f...
- Q53. Which option is a core Node,js module?
- Q54. Refer to the following code: class Vehicle{ constructor(plate){ this.plate = plate; } } cl...
- Q55. Refer to the following array: Let arr = [1, 2, 3, 4, 5]; Which three options result in x e...
- Q56. Refer to the following code: 01 function Tiger(){ 02 this.Type = 'Cat'; 03 this.size = 'la...
- Q57. Refer to the following array: Let arr = [ 1,2, 3, 4, 5]; Which three options result in x e...
- Q58. Refer to the code below: Const searchTest = 'Yay! Salesforce is amazing!" ; Let result1 = ...
- Q59. Which two code snippets show working examples of a recursive function? Choose 2 answers...
- Q60. Refer to the HTML below: <div id="main"> <ul> <li>Leo</li> <li&...
- Q61. Which function should a developer use to repeatedly execute code at a fixed interval ?...
- Q62. A developer has two ways to write a function: Option A: function Monster() { This.growl = ...
- Q63. A developer wants to use a module named universalContainersLib and then call functions fro...
- Q64. Refer the code below. x=3.14; function myfunction() { "use strict"; y=x; } z=x; myFunction...
- Q65. Given the code below: Which three code segments result in a correct conversion from number...
- Q66. Refer to the code below: console.log(''start); Promise.resolve('Success') .then(function(v...
- Q67. Refer to the code below: (Exhibit) Considering that JavaScript is single-threaded, what is...
- Q68. Given the requirement to refactor the code above to JavaScript class format, which class d...
- Q69. A developer needs to test this function: 01 const sum3 = (arr) => ( 02 if (!arr.length)...
- Q70. Refer to the code below: 01 const server = require('server'); 02 /* Insert code here */ A ...
- Q71. Refer to the following code: function test (val) { If (val === undefined) { return 'Undefi...
- Q72. Refer to the following code: <html lang="en"> <body> <div onclick = "consol...
- Q73. A developer wants to set up a secure web server with Node.js. The developer creates a dire...
- Q74. A developer wants to leverage a module to print a price in pretty format, and has imported...
- Q75. A test has a dependency on database.query. During the test the dependency is replaced with...
- Q76. A Developer wrote the following code to test a sum3 function that takes in an array of num...
- Q77. Universal Containers recently launched its new landing page to host a crowd-funding campai...
- Q78. developer wants to use a module named universalContainersLib and them call functions from ...
- Q79. Refer to code below: Let a ='a'; Let b; // b = a; console.log(b); What is displayed when t...
- Q80. A developer creates a class that represents a blog post based on the requirement that a Po...
- Q81. developer uses the code below to format a date. (Exhibit) After executing, what is the val...
- Q82. Refer to the code below: Let inArray =[ [ 1, 2 ] , [ 3, 4, 5 ] ]; Which two statements res...
- Q83. Refer to the following code: Let sampleText = 'The quick brown fox jumps'; A developer nee...
- Q84. A developer has an is Dog function that takes one argument cat. They want to schedule the ...
- Q85. A developer has a web server running with Node.js. The command to start the web server is ...
- Q86. Refer to the code below: (Exhibit) Which replacement for the conditional statement on line...
- Q87. Refer the following code (Exhibit) what is the value of array after code executes?...
- Q88. developer removes the HTML class attribute from the checkout button, so now it is simply: ...
- Q89. A developer has a formatName function that takes two arguments, firstName and lastName and...
