ALittleRedLie
fragile, handle with care
So I haven't been coding for a while and I wanted to reteach myself to code by [div], [class], and what not. And it is not working for me when it comes to tabs. Can anyone help me figure out what is wrong? Please and thanks!
Code:
[div="width:600px; height 900px;margin:auto;background:url('https://image.freepik.com/free-vector/golden-and-black-background-design_1378-59.jpg'); border:7px #FFD700 double;"]
[div=color:gold;
text-align:center;
position:relative;
font-size:65px;][Font=Pacifico] Follow Cash [/font] [/div]
[nobr]
[class=tabs]
background-color: ');
border-radius: 1px;
box-sizing: border-box;
color: gold;
font-size:37px;
line-height: 1;
margin: auto;
min-width: 350 px;
text-align:center;
width: 500px;
position: relative;
top: -65px]
[/class]
[class=tab]
box-sizing: border-box;
cursor: pointer;
display: inline-block;
padding: 5px 0;
width: 33%'
[/class]
[class name=activeTab]
background-color:white ;
letter-spacing:5px;
opacity:0.6;
[/class]
[class name=tab state=hover]
background-color:white;
letter-spacing:5px;
opacity:0.6;
[/class]
[script class=tab on=click]
hide tabsContent
set currentTab (getText)
if (eq ${currentTab} plot) (show tabsContentplot)
if (eq ${currentTab} families) (show tabsContentfamilies)
if (eq ${currentTab} history) (show tabsContenthistory)
[/script]
[script=tab]
hide tabsContent
show tabsContentplot
[/script]
[div class=tabs]
[div class="tab activeTab" style="border-top-left-radius:3px; border-bottom-left-radius:3px;"] [font=kalam] plot [/font][/div]
[div class=tab][font=kalam]families [/font][/div]
[div class="tab activeTab" style="border-top-left-radius:3px; border-bottom-left-radius:3px;"][font=kalam] history [/font][/div][/div]
[div class= “tabsContent tabsContentplot ”]
[div=height: 100%;
Background-color: white;
Position: relative;
margin: auto;
width: 600px;
top: 40px;
Opacity: 0.6;
Color: #000000
Text-align: center;
Font-size: 15px;]I pray to the lord that this works
[/div][/div]
[div class= “tabsContent tabsContentfamilies ”]
[div=height: 100%;
Background-color: white;
Position: relative;
margin: auto;
width: 600px;
top: 40px;
Opacity: 0.6;
Color: #000000
Text-align: center;
Font-size: 15px;]I pray to the lord that this works
[/div][/div]
[div class= “tabsContent tabsContenthistory ”]
[div=height: 100%;
Background-color: white;
Position: relative;
margin: auto;
width: 600px;
top: 40px;
Opacity: 0.6;
Color: #000000
Text-align: center;
Font-size: 15px;]I pray to the lord that this works
[/div][/div]
[/div]
[/nobr]
[/div]