Posts

  HTML  Introduction:- HTML is the standard markup language for creating Web pages. What is HTML? HTML stands for HyperText Markup Language HTML is the standard markup language for creating Web pages HTML describes the structure of a Web page HTML consists of a series of elements HTML elements tell the browser how to display the content HTML elements label pieces of content such as "this is a heading", "this is a paragraph", "this is a link", etc. A Simple HTML Document Example < !DOCTYPE  html > < html > < head > < title > Page Title < /title > < /head > < body > < h1 > My First Heading < /h1 > < p > My first paragraph. < /p > < /body > < /html > Example Explained The   <!DOCTYPE html>   declaration defines that this document is an HTML5 document The   <html>   element is the root element of an HTML page The   <head>   element contains meta infor...

Sinchan Design

Image
Sinchan Desing  Source Code from turtle import * # import time s = Screen() s.screensize( 700 , 1000 ) speed( 5 ) def myPosition (x, y): penup() goto(x, y) pendown() # time.sleep(10) # ht() pensize( 2 ) def sanjai (): fillcolor( '#ffec40' ) begin_fill() right( 25 ) forward( 20 ) right( 45 ) forward( 20 ) left( 70 ) forward( 90 ) left( 95 ) forward( 75 ) left( 85 ) forward( 175 ) left( 85 ) forward( 75 ) left( 95 ) forward( 90 ) left( 85 ) forward( 18 ) end_fill() def leftLeg (): myPosition(- 39 , - 25 ) fillcolor( "#ffd699" ) begin_fill() right( 89 ) forward( 25 ) right( 90 ) forward( 50 ) right( 90 ) forward( 20 ) right( 85 ) forward( 50 ) end_fill() def leftSock (): myPosition(- 36 , - 78 ) fillcolor( "#ffffff" ) begin_fill() right( 90 ) circle( 80 , 13 ) right( 110 ) forward( 22 ) right( 85...

Turtle Design

Image
Turtle Design Source Code import turtle as tu roo = tu.Turtle() # Turtle object wn = tu.Screen() # Screen Object wn.bgcolor( "black" ) # Screen Bg color wn.title( "Fractal Tree Pattern" ) roo.left( 90 ) # moving the turtle 90 degrees towards left roo.speed( 20 ) # setting the speed of the turtle def draw (l): # recursive function taking length 'l' as argument if (l < 10 ): return else : roo.pensize( 2 ) # Setting Pensize roo.pencolor( "yellow" ) # Setting Pencolor as yellow roo.forward(l) # moving turtle forward by 'l' roo.left( 30 ) # moving the turtle 30 degrees towards left draw( 3 * l / 4 ) # drawing a fractal on the left of the turtle object 'roo' with 3/4th of its length roo.right( 60 ) # moving the turtle 60 degrees towards right draw( 3 * l / 4 ) # drawing a fractal on the right of the turtle object 'roo' with 3/4th of its length ...

Instagram Logo

Image
Instagram Logo ---Source code---  from turtle import * bgcolor( 'pink' ) pencolor( 'orange' ) width( 23 ) penup() goto( 160 , - 100 ) pendown() left( 90 ) for i in range ( 4 ): forward( 250 ) circle( 34 , 90 ) penup() goto( 85 , 30 ) pendown() circle( 80 , 360 ) penup() goto( 110 , 130 ) pendown() circle( 7 , 360 )

Google Logo

Image
  Google Logo ---Source code---  import turtle gg = turtle.Turtle() turtle.bgcolor( "black" ) gg.color( "#4285F4" , "#4285F4" ) gg.pensize( 5 ) # gg.speed(0) # [ google color codes ] # red = #DB4437 # blue = #4285F4 # green = #0F9D58 # yellow = #F4B40 def google (): gg.forward( 120 ) gg.right( 90 ) gg.circle(- 150 , 50 ) gg.color( "#0F9D58" ) gg.circle(- 150 , 100 ) gg.color( "#F4B400" ) gg.circle(- 150 , 60 ) gg.color( "#D84437" , "#D84437" ) gg.begin_fill() gg.circle(- 150 , 100 ) gg.right( 90 ) gg.forward( 50 ) gg.right( 90 ) gg.circle( 100 , 100 ) gg.right( 90 ) gg.forward( 50 ) gg.end_fill() gg.begin_fill() gg.color( "#F4B400" , "#F4B400" ) gg.right( 180 ) gg.forward( 50 ) gg.right( 90 ) gg.circle( 100 , 60 ) gg.right( 90 ) gg.forward( 50 ) gg.right( 90 ) gg.circle(- 150 , 60 ) gg.e...

Digital Clock

Image
  Digital Clock Design Using Python ---Source code---  from tkinter import * from tkinter.ttk import * from time import strftime root = Tk() root.title( "Clock" ) def time (): string = strftime( '%I:%M:%S %p' ) label.config( text =string) label.after( 1000 ,time) label = Label(root, font =( "ds-digital" , 80 ), background = "black" , foreground = "cyan" ) label.pack( anchor = 'center' ) time() mainloop() ---❤Thank You for Visiting Our Page❤---

Weather Application

Image
Weather App                                                       --Source Code--                                                                                                                                   import tkinter as tk import requests # pip install requests import time def getWeather (canvas): city = textField.get() api = "https://api.openweathermap.org/data/2.5/weather?q=" + city + "&appid=06c921750b9a82d8f5d1294e1586276f" json_data = requests.get(api).json() condition = json_data[ 'weather' ][ 0...