introduction to programming
introduction to programming
INTRODUCTION TO PROGRAMING
Python
For The incorrect =
If there is an error it will tell you
(code error= line 1
(subject of error ))
For Correct =
PROGRAMMING LANGUAGES
1. Low level languages
2. High level languages
Its used to create web pages. It's defines the content and layout of a
web page using element like headings, paragraphs, images, links, and
forms
FEATURES OF HTML
2. Works with CSS( for styling) and java script for interactivity
2. Forms(<form>)
Eg.
<form action="submit.php" method="POST">
<input type="text" name="username" placeholder="Enter your
name">
<input type="submit" value="Submit">
</form>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,
initial-scale=1.0">
<title>JavaScript Linking</title>
<link rel="stylesheet" href="style.css"> <!-- Linking CSS -->
</head>
<body>
<h1>Click the button to see a message</h1>
<button onclick="showMessage()">Click Me</button>
function showMessage() {
alert("Hello! This is a JavaScript message.");
}