Is it needed to learn JSX? [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 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.

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.

Why do we need jade or EJS while developing node applications? [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 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.

How do I create beautiful HTML5 webpages [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 7 years ago.
Improve this question
I do server-side and client-side developments pretty well , however, my designs are apparently not catchy enough. Is there anything I need to know to assist me do this?
Thanks.
You can use plugins like Bootstrap and skeleton and design platforms like SqaureSpace. There are many jquery stuff and many libraries out there it depends on what you want to build and use jquery and css. That will make your website responsive and beautiful.
You can use bootstrap,bootswatch and get aware of css,jquery
they can be learnt in a day and sites having catchy UI can be created

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.

Is it bad practice to use inline styles? [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
Is it bad practice to occasionally put some CSS directly into some HTML tags if I am sure that it won't be used again?
For instance:
<div style="padding-left: 0"></div>
Or do I have to systematically create new class even for little tweaks that will pollute my CSS file?
Yes it is fine. Stylesheets are used mostly to style multiple pages in the same manner and for easier editing. Putting css directly in html also overrides all other conflicting styles.
There is a Programmers Stack Exchange site that's a better fit for questions like this.
Here are two existing questions there that cover this particular topic:
https://softwareengineering.stackexchange.com/questions/138538/is-it-a-bad-practice-to-use-inline-styling-with-generated-code
https://softwareengineering.stackexchange.com/questions/125893/when-should-i-use-a-css-class-over-inline-styling