Question: In any programming language (like php, java, javascript etc) is it possible to dynamically create a changing number of variables in a loop, within a given name space?

for example, if I want to create N variables that have random numbers between 1 and 5, which are to be called random1, random2 .. randomN, is it possible to do something like:

```
loop ( N ){<br>
  create variable randomN = random(1,5);<br>
}

```

Answer: 
You can wrap the text around in a `span` and apply a padding to it:

```
<div class="icon warning"></div><span class="warning-text">There is a warning in the page</span>

.warning-text {
  padding-left: 5px;
}

```

**Update:**
As per the comment below, I decided to change from using `span` instead of `div`.
It would be possible to use a `div`, but with the additional `display: inline;` `CSS` attribute.
I suggest using addClass jQuery. Add a certain class which will add a space if there is text after it, else don't put any class. You should set the default item with no space at all.