D
D
Dmitry2020-05-04 16:18:12
JavaScript
Dmitry, 2020-05-04 16:18:12

Why add elements to a page using JS?

What is the point of adding elements and styles to it via JavaScript? Isn't it more practical to do this in html and css? In what situations might this be needed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2020-05-04
@Satheron

on dynamic creation/update.
a simple example: creating inputs as needed or updating content through ajax.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question