Why do we need jade or EJS while developing node applications? [closed] - html

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
More specifically what I'm trying to say is, why can't we just use pure HTML for that purpose?

Jade and EJS are templating engines - they allow you to do things like conditional statements and loops, and give you the ability to break the pages into more modular components (for example, you can have one template with the header in it, and then include that in every other page without having to copy and paste the code). That said, there's nothing stopping you using pure HTML - you just won't get any of those features.

Related

Which is the best language for building a website? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 months ago.
Improve this question
I would like to make a website. I just wanted to get recommendations on which language I should use? Or if I need to use multiple languages, which ones should I use? I don't have any experience in website programming.
Well, first of all you can learn HTML and CSS, those are the basic for building a website.
Then, when you will be confortable with HTML and CSS, you can add a layer of difficulty and add some Javascript in it.
And then, when you will be ready, you can learn a back end language, but by the time you reach this, you will have your preferences about which one to learn.

Is it needed to learn JSX? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I know HTML, CSS & JS. I need to learn react, and I have heard about HTML to JSX extension.
So, is it necessary to learn JSX?
A tool that converts HTML into JSX isn't a substitute for understanding JSX since almost all JSX that you will need in a React application does things beyond outputting something that can be generated from static HTML.
You could, instead, write the JS that would be generated from JSX directly. This would lose you the benefits of the tool you found while also being harder to learn and manage than JSX.

how make multi lang website without loading all data again? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I have basic HTML website webcovid19.live with many iframe tags,
How can I create multi lang website without loading all stuff again ?
...Just to load new text without iframes.
You can use Google translate. Its the fastest way to translate a website.please give enough information what you really want to do which language you are using

Can Cuba (ruby framework) load HTML instead of HAML [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Currently working on a Cuba project, bunch of HAML file but for improving UI I still prefer pure HTML, but as I tried, It's seems very complicate to rebuild every thing to get rid of HAML.
Any clues?
From a quick glance at the docs, Cuba can use any template tilt supports. So if you want to switch to ERB (HTML-based template), you'd switch the template engine:
Cuba.settings[:render][:template_engine] = "erb"
And then re-write all of your view code in ERB. Which seems like a lot of work compared to getting used to HAML, but alas.
There are tools to make HAML->ERB conversion easier, like herbalizer.

Learning old html tags [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Do tags like <em>,<strong>,<i> or css properties like font-size,text-decoration,font-weight have any impact on the way search engines see my site?
If you want to build sites from scratch, focus on the newest HTML version. If you want to look at older sites, yes, it's a good idea to learn older HTML tags. There are a lot of older HTML pages that are still up and running.