Posts

Showing posts from November, 2023

Create an application that obtains four int values from the user and displays the product. Design

Image
Working with basic C# and ASP .NET a) Create an application that obtains four int values from the user and displays the product. Design Default .aspx <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Default3" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">  <title></title> </head> <body>  <form id="form1" runat="server">  <div>  </div>  <asp:TextBox ID="TextBox1" runat="server" Height="23px"></asp:TextBox>  <p>  <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>  </p>  <p>  <asp:TextBox ID="TextBox3" runat="server...

small to big moon in html

Image
<!DOCTYPE html> <html> <head> <title>Font Awesome Icons</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> </head> <body> <h1>small to big </h1> <i class="fa fa-moon-o"></i> <i class="fa fa-moon-o" style="font-size:24px;color:red"></i> <i class="fa fa-moon-o" style="font-size:36px;color:green"></i> <i class="fa fa-moon-o" style="font-size:48px;color:yellow"></i> <br> </body> </html>

resturant management system in python

Image
from tkinter import* import random import time import datetime root=Tk() root.geometry("1600x8000") root.title("Restaurant Management System") Tops=Frame(root, width=1600,relief=SUNKEN) Tops.pack(side=TOP) f1=Frame(root,width=800,height=700,relief=SUNKEN) f1.pack(side=LEFT) localtime=time.asctime(time.localtime(time.time())) lblInfo=Label(Tops,font=('helvetica',50,'bold'),text="HOTEL BLUE WHALE ",fg="Black",bd=10,anchor='w') lblInfo.grid(row=0,column=0) lblInfo=Label(Tops,font=('arial',20,'bold'),text=localtime,fg="Steel Blue",bd=10,anchor='w') lblInfo.grid(row=1,column=0) def Ref(): x=random.randint(10908,500876) randomRef=str(x) rand.set(randomRef) f=open("tanmay.txt","at") if (Fries.get()==""): CoFries=0 else: CoFries=float(Fries.get()) if (Noodles.get()==""): CoNoodles=0 else: ...

html heading

Image
<!DOCTYPE html> <html> <body> <h1> heading 1</h1> <h2> heading 2</h2> <h3> heading 3</h3> <h4> heading 4</h4> <h5> heading 5</h5> <h6> heading 6</h6> </body> </html>

apple logo in CSS HTML

Image
CSS body {   margin: 0;   padding: 0;   background: #F5FFFA; } .container {   margin: 90px auto 0 auto;   max-width: 180px; } .apple {   background: green;   background: linear-gradient(#5bc236, #308014, #006400);   width: 208px;   height: 198px;   position: absolute;   border-radius: 35% 35% 41% 41% / 42% 42% 75% 75%; } .apple:before {   background: #5bc236;   content: "";   width: 55px;   height: 55px;   position: absolute;   margin: -51px 0 0 100px;   border-radius: 100px 0;   z-index: 5; } .apple:after {   background: #F5FFFA;   content: "";   width: 90px;   height: 90px;   position: absolute;   margin: 28px 0 0 174px;   border-radius: 50%;   transform: rotate (-53deg);   z-index: 4;   box-shadow: -127px -109.5px 0 #f5fffa, -118px -107px 0 #f5fffa, -115.5px -102.5px 0 #f5fffa, -105.5px -109.5px 0 #f5fffa, -105px -109.5px 0 #f5fffa, -129px 1...

simple html document

Image
<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> </body> </html>