If I want to build a simple website, lets say a landing page, should I go full HTML or use JavaScript as well? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

If I want to build a simple website, lets say a landing page, should I go full HTML or use JavaScript as well?

I've noticed that in HTML alone we have lots of functions and we can do it, so what I really want to know is, which of the two web pages will load faster?

25th Dec 2020, 10:45 AM
Marcos Bispo
Marcos Bispo - avatar
3 Answers
+ 4
i suggest you to use only HTML & CSS for a landing page but if you want to go advance you can use JavaScript. Little JavaScript doesn't matter really
25th Dec 2020, 11:03 AM
Krish
Krish - avatar
+ 1
Got it. Thanks for the answer!
25th Dec 2020, 11:04 AM
Marcos Bispo
Marcos Bispo - avatar
+ 1
It really depends on what your landing page to do. If you don't need it to have any advance data handling or logic, you can get by with pure html and css for things like simple animations
25th Dec 2020, 1:52 PM
Bryan Moreno
Bryan Moreno - avatar