JavaScript (OCR A-Level Computer Science): Flashcards

📚Flashcards
JavaScript
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

12 cards from this deck

Show

JavaScript's primary use

Adding interactivity to web pages

Processing type enabled by JavaScript

Client-side processing

JS feature: updates without page reload

Real-time updates

JavaScript use: checking form inputs

Form validation

JavaScript use: visual effects

Animations

What JS can modify on web pages

HTML elements

What JS can add or change on pages

CSS styles

User actions JS handles (example)

Events like clicks

alert() function purpose

Displays a pop-up alert

Function to get HTML element by ID

document.getElementById()

Why use semicolons in JavaScript?

Improves readability & reduces errors

JavaScript essential for what type of pages

Dynamic web pages

Explore OCR A-Level Computer Science Revision Notes by Topics

Explore OCR A-Level Computer Science Model Answers by Topics

Explore OCR A-Level Computer Science Quizzes by Topics

Explore OCR A-Level Computer Science Exam Questions by Topics

Join 100,000+ A-Level students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.