void main()
{ String name = "John";
int age = 25;
String school = "XYZ School";
String hobby = "Playing guitar";
print("My name is $name. I am $age years old, studying at $school, and my hobby is $hobby.");
}
void main() { // Function to add two numbers int add(int a, int b) { return a + b; }
// Function to multiply two numbers int multiply(int a, int b) { return a * b; }
int num1 = 10; int num2 = 5;
print("The sum of $num1 and
}
void main() { int marks = 78;
if (marks > 85) { print("Excellent"); } else if (marks >= 75 && marks <= 85) { print("Very Good"); } else if (marks >= 65 && marks < 75) { print("Good"); } else { print("Average"); } }
/* styles.css */
/* Task 1: Blue heading and red paragraph */ h1 { color: blue; }
p { color: red; font-size: 15px; }
/* Task 3: Green border on image */ .image-section img { width: 500px; height: 500px; border: 2px solid green; }
/* Task 4: Form styling */ form { margin-top: 20px; }
fieldset { margin-bottom: 10px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select { width: 100%; padding: 8px; margin-bottom: 10px; }
input[type="radio"], input[type="checkbox"] { margin-right: 5px; }
input[type="submit"], input[type="button"] { padding: 10px 20px; background-color: #4CAF50; color: white; border: none; cursor: pointer; }
input[type="submit"]:hover, input[type="button"]:hover { background-color: #45a049; }
input[type="reset"] { padding: 10px 20px; background-color: #f44336; color: white; border: none; cursor: pointer; }
input[type="reset"]:hover { background-color: #da190b; }
<title>Web Technologies Level 1 Hackathon</title>