Skip to content

Instantly share code, notes, and snippets.

@jesstelford
Last active March 30, 2023 05:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jesstelford/8ea4122b90203bdcc3b27ff57496a164 to your computer and use it in GitHub Desktop.
Save jesstelford/8ea4122b90203bdcc3b27ff57496a164 to your computer and use it in GitHub Desktop.

Getting started

  • Everything except images in a website is text, so it's a lot of reading and writing. As such, it makes sense to use an editor built for the purpose to make your life easier.
  • Install Visual Studio Code (VSCode): https://code.visualstudio.com/
  • There are 3 main technologies that make up a website: HTML, CSS, JavaScript (JS)
    • HTML is a way of declaring the structure of pages on the web.
    • CSS is a way of declaring the styling (layout, colour, fonts, etc) of structural elements defined in HTML.
    • JS is a way of executing arbitrary commands to generate some sort of output (eg; 1 + 1 generates 2. Or, alert("Hello") generates on alert window)
      • Without JS, the HTML & CSS you write is the exact same that a visitor to your page will see.
      • With JS, you can modify HTML and CSS inside the user's browser. It is the only one of the 3 technologies that can do this (HTML can't modify JS or CSS, and CSS can't modify JS or HTML)
  • Get started with learning each technology:
  • A solid understanding of these 3 technologies (and their differences / appropriate use) is required before diving deeper into tooling or advanced usage. Now that we've got the basics, we can start branching out:

Tooling

  • So far, all the code is only on your computer. What if it crashes? How do you collaborate with someone else? git is the defacto tool for managing sharing / backing up your code, and Github.com is the defacto cloud storage provider for your code when using git (like Google Docs is the cloud storage for documents)

See Also

@jooj123
Copy link

jooj123 commented Jun 5, 2017

looks good ! I think its also beneficial to have some sort of basic understand of how the web works as well. eg. HTTP/S, IP, web servers, HTTP requests with POST, GET etc.
And its good to to know your browser inside and out (especially devtools)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment