Docsity

HTML, CSS & JavaScript — Web Development Basics - Beginner One-Page Notes, Schemes and Mind Maps of Computer science

Partial preview of the text

Download HTML, CSS & JavaScript — Web Development Basics - Beginner One-Page Notes and more Schemes and Mind Maps Computer science in PDF only on Docsity!

HTML, CSS & JavaScript — Web Development Basics

HTML, CSS & JavaScript — Web Development Basics HTML 1. HTML HTML is used to create the structure of a web page. My Page

Hello World!

This is a paragraph.

Read more Common HTML Tags

Heading

Paragraph Link Image

Container Think: HTML is the skeleton HTML Creates Structure BASIC FILE SETUP L Pa my-websitey © index. ntmi EF stylecss scriptjs START SMALL, DREAM BIG! HTML, CSS & JAVASCRIPT css ——— IN ONE PAGE —— The 3 main technologies of web development 3. JAVASCRIPT JavaScript is used to add logic and interactivity. 2. CSS CSS is used to style and make web pages look good. body { font-family: Arial; background-color: #f4f4f4; document . getELementById ("btn"). addEventListener ("click", function() { lor: #333; ) oon document. getE lementById nm ¢ (C’'msg") .innerText = color: #8077cc; peucten) clicked y, text-align: center; yy: y a color; green; text-decoration: none; } Common CSS Properties Common JS Uses color Text color @ Change content background-color Background @ Handle events (click, input) font-size Text size @ Show / hide elements. margin Space outside © Form validation padding Space inside @ Animations & more @ Think: CSS is the skin 4 Think: JS is the brain HOW THEY WORK TOGETHER ———>» > ess Adds Js Adds Style Behavior Beautiful & Interactive Website IN HTML LINK THEM LIKE THIS TIPS FOR BEGINNERS © Practice every day @ Build smal projects @ Inspect element (F12) © Google is your best friend Master HTML, CSS & JavaScript and you can build anything on the web.