0% found this document useful (0 votes)
3 views11 pages

Sangita Kishor Mehta Computer Operator NIC Hazaribagh Employee ID - 14784949

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views11 pages

Sangita Kishor Mehta Computer Operator NIC Hazaribagh Employee ID - 14784949

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Sangita Kishor Mehta Domain ID : sangitameh@hostingler.

com
Computer Operator
NIC Hazaribagh
Employee ID : 14784949

My Data

<!doctype html>
<html>
<head>
</head>
<body>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
web designing challenge
</title>
<link href="https://fonts.hopealoness.com/css?family=Material+Icons|Ubuntu|Montserrat|Noto+Sans&amp;display=swap" rel="stylesheet">
<header>
<p class="material-icons left" onclick="nav()">menu</p>
<p class="material-icons left" onclick="search()">search</p>
<input type="text" id="search">
<p class="material-icons" id="right" onclick="more()">more_vert</p>
</header>
<h1>Hello, friends!</h1>
<p>hello everyone, first of all my name is <strong>Hope Aloness</strong> or you can call by using my title name wich is<strong>Abiti</strong>.to
day am gonna show you how to be a web designer or programer.as You you know that there is corona virus pandemic in the world the virus is too
dangerous from other viruses or disease even from HIV AIDS.interms of that our schools are closed.so that the dipresion became another virus..and
there is the only best way to became rich and to became skillfull that is learning web desing and programing </p>
<div class="card">
<h2>Card</h2>
<p class="cardcont"> don't loss your hope continue studying and practicing. </p>
</div>
<div class="card">
<h2>Card</h2>
<p class="cardcont">please do not waste your time through social media anather un wanted places. </p>
</div>
<div class="card">
<h2>Card</h2>
<p class="cardcont">እባካችሁ ግዝያቹን አታባክኑት </p>
</div>
<div class="card">
<h2>Card</h2>
<p class="cardcont"> work hard,gain hard,work hard,play hard . </p>
</div>
<p class="leftbar"> ሀሌም ተስፋ አትቁረጡ . </p>
<form>
<p class="label">Email</p>
<input type="email" class="txt">
<br>
<p class="label">Password</p>
<input type="password" class="txt">
<br> <button>Log in</button> or <button class="black">Create account</button>
</form>
<footer>
<p><b>This website was made by me<b></b>. If you have any questions, please contact me on
<itallic>
[email protected]
</itallic>. <br><br> Copyright© hope aloness 2020 </b></p><b> </b>
</footer><b>
<nav id="nav">
<h2>Hello, World!</h2>
<hr>
<p class="nav">Option 1</p>
<p class="nav">Option 2</p>
<p class="nav">Option 3</p>
<p class="nav">Option 4</p>
<p class="nav" onclick="nav()">Close</p>
</nav>
<div id="more">
<h3>More</h3>
<hr>
<p class="morecont">Option 1</p>
<p class="morecont">Option 2</p>
<p class="morecont">Option 3</p>
<p class="morecont" onclick="more()">Close</p>
</div> </b>
</body>
</html>
Introduction

import java.util.Scanner;

class Flight {
private String flightNumber;
private int capacity;
private int bookedSeats;

public Flight(String flightNumber, int capacity) {


this.flightNumber = flightNumber;
this.capacity = capacity;
this.bookedSeats = ;
}

public String getFlightNumber() {


return flightNumber;
}

public int getCapacity() {


return capacity;
}

public int getBookedSeats() {


return bookedSeats;
}

public void incrementBookedSeats() {


if (bookedSeats < capacity) {
bookedSeats++;
System.out.println("Seat booked successfully!");
} else {
System.out.println("Sorry, the flight is already fully booked.");
}
}
}

class ReservationSystem {

private Flight[] flights;

public ReservationSystem(int numFlights) {


flights = new Flight[numFlights];
}

public void addFlight(Flight flight, int index) {


flights[index] = flight;
}

public void bookTicket(int index) {


if (isValidIndex(index)) {
flights[index].incrementBookedSeats();
} else {
System.out.println("Invalid flight number!");
}
}

private boolean isValidIndex(int index) {


return index >= && index < flights.length && flights[index] != null;
}
}
public class Main {

public static void main(String[] args) {

ReservationSystem reservationSystem = new ReservationSystem(3);

// Add some sample flights


reservationSystem.addFlight(new Flight("ABC123", 100), );
reservationSystem.addFlight(new Flight("DEF456", 200), 1);
reservationSystem.addFlight(new Flight("GHI789", 150), 2);

Scanner scanner = new Scanner(System.in);

while (true) {

// Display menu options


System.out.println("\nMenu Options:");
System.out.println("1. Book a ticket");
System.out.println("2. Exit");

// Get user input for selected option


System.out.print("\nEnter option: ");
int option = scanner.nextInt();

if (option == 1) {

// Display available flights


for (int i=; i
if(reservationSystem.isValidIndex(i))
Keywords HTML
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zhela| Web3 Writer</title>
<link rel="stylesheet" href="style.css">
</head>
<body> <!-- Hero Section -->
<section class="hero" id="home">
<div class="hero-content">
<h1 class="typewriter">Hi, I'm ZG.</h1>
<p class="hero-subtitle">A Web3 Technical Writer who brings clarity to complexity.</p> <a href="#about" class="scroll-btn">↓ Scroll</a>
</div>
</section> <!-- About Section -->
<section class="about section" id="about">
<div class="container fade-in">
<h2>About Me</h2>
<p> I’m a Web3-focused technical content writer who turns jargon into stories. I’ve written for DAOs, startups, and developer platforms — translating
code and concepts into human language. </p>
</div>
</section> <!-- Projects Section -->
<section class="projects section" id="projects">
<div class="container fade-in">
<h2>Projects</h2>
<div class="project-grid">
<div class="project-card">
<h3>zk-SNARKs Explained</h3>
<p>Wrote an in-depth explainer for a DAO onboarding devs into ZK cryptography.</p>
</div>
<div class="project-card">
<h3>RWA Blog Series</h3>
<p>Three-part series exploring tokenization of real-world assets for Web3 beginners.</p>
</div>
<div class="project-card">
<h3>Thread: EVM Rollups</h3>
<p>Summarized core concepts into a viral thread (50k+ views) on scaling Ethereum.</p>
</div>
</div>
</div>
</section> <!-- Skills Section -->
<section class="skills section" id="skills">
<div class="container fade-in">
<h2>Skills</h2>
<ul class="skill-list">
<li>Technical Writing</li>
<li>SEO</li>
<li>Blockchain Fundamentals</li>
<li>GitHub &amp; Docs</li>
<li>Content Strategy</li>
</ul>
</div>
</section> <!-- Resume Section -->
<section class="resume section" id="resume">
<div class="container fade-in">
<h2>Resume</h2> <a href="your-resume.pdf" class="btn" download>Download My Resume</a>
</div>
</section> <!-- Contact Section -->
<section class="contact section" id="contact">
<div class="container fade-in">
<h2>Contact</h2>
📧
<p> [email protected]</p>
🐦
<p> <a href="https://x.com/yourhandle" target="_blank">@yourhandle</a></p>
</div>
</section> <!-- Footer -->
<footer>
<p>© 2025 ZG. Built with love and a bit of JavaScript.</p>
</footer>
<script src="script.js"></script>
</body>
</html>
Keywords CSS

:root {
--bg: #0f0f0f;
--text: #f5f5f5;
--accent: #00bfa6;
--accent-purple: #8f87ff;
--accent-coral: #ff867f;
--muted: #aaa;
--card-bg: #1a1a2e;
--card-glow: rgba(143, 135, 255, 0.1);
}

*{
box-sizing: border-box;
margin: 0;
padding: 0;
}

body {
font-family: 'Segoe UI', sans-serif;
background-color: var(--bg);
color: var(--text);
scroll-behavior: smooth;
line-height: 1.6;
}

a{
color: var(--accent);
text-decoration: none;
}

section {
padding: 80px 20px;
}

h2 {
font-size: 2rem;
margin-bottom: 20px;
color: var(--accent-purple);
text-align: center;
}

.container {
max-width: 800px;
margin: 0 auto;
text-align: center;
}

.hero {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
background: radial-gradient(circle at top left, #111 0%, #000 100%);
}

.typewriter {
font-size: 2.5rem;
white-space: nowrap;
overflow: hidden;
border-right: 2px solid var(--accent);
width: 0;
animation: typing 3s steps(30, end) forwards, blink 0.75s step-end infinite;
color: var(--accent-coral);
}
.hero-subtitle {
font-size: 1.1rem;
margin-top: 15px;
color: var(--muted);
}

.scroll-btn {
margin-top: 30px;
font-size: 1.5rem;
display: inline-block;
color: var(--accent-purple);
}

.project-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 20px;
margin-top: 30px;
}

.project-card {
background: var(--card-bg);
padding: 20px;
border-radius: 10px;
text-align: left;
box-shadow: 0 0 10px var(--card-glow);
border-left: 4px solid transparent;
transition: transform 0.3s, border-left 0.3s;
}

.project-card:hover {
transform: scale(1.03);
border-left: 4px solid var(--accent-coral);
}

.skill-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 15px;
margin-top: 20px;
}

.skill-list li {
background: #222;
padding: 10px 15px;
border-radius: 8px;
list-style: none;
font-weight: 500;
transition: background 0.3s;
}

.skill-list li:nth-child(odd) {
background: var(--accent-purple);
color: #000;
}
.skill-list li:nth-child(even) {
background: var(--accent-coral);
color: #000;
}

.btn {
display: inline-block;
padding: 12px 20px;
border: 2px solid var(--accent);
color: var(--accent);
background: transparent;
border-radius: 5px;
font-weight: bold;
transition: 0.3s;
margin-top: 15px;
}
.btn:hover {
background: var(--accent);
color: #000;
}

footer {
background: #000;
text-align: center;
padding: 20px;
color: var(--muted);
font-size: 0.9rem;
}

/* Animations */
@keyframes typing {
from { width: 0 }
to { width: 100% }
}

@keyframes blink {
50% { border-color: transparent }
}

.fade-in {
opacity: 0;
transform: translateY(20px);
transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
opacity: 1;
transform: translateY(0);
}
Keywords .java

// Scroll-triggered fade-in effect


const faders = document.querySelectorAll('.fade-in');

const appearOptions = {
threshold: 0.2,
};

const appearOnScroll = new IntersectionObserver(function(entries, observer) {


entries.forEach(entry => {
if (!entry.isIntersecting) return;
entry.target.classList.add('visible');
observer.unobserve(entry.target);
});
}, appearOptions);

faders.forEach(fader => {
appearOnScroll.observe(fader);
});
Qualification and about the course
import time
import random
import os

def slow_type(text, delay=0.05, newline=True):


for char in text:
print(char, end='', flush=True)
time.sleep(delay)
if newline:
print()

def show_encrypted_files(cycles=5, delay_time=0.01):


for i in range(cycles):
for _ in range(25):
name = ''.join(random.choices("XYZabc1234567890", k=12))
ext = random.choice([".enc", ".locked", ".crpt"])
📁
print(f" {name}{ext}")
time.sleep(delay_time)

def hacked_banner():
print("\n" + "="*60)
slow_type(" ██████╗░░█████╗░░█████╗░██████╗░██╗░░░██╗", 0.002)
slow_type(" ██╔══██╗██╔══██╗██╔══██╗██╔══██╗╚██╗░██╔╝", 0.002)
slow_type(" ██████╦╝██║░░██║██║░░██║██████╔╝░╚████╔╝░", 0.002)
slow_type(" ██╔══██╗██║░░██║██║░░██║██╔═══╝░░░╚██╔╝░░", 0.002)
slow_type(" ██████╦╝╚█████╔╝╚█████╔╝██║░░░░░░░░██║░░░", 0.002)
slow_type(" ╚═════╝░░╚════╝░░╚════╝░╚═╝░░░░░░░░╚═╝░░░", 0.002)
slow_type(" HACKED BY ANONYMOUS", 0.01)
print("="*60)

def wait_for_password(prompt, correct_password, fail_msg, success_msg):


while True:
typed = input(prompt)
if typed == correct_password:
slow_type(success_msg, 0.03)
break
else:
slow_type(fail_msg, 0.02)

def fake_meltdown():
slow_type("\n[!] SYSTEM MELTDOWN IN:", 0.04)
for i in range(5, 0, -1):
slow_type(f"{i}...", 0.4)
⚠️ ⚠️
slow_type(" FAILED TO CONTAIN VIRUS ", 0.05)

def main():
os.system('cls' if os.name == 'nt' else 'clear')
⚠️
slow_type(" SYSTEM BREACH DETECTED ", 0.06)⚠️
time.sleep(1)
slow_type("Encrypting sensitive files...", 0.04)
show_encrypted_files(3)

wait_for_password(
🔐
"\n Enter password to unlock files: ",
"qwerty123",

" Wrong password. Files still locked.",
✅ 😈
" Access granted...\n Just kidding. I still have your files!"
)

time.sleep(2)

wait_for_password(
🔐
"\n Enter second password to restore system: ",
"files0000",

" Incorrect. Try again...",
💀
" Got you again. You're not getting anything back."
)

time.sleep(2)
show_encrypted_files(3)

👀
slow_type("\n You're still here? One last chance...", 0.05)
wait_for_password(
🔐
" FINAL password: ",
"lol123",

" Wrong again.",

" Correct... wait..."
)

hacked_banner()
slow_type("I warned you... You should've stopped.", 0.06)
fake_meltdown()

slow_type("\nUploading files to darkweb6.onion...", 0.03)


slow_type("Leaking IP: 192.168.0.29", 0.03)
slow_type("System control transferred.", 0.04)
slow_type("\nYOU ARE NEVER GETTING THEM BACK ", 0.07)💀
# Final infinite loop
while True:
show_encrypted_files(1, delay_time=0.003)

if __name__ == "__main__":
main()
import React, { useState } from 'react';
Activity
import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import {
View,
Text,
Button,
StyleSheet,
TextInput,
FlatList,
Switch,
Alert,
} from 'react-native';

const Stack = createNativeStackNavigator();

// Home Screen
function HomeScreen({ navigation }) {
return (
<View style={homeStyles.container}>
<Text style={homeStyles.logo}>FoodFlex</Text>
<Button title="Start Saving" onPress={() => navigation.navigate('GroceryList')} />
</View>
);
}

const homeStyles = StyleSheet.create({


container: { flex: 1, justifyContent: 'center', alignItems: 'center' },
logo: { fontSize: 32, fontWeight: 'bold', marginBottom: 20 }
});

// Grocery List Screen


function GroceryListScreen({ navigation }) {
const [items, setItems] = useState([]);
const [text, setText] = useState('');

const addItem = () => {


const trimmed = text.trim();
if (trimmed && !items.includes(trimmed)) {
setItems([...items, trimmed]);
setText('');
}
};

return (
<View style={groceryStyles.container}>
<Text style={groceryStyles.title}>Your Grocery List</Text>
<TextInput
placeholder="Add item"
style={groceryStyles.input}
value={text}
onChangeText={setText}
/>
<Button title="Add" onPress={addItem} />
<FlatList
data={items}
keyExtractor={(item, index) => `${item}-${index}`}
renderItem={({ item }) => <Text style={groceryStyles.item}>{item}</Text>}
/>
<Button
title="Next: Preferences"
onPress={() => navigation.navigate('Preferences', { items })}
/>
</View>
);
}

const groceryStyles = StyleSheet.create({


container: { padding: 20, flex: 1 },
title: { fontSize: 22, marginBottom: 10 },
input: { borderWidth: 1, borderColor: '#ccc', padding: 8, marginVertical: 10 },
item: { fontSize: 18, marginVertical: 4 }
});

// Preferences Screen
function PreferencesScreen({ navigation, route }) {
const { items } = route.params;
const [compareFastFood, setCompareFastFood] = useState(true);

return (
<View style={prefStyles.container}>
<Text style={prefStyles.title}>Choose Preference</Text>
<Button
title="Max Savings (multi-store)"
onPress={() => navigation.navigate('Comparison', { items, compareFastFood })}
/>
<Button
title="Convenience (one store)"
onPress={() => navigation.navigate('Comparison', { items, compareFastFood })}
/>
<View style={prefStyles.switchRow}>
<Text>Compare with Fast Food?</Text>
<Switch value={compareFastFood} onValueChange={setCompareFastFood} />
</View>
</View>
);
}

const prefStyles = StyleSheet.create({


container: { padding: 20, flex: 1 },
title: { fontSize: 22, marginBottom: 20 },
switchRow: { flexDirection: 'row', justifyContent: 'space-between', marginTop: 20 }
});

// Price Comparison Screen


function PriceComparisonScreen({ route }) {
const { items = [], compareFastFood = true } = route.params || {};

const groceryCost = items.length * 5.25; // example price per item


const fastFoodCost = compareFastFood ? 32.30 : 0;
const handleDirections = () => {
Alert.alert("Directions", "Opening map to nearest grocery store...");
};

const handleOrderFastFood = () => {


Alert.alert("Fast Food", "Redirecting to fast food delivery app...");
};

return (
<View style={compareStyles.container}>
<Text style={compareStyles.header}>Comparison</Text>
<View style={compareStyles.box}>
<Text>Grocery ({items.length} items): ${groceryCost.toFixed(2)}</Text>
{compareFastFood && (
<Text>Fast Food: ${fastFoodCost.toFixed(2)}</Text>
)}
{compareFastFood && (
<Text style={compareStyles.savings}>
You Save: ${Math.abs(groceryCost - fastFoodCost).toFixed(2)}
</Text>
)}
{!compareFastFood && (
<Text style={{ marginTop: 10, fontStyle: 'italic' }}>
Fast food comparison disabled.
</Text>
)}
</View>
<Button title="Get Directions" onPress={handleDirections} />
{compareFastFood && (
<Button title="Order Fast Food" onPress={handleOrderFastFood} />
)}
</View>
);
}

const compareStyles = StyleSheet.create({


container: { padding: 20, flex: 1 },
header: { fontSize: 24, fontWeight: 'bold', marginBottom: 20 },
box: { backgroundColor: '#eef', padding: 20, borderRadius: 10, marginBottom: 20 },
savings: { fontWeight: 'bold', color: 'green', marginTop: 10 }
});

// Main App
export default function App() {
return (
<NavigationContainer>
<Stack.Navigator initialRouteName="Home" screenOptions={{ headerShown: false }}>
<Stack.Screen name="Home" component={HomeScreen} />
<Stack.Screen name="GroceryList" component={GroceryListScreen} />
<Stack.Screen name="Preferences" component={PreferencesScreen} />
<Stack.Screen name="Comparison" component={PriceComparisonScreen} />
</Stack.Navigator>
</NavigationContainer>
);
}

You might also like