Which of the following JavaScript methods is used to define an object collection based on a CSS (Cascading Style Sheets) selector? ​ a. object.style.property = ""value(selector)"" b. object.property = ""value(selector)"" c. document.getElementbyId(selector) d. document.querySelectorAll(selector)

Answers

Answer 1
Answer:

Answer:

The answer is option d.

Explanation:

The 'querySelectorAll' function enables you to extract the list of items that fit the CSS selector you choose. It's just a way to find JavaScript components. It is very adaptable and enables you to search for tags, classes, IDs, combinations of parent/child, attributes, etc.  

In other words, we can say that the querySelectorAll() method returns all the matches. and other options are not correct that can be described as follows:

  • In option a and b, the object is a collection of unordered properties, that can be changed in adding, deleting and read-only. The option a is an attribute, that is used in CSS and option b is used in JavaScript for the property name.
  • In option c, It reverts the element with the fixed value, that has the ID attribute.

Related Questions

Which of these should be one of the last options on your list for financial aidA) student loans B) Pell grants C) work study programs D) foundation grants
Which of the following guidelines about the length of e-mail messages is most appropriate?Make sure you provide all the details in a clear manner, even if the e-mail seems long. Avoid bullet points in e-mail because they may confuse some readers. Try to keep the e-mail short enough that the reader will not have to scroll to read it. Write e-mails that are like papers for school, with clear paragraphs and many supporting examples.
What is the correct HTML for creating a hyperlink? * 1 point
What is an advantage of unicode over ascii?
True or False? The correct implementation in the case of an atomic operation is to test separately for the presence of the lockfile and to not always attempt to create it.

Write a program that asks the user to enter a number within the range of 1 through 10. Use a switch statement to display the Roman numeral version of that number. Input Validation: Do not accept a number less than 1 or greater than 10.

Answers

Answer:

// program in C++.

// headers

#include <bits/stdc++.h>

using namespace std;

// main function

int main()

{

// Variable

   int num;

   cout << "Enter a number between 1 and 10: ";

   // read input

   cin >> num;

   // validate input number

   while(num<1||num>10)

   {

   // if input is wrong then print error message

       cout<<"Wrong input!!Enter again:";

       // read again

       cin>>num;

   }

   // print output

   cout << "The Roman numeral for "<<num<<" is:";

   // switch

   switch (num)

   {

       case 1:

       // if input is 1

           cout<<"I"<<endl;

           // exit the switch

           break;

       case 2:

       // if input is 2

           cout<<"II"<<endl;

           // exit the switch

           break;

       case 3:

       // if input is 3

           cout<<"III"<<endl;

           // exit the switch

           break;

       case 4:

       // if input is 4

           cout<<"IV"<<endl;

           // exit the switch

           break;

       case 5:

       // if input is 5

           cout<<"V"<<endl;

           // exit the switch

           break;

       case 6:

       // if input is 6

           cout<<"VI"<<endl;

           // exit the switch

           break;

       case 7:

       // if input is 7

           cout<<"VII"<<endl;

           // exit the switch

           break;

       case 8:

       // if input is 8

           cout<<"VIII"<<endl;

           // exit the switch

           break;

       case 9:

       // if input is 9

           cout<<"IX"<<endl;

           // exit the switch

           break;

       case 10:

       // if input is 10

           cout<<"X"<<endl;

           // exit the switch

           break;

         // default

       default:

           break;

   }

return 0;

}

Explanation:

Read a number from usr and assign it to variable "num". If the input number is less than 1 or greater than 10 then ask again to enter a number until user  enter a number between 1-10 only.Then with the help of switch() function print  the equivalent Roman number.

Output:

Enter a number between 1 and 10: -5                                                                                        

Wrong input!!Enter again:12                                                                                                

Wrong input!!Enter again:6                                                                                                

The Roman numeral for 6 is:VI

Drag the correct type of update to its definition.

Answers

Answer:

Explanation:

PRI (product release information) is a connection between a mobile device and a radio tower.

Baseband is a ship that controls all the waves GSM, 3G phones, and the RF, this is in a mobile device network connectivity.

PRL is a list of radio frequency, we can find these lists in some digital phones, the phone can use in various geographic areas.

_____ documentation is designed to help programmers and systems analysts understand the application software and maintain it after the system is installed. Select one: a. Acceptance b. Integration c. Navigation d. System e. User

Answers

Answer:

System documentation is intended to help programmers and systems analysts understand the application software and enable them to build it or maintain it after the system is installed.

Which of following options opens a program, folder, document, or a Web site?a. All Programs
b. Run
c. Control Panel
d. Start

Answers

Most of the ones you listed can open a folder, document, program and website. But if i had to pick one it would most likely be start if your trying to open a application. All programs pretty much opens what your looking for

_____ is one color shade gradually progressing to another shade of the same color or to another color.

Answers

The answer is Gradient fill.
A gradient fill is a shape fill the gradually changes from one color shade to another shade. This is applied in shapes and text boxes in some application such as Microsoft Office Excel, PowerPoint, and Word.

Limiting the amount of personal information available to others includes reducing your ______________ footprint

Answers

The blank should be filled with "digital"