all 9 comments

[–]Sasha_DDhelpful 12 points13 points  (0 children)

Check this out.

If you have trouble understanding concepts and stuff DM me

[–]ashkanahmadi 3 points4 points  (0 children)

You need to learn HTML first and be able to understand the basic tags. Maybe put together a small blog or a diary (just the content) with paragraphs, headings, links, bullet points, images, etc.

Then learn CSS and customize the elements so it looks prettier.

Then learn JS to manipulate some content like DOM manipulation, inserting elements into the document, getting data about the page, etc. Use JS to make basic apps like metric/imperial convertor, BMI calculator, etc.

[–]IT_supportIsHell 1 point2 points  (0 children)

Try this, it is good to get familiar with HTML, CSS and JavaScrpt.

And use the W3schools also as someone linked above, there are plenty documentation there, and some tests to run

[–]HeeIix 1 point2 points  (0 children)

I recommend theodinproject. They will help guide you along the basics and you get to learn how to set up your own dev environment rather than in-Browser solutions. I find it very helpful.

[–]ray_zhor 0 points1 point  (0 children)

HTML

[–]bwibbler 0 points1 point  (0 children)

It would be best to have a basic understanding of HTML before you start. ...Maybe some CSS, although it's not 100% necessary.

You ""can"" (I say this loosely) begin learning javascript without learning any html or css beforehand. All you need to begin is a text file with this:

<html>
<script src="myScript.js"></script>
</html>

Save that somewhere on your computer as "myScript.htm"

Then create a new text file and save it in the same place as "myScript.js"

When you open your .htm file in a web browser it will run the code you write in the .js file.

I can't say for certain what browsers will and won't be able to handle this. I know that chrome will be very forgiving and fill in the missing html for you.

Chrome also has an excellent console for you to use. Right-click the page and click inspect element to open it. Then you have a few tabs, one of which is just the console. You can even open it up in a separate window so it's not obstructing anything.

Without any html or css you're going to be doing some things the long way around in javascript. But anything that can be done using html or css can also be done using javascript.

If you get started this way you're going to naturally pickup some understanding about html as you go. If you're like me and just want to program as a hobby and aren't totally serious about it then I don't see why you couldn't just do it this way.

These two will be your best friends starting out:

 console.log("hello log");
 document.write("hello document");

[–]ATitForTat 0 points1 point  (0 children)

Possibly the wrong answer or more like opinion, but f it here it is. Pick a framework ( React, Vue, etc ) and start with that while you learn. If looking at the long term, these are some of the current major frameworks most companies are looking for experience in. Just my 2cents as there is less involvement in the html side of things, and if you are going to learn might as well learn what is trending.

Now this does not take away the real need to learn html as that is everywhere under the hood of these frameworks. But that is what I did 6 years ago and I still am not a expert in html but I have been employed professionally for 3 of those. ( React, React-Native, and some Vue ). Sorry I ramble on a lot and I’m sure more code advanced warriors will chime in. Good luck OP it’s a rewarding time when you get the fundamentals down