iKrux Interview Question

Write a JavaScript code for adding new elements dynamically.