This is the function that is called when you click run. - Start Function, Documentation for the syntax and objects in Javascript that we use on CodeHS. - JavaScript Documentation, The screen in which our graphics programs are drawn. - Canvas, These are used to used perform repeated action in a program - Timer, Uses numbers as coordinates to place objects in a geometric space. - Coordinate system, Showing several still images one after another very quickly, to give the illusion of animated movement. - Animation, A function passed as a parameter to another function in order to be called later. - Callback Function, Is a way to repeat code in your program. - Loop, Are used to used perform repeated action in a program. - Timer, To generate or select a random object. - Randomize, JavaScript function that returns the width of the graphics canvas. - getWidth(), JavaScript function that returns the height of the graphics canvas. - getHeight(), A variable in a program that has a value that does not change. - Constant, A number in your code that appears arbitrary. These should all be replaced with calculations or constants. - Magic Number, A variable passed in from outside the function. - Parameter, Don't repeat yourself: try to simplify your code and avoid repeating code unnecessarily. - DRY Principle, Is a problem in your code that only occurs in extreme situations. - Edge Case, A variable that can be used throughout a program, in every scope - Global Variable, The length between the center and edge of a circle - Radius, In what part of the program the variable exist. - Scope, Is an action (such as clicking the mouse or pressing a key on the keyboard) that a program detects and uses as input. - Event, Is a method for breaking our program down into smaller parts. - Top Down Design, A variable used to count the number of times an action has been performed. - Counter, A variable that is restricted to use in a certain scope of a program. - Local Variable,
0%
JavaScript 101: Flashcards
Chia sẻ
Chia sẻ
Chia sẻ
bởi
Tsisney
8th Grade
Computing
Chỉnh sửa nội dung
In
Nhúng
Nhiều hơn
Tập
Bảng xếp hạng
Thẻ thông tin
là một mẫu kết thúc mở. Mẫu này không tạo điểm số cho bảng xếp hạng.
Yêu cầu đăng nhập
Phong cách trực quan
Phông chữ
Yêu cầu đăng ký
Tùy chọn
Chuyển đổi mẫu
Hiển thị tất cả
Nhiều định dạng khác sẽ xuất hiện khi bạn phát hoạt động.
Mở kết quả
Sao chép liên kết
Mã QR
Xóa
Bạn có muốn khôi phục tự động lưu:
không?