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
Umnica [9.8K]
3 years ago
5

PLEASE HELP!

Computers and Technology
1 answer:
natulia [17]3 years ago
5 0

1) document.write() is used to insert or write codes in JavaScript.

2) window.prompt() opens up with a dialog box which asks the user to input some data and is there till the user cancels or submits the data.

3) window.alert() displays information in a pop-up dialog box on the screen to alert the user.

4) window.confirm() opens a dialog box with a message seeking for confirmation of the user.

5) parselnt() converts string to integer.

6) parseFloat() converts string to floating point number.

You might be interested in
What is the output of the code below assuming that global variable x has value 2 and global y has value 3? def f1(): return "ab"
Lostsunrise [7]

Answer:

ababababab

Explanation:

The code above is written in python and python uses indentation .So let me rephrase the code accordingly and explain what the code really do.

Note x and y is a global variable which can be used by any of the function declared.  According to the question x and y are 2 and 3 respectively

The first block of code describes a function f1 without any argument but the code should return the string "ab"

def f1():

      return "ab"

The second block of code defines a function f2 and returns the value of f1 multiply by x. This means you are multiplying the string "ab" by 2 which will be equals to abab

def f2():

           return f1() * x

The third block of code declared a function f3 and returns the sum of  f2 and product of f1 and y. using PEMDAS principle the multiplication aspect will be solved first so, ab × 3 = ababab, then we add it to f2  . ababab + abab = ababababab.

def f3():

        return f2() + f1() * y

Finally, we print the function f3 value to get ababababab

print(f3())

If you run the code on your IDE like below you will get  ababababab

x = 2

y = 3

def f1():

      return "ab"  

def f2():

      return f1() * x  

def f3():  

      return f2() + f1() * y  

print(f3())

     

7 0
3 years ago
An anchor tag can be coded using which two attributes?
IceJOKER [234]

Answer:

21212122121221212211212121212212121Explanation:

4 0
2 years ago
Va rog ajutatima !!!!!!! aicea trebue cu cangorou de facut si cu cit
Alexandra [31]

Answer:

hwhwjbshsjwja jwjwjw

Explanation:

ywgav

4 0
3 years ago
For homework, we were given this photo and to figure out what it is. It is up close and labelled “ too close to tell” but I have
dalvyx [7]
I honestly have no idea on what this is... but im guessing its some sort of tool or food in somebodys mouth... probably isn't but oh well..
7 0
3 years ago
How do i delete a question ?
seraphim [82]

i think we can't do that

7 0
3 years ago
Other questions:
  • Your recovery/recycling machine has r-502 refrigerant in it. you now have to recover refrigerant from a unit with r-22. what mus
    12·1 answer
  • My computer have black spots and line
    7·2 answers
  • Under normal operations, cisco recommends that you configure switch ports on which vlan
    5·1 answer
  • You can use this effect to break a color into a percentage of its full strength.
    13·1 answer
  • The is a global information system logically linked together by a globally unique address space based on the Internet Protocol o
    5·1 answer
  • How does is make you feel when you're kind to others? What are some opportunities in your life to be more kind to your friends a
    9·1 answer
  • What should I put on a college application?⊕
    8·1 answer
  • Find the names of these cities with temperature and condition whose condition is neither sunny nor cloudy.
    15·1 answer
  • A proposal is also known as a
    14·2 answers
  • What does RoHS stand for and why is RoHS compliance important?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!