Top answers


If I do var a=3 and var b=4 and then do var c=a+b it tells me the answer is 34. Why?

The plus ( + ) is an operator that can be used for strings (e.g. letters) as well as numbers. The operator will first assume you want var a and var b work as letters not number. That means it just attaches t...
MF
Answered by Milena F. • Javascript tutor
1144 Views

What is the difference between classes and IDs?

Classes refer to a whole group of elements. For example all paragraphs on the website should contain red writing. In order to do this they all have to belong to the same class. We give them a class by adding...
MF
2608 Views

What is the best way to structure an essay?

The most common way to structure an essay is using the PEEL method, which stands for Point, Evidence, Explanation and Link. This is the easiest method to follow as it provides a clear framework that can be a...
NR
4078 Views

What are the different types of migration?

There are three main types of migration. these are chain migration, relay migration and step migration. Chain migration is when a migrant moves to a destination country for a while, finds a job and get finan...
AB
Answered by Archie B. • Geography tutor
19714 Views

Work out the number of green pens in the box. (rest of Q below)

There are only green pens and blue pens in a box. There are three more blue pens than green pens in the box. There are more than 12 pens in the box. Simon is going to take at random two pens from the box. Th...
EH
Answered by Elinor H. • Maths tutor
5690 Views