BRAINLIEST!!! 20 PNTS!!!! HELPP!!!

In JavaScript, what symbols needs to surround the condition when you write a conditional statement?

A. parentheses

B. curly braces

C. the greater than and less than signs

D. hashtags

Answers

Answer 1

Answer:

A) Parentheses

Explanation:

Conditional statements control behavior in JavaScript and determine whether or not pieces of code can run.

There are multiple different types of conditionals in JavaScript including:

If” statements: where if a condition is true it is used to specify execution for a block of code.

“Else” statements: where if the same condition is false it specifies the execution for a block of code.

“Else if” statements: this specifies a new test if the first condition is false.

Now that you have the basic JavaScript conditional statement definitions, let’s show you examples of each.

If Statement Example

As the most common type of conditional, the if statement only runs if the condition enclosed in parentheses () is truthy.

EXAMPLE

if (10 > 5) {

     var outcome = "if block";

}

​outcome;

OUTPUT

"if block"

Here’s what’s happening in the example above:

   The keyword if tells JavaScript to start the conditional statement.

   (10 > 5) is the condition to test, which in this case is true — 10 is greater than 5.

   The part contained inside curly braces {} is the block of code to run.

   Because the condition passes, the variable outcome is assigned the value "if block".


Related Questions

Who plays Among Us?

who answered first will get a Surprise! :)​

Answers

Answer:

mE now whats the surprise? :P

Explanation:

Tanya is very interested in providing medical care and helping injured people. Gerald wants to discover information about people and crimes, but he wants to be self-employed and work for individual customers instead of for the government. He is also skilled at writing reports. Hunter has always wanted to protect the people in his rural town and investigate crimes. Which career is best suited to each person?

Answers

Answer: Tanya should be a Paramedic, Gerald should be a Private Investigator, and Hunter should be a Deputy Sheriff.

Explanation:

Based on the scenario, Tanya should be a Paramedic, Gerald should be a Private Investigator, and Hunter should be a Deputy Sheriff.

A paramedic is simply refered to as a health care professional that provides emergency medical care to people who are in critical condition.

Since Gerald wants to discover information about people and crimes, but he wants to be self-employed and work for individual customers instead of for the government, he should be a private investigator. A private investigator is someone who is employed to look for clues or give evidence regarding an issue. They gather facts that would be helpful in cases.

Since Hunter has always wanted to protect the people in his rural town and investigate crimes, he should be a Deputy Sheriff.

Answer:

B or 2

Explanation:

Good Luck!

Select all the correct answers.

Which two statements about resistors are true?

1. Series resistors produce a lower resistance than the same parallel resistors.
2. Resistors impede the current flowing through a circuit.
3. Resistors increase the voltage through a circuit.
4. Series resistors produce a higher resistance than the same parallel resistors.
5. Parallel resistors allow more current to pass through than no resistors.

Answers

Explanation: 2 and 5

Answer:

resistors reduce current flow and divide voltages, so 2 & 3!

How does the onEvent block work?

Answers

Answer:The onEvent() block takes three parameters. The first two are the id of the element and the type of event that should be “listened” for. The third parameter is a function. If you were going to read the onEvent block like a sentence it would read “on the event that this id experiences this event, call this function”

Explanation:

Above answer is the correct choice in my opinion !! For this question hope this helps

How can you make sure that your private information
stays private?

Answers

Answer:

Be Alert to Impersonators. Safely Dispose of Personal Information. Encrypt Your Data. keep Passwords Private. Don't Overshare on Social Networking Sites.

Use Security Software. Avoid Phishing Emails.

Be Wise About Wi-Fi.

Select the correct answer.
Keith has been using a software application for a year on his home computer. A new version of the application was recently released. Keith's license has a term of two years and entitles Keith to upgrade his application to a new version within the term. What type of license does the application have?

А. perpetual license
B. site license
C. Creative Commons Attribution (CC BY) license
D. license with maintenance​

Answers

The answer is the letter (D)

Which statement best describes the purpose of SmartArt graphics in PowerPoint presentations?

They are used to create different-sized text fonts.
They are a simplified way to create bar and line graphs.
They are an easy mechanism for combining text and graphics.
They are a method used to find infographics online.

Answers

Answer:

They are an easy mechanism for combining text and graphics.

Explanation:

what do you get with brainly points

Answers

i dont know but here I am, grinding points for some reason

Answer: You can rank yourself up and just look good, cause who doesn't like just having points laying around, plus the more points you have the more questions you can ask, but don't ask too many cause you might just get negative points!!!

Explanation:

how was the background for the revolution of 2007 prepared​

Answers

Answer:

Answer is in the attachment.

Hope this helps..

Imagine that you were hired to create the label for a new brand of soup. The client wants to emphasize that the soup has homemade flavor. Describe the tools and specific elements that you would use to create this image.

plz help

Answers

Answer:

Explanation:

For tools, I would simply use Adobe Photoshop to create the label/poster for the brand of soup. In order to make the poster or representation of the soup look homemade, I would place a picture of a kid drinking the soup at a kitchen table with a picture of the mom in the background kitchen. Then I would create a light yellowish tint in the image and steam coming from the soup bowl. This would help the brand represent a form of memory to a delicious homemade meal by a parent.

Which of the following is NOT a factor of identifying graphic design?

Answers

Answer:

i think it is a

Explanation:

sorry if it is wrong

Answer: answer is B

Explanation:

I am sure about it

What is a green plant supported by so it can stand up?

osmotic pressure
water
cell walls

Answers

Answer:

Cell Walls are rigid shells on the outside of most plants which help them stay rigid

Explanation:

It helps them stay rigid straight

Who is the master of dimensions and pleaser of crowds? (Brainliest to the nerd who answers this)

Answers

Answer:

dimentio

Explanation:

dimentio is the master of dimensions and pleaser of crowds

only true naruto fans know
who is behide the mask in akatsuki
A madara
B Sasuke
C Obito
D Ten tails

Answers

Answer:

obito duh, its Tobi the orange masked one he acts like madara but we know it's his simp guy

Answer:

Obito

Explanation:

cuz obito


What steps will add content to a report header section?
1. Open the report in
2. Right-click a
__ and click Report Header/Footer.
3. On the Design tab, in the ____group, click Controls, and add the desired content.
4. To add an image, click Insert Image, and use the ___ to format the image
5. Save the report, and view it in Layout or Preview view.

Answers

Answer:

Design, Section divider or blank area, Controls, Property sheet

Explanation:

edge 2021

The steps to add content to a report header section includes:

Right-click a and click Report Header/Footer.On the Design tab,  click Controls, and add the desired content.

What is the Report headers?

In a document, they appear once at the beginning of the report and before the page header.

Hence, when we need to click on the Design tab,  click Controls, and add the desired content to add content to a report header section.

Read more about report header

brainly.com/question/2329500

#SPJ2

What do HIPAA guidelines protect?

Answers

Answer:

They protect patient medical records im pretty sure

Explanation:

plz I really need this
Select the correct answer.

The following diagram shows resistors connected with a voltage of 19 V across them. Which statement is true?



A. Each resistor experiences a potential difference of 19 V.
B. The equivalent resistance is 10 Ω.
C. The current flowing through all the resistors is 1 A.
D. Each resistor experiences a part of the current, the sum of which is 1 A.
E. The equivalent resistance is less than 4 Ω.

Answers

Answer: it has to be c

Explanation: Most circuits have more than one component, called a resistor that limits the flow of charge in the circuit. A measure of this limit on charge flow is called resistance.The simplest combinations of resistors are the series and parallel connections illustrated in Figure 1.The total resistance of a combination of resistors depends on both their individual values and how they are connected.

It’s C, you’re welcome my children

Python 3 requires a special pseudocode that other programming languages do not use.
OA
True
B.
False
Reset
Next

Answers

Answer:

A

Explanation:

Not sure how to explain...

HELP PLZ AM TIMED!!!~~~

In which view of PowerPoint is the Annotation tools menu available?

Slide Show
Normal
Slide Sorter
Notes

Answers

Answer:

im pretty sure its slide show

Answer:

slide sorter notes

Explanation:

because you're giving a PowerPoint presentation you may want to make some notes on the slides such as circling a word or underlining a phrase or highlight a key concept

Match the ernerging technologies to their descriptions.

Answers

Answer:

1

1

Explanation:

When first designing an app, all of the folldwing are important EXCEPT
A. debugging
B. determining how a user would interact with the app.
C. determining the purpose of the app
D. identifying the target audience

Answers

Answer:

B

Explanation:

Determining how the user could interact with the app varies person to person, the others are essential to creating apps though.

Define
operating System
with some examples​

Answers

Answer:

An operating system is system software that manages computer hardware, software resources, and provides common services for computer programs

EXAMPLES:  Microsoft Windows, Apple macOS, Linux, Android and Apple's iOS.

Explanation:

music sites through schools wifi 2020 What is one thing a person should do to stay safe when exercising? 100 pts.!

Answers

Answer:

They should stay away from others (keep workout short or at home)

always do The exercise right-properly

Explanation:

Answer:

they should stay at home and do workouts or they can start a fitness program in a safe area.

Which of these is a URL shortening service? O A. Twitter O B. TXTMob OC. TinyURL OD Tumblr​

Answers

TinyURL is a url shortener

Answer:

tiny  url

Explanation:

When does call of duty mobile session 13 starts ​

Answers

Answer:

December 22nd

Hope it helps......

pls mark as brainliest

The first time a user launches the PowerPoint program, which view is shown allowing the user to access recent presentations or create new presentations based on templates?

Search screen
Start screen
Backstage view
Edit view

Answers

Answer:

Start screen

Explanation:

The first time a user launches the PowerPoint program Start screen is shown allowing the user to access recent presentations.

What is PowerPoint program?

Presentations can be quickly and easily created, edited, viewed, presented, or shared from anywhere.

PowerPoint gives you the opportunity to leave a lasting impression with strong, adaptable slides and presentations that set you apart. Make slideshows anywhere and deliver with assurance.

It has never been simpler to create an engaging and memorable presentation. PowerPoint provides you with pre-made templates and suggestions for presentation designs.

Therefore, The first time a user launches the PowerPoint program Start screen is shown allowing the user to access recent presentations.

To learn more about Presentations, refer to the link:

https://brainly.com/question/820859

#SPJ6

Write an algorithm for switching off the electric water heater automatically when the temperature rises to 70 o Celsius.

Answers

Answer:

The algorithm for switching off the electric water heater automatically when the temperature rises to 70 o Celsius is given below.

Explanation:

Let use python code for this question.

we will use if statement to check the condition if the temperature is greater than 70.

When the temperature is 70, then the algorithm will send signal to hardware to turn yourself off.

if(temperature==70):

      print("send_turn_off_signal")

I NEED HELP!! What is the portrait mode?

Answers

Answer:

A its achromatically save your file

The correct answer is E. It applies vertical dimensions to your document.

Explanation:

The portrait mode is a function in programs such as Microsoft Word that allow users to change the orientation of pages. Indeed, by selecting "portrait mode" the pages of the document will be vertical. This is the opposite of "landscape mode" that makes the pages in a document to be horizontally orientated. Additionally, these two functions are relevant for the user because it allows him/her to decide the orientation of pages and therefore the distribution of text, images, graphs, etc. According to this, the portrait mode is the function that "applies vertical dimensions to your document".

Mandy is writing a paragraph about her favorite basketball team. She wants to explain that the team is so successful because the players work together. What would be the best type of evidence to illustrate Mandy’s proposed topic? a few examples of how the players successfully scored points a brief history of the game of basketball a quotation from the coach about the players a comparison of current players with past successful members of the team

Answers

Answer:

A ) a few examples of how the players successfully scored points

edge 2021 :)

Answer: (A)

Explanation: Just got it right.

Where would you go to access frequently used icons?

File explorer
File manager
Toolbar
Web browser

Answers

Answer:

b

Explanation:

Answer:

C.) Toolbar

Explanation:

The toolbar is a strip of icons that are frequently used.

Other Questions
A student is using descriptions to classify organisms. One organism is described as having sense organs to detect heat, laying eggs to reproduce, using venom for protection, and having the ability to change body temperature with its surroundings.How would the student classify this organism?A bacteriaB.mammalC reptileD birdAnswer ASAP plz;-; Net capital outflow measures the imbalance between the amount of a. foreign assets held by domestic residents and domestic assets held by foreign residents. b. foreign assets bought by domestic residents and the amount of domestic assets bought by foreigners. c. foreign assets bought by domestic residents and the amount of domestic goods and services sold to foreigners. d. None of the above is correct What is difference between gram sabha and gram panchayat Which statement best-describes the function of the human body system in the above diagram Please help I am confused A number cube is rolled two times. What is the probability of rolling an even number first and then a number less than 3? Can someone help me start a story about what ever animals or something in I will continued it what is a just society? Estimate 5,8602.1 i really need help on it. determine the domain and range for this relationship. Drag the tiles to the correct locations. Not all tiles will be used.domain:range:{4,4.5,5,5.5,6,6.5,7}(i cant do the less than or equal to sign but its supposed to have the line under it.)404{4,5,6,7}00{0,1,2,3,4,5,6}pleaseee help me thanks Factor 6 out of 18a30 Please Im really frustrated simplify y -2/ 3y4help me please! 3. How does citizenship at birth differ from naturalized citizenship? (M)A. Citizenship at birth does not require passing a test in U.S. historyB. Citizenship at birth does not require allegiance to the United StatesC. Only citizenship at birth guarantees the full rights of citizenshipD. Only citizenship at birth requires fulfillment of theobligations of citizenship Select what you would need to wear according to the weather.It is coldA. Nous avons besoin d'un manteau.B. Nous avons besoin d'un short.C. Nous avons besoin d'un tee-shirt.D. Nous avons besoin d'une chemise. 17. What change, if any, should be made in sentence 18?A. Change they to weB. Delete the commaC. Change there to theirD. No change should be made in this sentence. a company makes a cone-shaped container with a height of 15 in. The area of its base is about 78.8 in.2 Approximately what is the volume if the container? Which statement best describes how a B-cell works? 3x - 4y = 13 -2x + 3y = -10 what is the solution? can someone help me? i will give brainliest eggzOG43199 :) it has to be more than 20 characters so I'm just saying this