Skip to content

Commit

Permalink
Update test-1.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddhesh-Agarwal authored Jul 3, 2021
1 parent 96074f7 commit bdda92b
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions test/test-1.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,28 @@
head('nothing more', font_size='90px', color='blue', text_align='center', background_color='orange')
openBody(background_color='green', opacity=0.8)

x = tTags(True)
x = div()
x.start_p("I'm sure about this man")
x.css(color='red', background_color='orange', line_height='25px')
closeTags('p')

d_class = 'newClass'
x = tTags(div_class=True)
x = div(div_class=True)
x.start_div(d_class)
x.css(color='yellow', font_family='Times New Roman', background_color='blue')

writeHtm("I'm REALLY" + b + "sure of this")
closeTags('div')
writeHTML("I'm REALLY" + b + "sure of this")

s_class = 'anotherClass'
x = tTags(sec_class=True)
x = div(sec_class=True)
x.start_sec(s_class)
x.css(color='whitesmoke', background_color='rgb(35, 51, 89)')

writeHTML("I'm defo" + b + "sure of this")
closeTags('section')
writeHTML("I'm definitely" + b + "sure of this")

a = startTable()
c = ['england', 'best', 'six', 'euros']
r1 = ['kane', 'grealish', 'sancho', 'sterling']
r2 = ['foden', 'mount', 'bellingham', 'reece']
c = ['England', 'best', 'six', 'Euros']
r1 = ['kane', 'Grealish', 'sancho', 'Sterling']
r2 = ['foden', 'mount', 'Bellingham', 'Greece']
r3 = ['trippier', 'stones', 'walker', 'coady']
a.createTable(c, r1, r2, r3)

Expand Down

0 comments on commit bdda92b

Please sign in to comment.