WarsawJS Presentation Template

We talk about JavaScript. Each month in Warsaw, Poland.

"How to start programming in JavaScript?"[PL]

Bartłomiej Sobczuk

What does a JavaScript developer do?

What is cool about FrontEnd?

This is how it may look without guidence.

No guidence

What is HTML?

WTF is DOM?

It's confusing at the beginning

For now, all we care about it that DOM provides interface to access elements and their properties with JavaScript and do whatever we want to them

Css in one image

CSS

My first page. Head

                <!DOCTYPE html>
                <html lang="en">
                <head>
                    <title>My First Page</title>
                    <meta charset="utf-8">
                    <link rel="stylesheet" href="./styles/styles.css">
                    <script type="text/javascript" src="./scripts/main.js">
                </head>
            

Body

                <body>
                    <div class="big-div">
                        <p id="big-par"> Hello World! </p>
                    </div>
                </body>
                </html>
            

Add some styling with CSS

style.css

                .big-div {
                    width: 500px;
                }
                #big-par {
                    font-size: 30px;
                }
            

Things we can do to HTML element with JavaScript

main.js

                (function () {
                    var paragraph = document.querySelector("#big-par");
                    window.setTimeout(function () {
                        paragraph.innerHTML = "Hello WarsawJS!";
                        paragraph.style.fontSize ="60px";
                        paragraph.style.color = "red";
                        paragraph.style.textAlign ="center";
                    }, 5000);
                }());
            

Efekt:

Hello World!

Ok, I'm in. Where to start?

Preparations:

HTML sources of knowledge:

CSS sources of knowledge:

JavaScript sources of knowledge:

Books worth reading

$$$ All-In-One Sources:

Ok, I watched and read everything. What should I know by now?

HTML

CSS

JavaScript

Git and Github

What to do next?

What to do next? RTFM starts.

Node.js & NPM

We need node, we need NPM

Task runners

Framework

Other frameworks

Module loaders

People to follow

Polish community

Thanks

Fork me on Github