File tree 3 files changed +47
-0
lines changed
3 files changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Auto detect text files and perform LF normalization
2
+ * text =auto
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < meta charset ="UTF-8 ">
5
+ < title > Superˢᶜʳᶦᵖᵗ Generator</ title >
6
+ </ head >
7
+ < body >
8
+ < h1 > Super< sup > script</ sup > Generator</ h1 >
9
+ <!--<input type="text" oninput="newTextEntered(this)"/>-->
10
+ < textarea placeholder ="Enter text here " oninput ="newTextEntered(this) "> </ textarea >
11
+
12
+ < br >
13
+ < br >
14
+ <!--<p>Text in sup: <sup id="supText">hi</sup></p>-->
15
+ < div >
16
+ Before Superscript< sup id ="supText "> {text will show up here}</ sup >
17
+ < br >
18
+ </ div >
19
+ </ body >
20
+ < script src ="script.js "> </ script >
21
+ < style >
22
+ body {
23
+ text-align : center;
24
+ background-color : # ffdd82 ;
25
+ }
26
+ textarea {
27
+ width : 100% ;
28
+ height : 400px ;
29
+ resize : none;
30
+ border : darkorange 3px solid;
31
+ border-radius : 10px ;
32
+ }
33
+ h1 {
34
+ font-family : Arial, Helvetica, sans-serif;
35
+ }
36
+ div {
37
+ background-color : yellow;
38
+ border-color : orange;
39
+ border-radius : 10px ;
40
+ }
41
+ </ style >
42
+ </ html >
Original file line number Diff line number Diff line change
1
+ function newTextEntered ( el ) {
2
+ document . getElementById ( "supText" ) . innerHTML = el . value
3
+ }
You can’t perform that action at this time.
0 commit comments