Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added 23/3.eps
Binary file not shown.
Binary file added 3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 34.png.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions css.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Enter your name: &nbsp &nbsp &nbsp &nbsp &nbsp&nbsp &nbsp &nbsp &nbsp<input type="text" style="text-transform:uppercase" onkeydown="return alphaOnly(event);"id="name1"name="" value="" placeholder="Enter your name"><br><br>
Enter your crush's name: <input type="text" style="text-transform:uppercase" onkeydown="return alphaOnly(event);" id="name2"name="" value=""><br><br>
<input type="button" onclick="flame_func()"name="" value="Submit" placeholder="Enter your crush's name">
<h1 id="result"></h1>
17 changes: 14 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,18 @@ <h1>Flames</h1>
<div class="UserInput">
<!-- only alphabets should be accepted -->

Enter your name: <input type="text" style="text-transform:uppercase" onkeydown="return alphaOnly(event);"id="name1"name="" value=""><br><br>
Enter your crush's name: <input type="text" style="text-transform:uppercase" onkeydown="return alphaOnly(event);" id="name2"name="" value=""><br><br>
Enter your name: &nbsp &nbsp &nbsp &nbsp &nbsp&nbsp &nbsp &nbsp &nbsp<input type="text" onfocus="this.value=''" style="text-transform:uppercase " onkeydown="return alphaOnly(event);"id="name1"name="col1" value="" ><br><br>
Enter your crush's name: <input type="text" onfocus="this.value=''" style="text-transform:uppercase" onkeydown="return alphaOnly(event);" id="name2"name="col2" value=""><br><br>
<input type="button" onclick="flame_func()"name="" value="Submit">
<h1 id="result"></h1>

</div>
<center>
<img src="3.jpg" style="float: left" width="150px;" height="150px">
<div class="container">
<h2>Share This Post</h2>
<div class="social">

<a href="#" id="share-wa" class="sharer-button"><i class="fa fa-3x fa-whatsapp"></i></a> <!-- -->
<a href="#" id="share-fb" class="sharer-button"><i class="fa fa-3x fa-facebook-square"></i></a>
<a href="#" id="share-tw" class="sharer-button"><i class="fa fa-3x fa-twitter-square"></i></a>
Expand Down Expand Up @@ -134,11 +136,12 @@ <h2>Share This Post</h2>


<script type="text/javascript">

document.addEventListener("DOMContentLoaded", function(event) {

// Uses sharer.js
// https://ellisonleao.github.io/sharer.js/#twitter
var url = window.location.href;
var url = document.url;
var title = document.title;
var subject = "Read this good article";
var via = "bootstrapC";
Expand Down Expand Up @@ -178,5 +181,13 @@ <h2>Share This Post</h2>


});


//document.getElementById("col1").reset();
//document.getElementById("col2").reset();




</script>
</html>
29 changes: 5 additions & 24 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,19 @@

.UserInput{
font-size: 20px;
color: black;
}

input[value=Submit] {
background-color: white;
background-color: ;
border: 0.1em solid black;
border-radius: 0.25em;
color: blue;
padding: 0.5em;
color: black;

}

input[value=Submit]:hover {
background-color: orange;
background-color:linear-gradient(7deg, rgba(255,41,149,1) 0%, rgba(94,0,255,1) 100%) ;
}

.main-container {
Expand All @@ -53,24 +54,4 @@ input[value=Submit]:hover {
color: turquoise;
}

/* h1 {
background-color: green;
}

div {
background-color: lightblue;
}

p {
background-color: yellow;
}
.container {
position: absolute;
right: 25px;
top: 0;
color: #000;
font-size: 35px;
font-weight: bold;
}
body{background-image: url("paper.gif");
} */