Top answers


What’s the difference between a block-level element and an inline element in html?

Every element in HTML is displayed in one of a few ways. By default, most tags are either displayed as block-level or inline. Block A block-level element is drawn as a block that stretches to fill the full w...
KN
3204 Views

How do you create objects in javascript?

Objects in JavaScript are defined differently to most other languages. You define (and create) a JavaScript object with an object literal:var person = {firstName:"John", lastName:"Doe", a...
KN
Answered by Kelvin N. • Javascript tutor
1553 Views

Explain, with a digram, the difference between meiosis and mitosis

Meiosis produces 4 daughter cells from the original parent cell. These cells are haploid cells- they have half the number of chromosomes that the parent cell, and the process creates gametes for sexual repro...
HT
Answered by Heather T. • Biology tutor
3440 Views

Work out 60% of 70

1% of a number is that number divided by 100. So 60% of a number is 60 times that number divided by 100.In this case, we want 60% of 70. So, we do (70 60)/100. This is a rather big fraction, but we can simpl...
EW
Answered by Elise W. • Maths tutor
19679 Views

How would you loop over every key and value in a python dictionary?

The method depends on which python version you are using.For python 2.xfor key, value in d.iteritems() ... For python 3.xfor key, value in d.items() ... In both examples key, and value are just variable name...
KN
Answered by Kelvin N. • Python tutor
2081 Views