CS50's Introduction to Computer Science
edX
An introduction to the intellectual enterprises of computer science and the art of programming.
More resources on Variables & Data Types
MDN Web Docs - Variables
Mozilla's reference tutorial on declaring and using JavaScript variables. Covers var, let and const, declaration versus initialization, naming rules, reassignment, and the main value types, with editable examples. After it you can store and update data correctly in scripts.
Intro to Programming
Khan Academy's interactive JavaScript course, taught with ProcessingJS in an in-browser editor. Through drawing and animation challenges you practice variables, data types, functions, loops, conditionals and arrays, and finish able to write small programs from scratch.
CS50's Introduction to Programming with Python
An introduction to programming using Python, a popular language for general-purpose programming, data science, web programming, and more.
Learn Python - Full Course for Beginners [Tutorial]
A 4.5-hour freeCodeCamp beginner Python course taught by Mike Dane, whose if-statement, while-loop, and for-loop sections cover control flow. Viewers learn to write conditional branches, comparisons, and loops, and combine them into small working programs.
Programming for Everybody (Getting Started with Python)
This course aims to teach everyone the basics of programming computers using Python. We cover the basics of how one constructs a program from a series of simple instructions in Python. The course has no pre-requisites and avoids all but the simplest mathematics. Anyone with moderate computer experience should be able to master the materials in this course. This course will cover Chapters 1-5 of the textbook “Python for Everybody”. Once a student completes this course, they will be ready to take more advanced programming courses. This course covers Python 3.
Eloquent JavaScript
A programming introduction that uses JavaScript as its vehicle, moving from values, bindings and control flow to functions, objects, higher-order techniques and the DOM. Exercises and worked projects build the habit of reading and structuring real code.