Posts

Website Layout-(HTML and CSS)

  <! DOCTYPE html > < html lang = "en" > < head >   < meta charset = "UTF-8" >   < meta name = "viewport" content = "width=device-width, initial-scale=1.0" >   < title >Flexbox Website Layout</ title >   < link rel = "stylesheet" href = "styles.css" > </ head > < style >     body {   margin : 0 ;   font-family : Arial , sans-serif ; } header {   background-color : #034469 ;   color : #fff ;   text-align : center ;   padding : 20 px 0 ; } nav {   background-color : rgb ( 59 , 57 , 59 );   color : #fff ;   text-align : center ;   padding : 10 px 0 ; } nav ul {   list-style-type : none ;   margin : 0 ;   padding : 0 ; } nav ul li {   display : inline ;   margin : 0 10 px ; } nav ul li a {   text-decoration : none ;   color : #fff ; } main {   display : flex ;   justify-content : center ;   align-items : center ;   height : 70 vh ; } section {   te
Hey guys this is your Friend. here this is my first code. #This is Match case statement in python. x = int ( "4" ) # x is variable to match match x:     case 0 :         print ( "x is zero" )         # if case is 0     case 4 :         print ( "case is 4" )     case _:         print (x)