1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ra1l [238]
3 years ago
13

Write JavaScript code to declare a variable of the name favoriteColor

Computers and Technology
1 answer:
Zinaida [17]3 years ago
8 0

Answer:

Variables are used to store values (name = "John") or expressions (sum = x + y).

Declare Variables in JavaScript

Before using a variable, you first need to declare it. You have to use the keyword var to declare a variable like this:

var name;

Assign a Value to the Variable

You can assign a value to the variable either while declaring the variable or after declaring the variable.

var name = "John";

OR

var name;

name = "John";

Explanation:

thats what i found sorry if it wrong

:D

You might be interested in
A keyboard, mouse, and microphone are examples of ________.
kykrilka [37]

Answer:

A keyboard, mouse, and microphone all are examples of <u>peripheral devices.</u>

Explanation:

hope this helps

5 0
3 years ago
Read 2 more answers
Una pregunta cuales son los ataques de Sindel que por favor y me lo diga gracias
Len [333]
I do not know spanish please say in english
5 0
3 years ago
Microwaves are used
Phoenix [80]
D) both a and b
Microwaves are used to heat foods in ovens. We all know that. They are also used for data and information transfer. Microwaves are used in wifi, gps, and radio astronomy. 
6 0
3 years ago
The photo-sharing site Instagram owed a good deal of its success to filters. What are filters?
creativ13 [48]

Adding a filter to a picture can change the whole effect of the picture. Say you wanted a more vintage theme for your picture, you could use a black and white theme to give it an old timey feel. Different filters can add effects to the picture, maybe the filter gives your picture a blueish cool toned tint, or maybe it adds more light to the filter.

6 0
4 years ago
Read 2 more answers
What is the best way to describe the relationship between two companies that offer basically the same product or service?
fenix001 [56]
Compare the products together
8 0
3 years ago
Read 2 more answers
Other questions:
  • ________ is typically used as the last string of letters in the name of a website. Group of answer choices the name of the indiv
    13·1 answer
  • Which aperture setting will give the shallowest depth of field?
    10·2 answers
  • What would you use to compare two date ranges in a report?
    9·1 answer
  • g What advantage does a circuit-switched network have over a packet-switched network? What advantages does TDM have over FDM in
    10·2 answers
  • What was one of the first inventions that made it possible to communicate almost instantly?
    11·1 answer
  • Software that translates the sound of human voice into text is called:________.
    14·1 answer
  • The following pieces are known as (image shown above)
    15·2 answers
  • Write a program to test if an integer input from the keyboard is odd or even. Sample Run 1: Enter a Number: 78 Even Sample Run 2
    7·1 answer
  • Select all the correct answers.
    7·1 answer
  • Describe the five components of a computer
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!