Commit 5ac0c4e0 authored by Ratnadeep Rajendra Kharade's avatar Ratnadeep Rajendra Kharade
Browse files

added feedback button and toggle feedback form functionality

parent 3692a651
Pipeline #1065 passed with stages
in 8 seconds
...@@ -78,15 +78,20 @@ ...@@ -78,15 +78,20 @@
<div> <div>
<button onclick="calculateReadingTime()">Calculate</button> <button onclick="calculateReadingTime()">Calculate</button>
</div> </div>
<div> <div id="calculate-time-element" style="display: none;">
<div id="calculate-time-element" class="title" style="display: none;"> <div class="title">
<h2>Estimated Reading Time: 5 min</h2> <h2>Estimated Reading Time: 5 min</h2>
</div> </div>
<div>
Send your feedback on: ybehira@yahoo.com
<button onclick="showFeedbackForm()">Feedback</button>
</div>
</div> </div>
</div> </div>
<div> <div id="feedback-form" style="display: none;">
<div class="title" style="padding-bottom: 12px; border-bottom: 1px solid #dddddd; margin-bottom: 10px;"> <div class="title" style="padding-bottom: 12px; border-bottom: 1px solid #dddddd; margin-bottom: 10px;">
<h3>Please provide feedback</h3> <h3>Feedback Form</h3>
</div> </div>
<div> <div>
<form action="mailto:ratnadeepkharade@gmail.com" method="GET" target="_blank"> <form action="mailto:ratnadeepkharade@gmail.com" method="GET" target="_blank">
...@@ -159,6 +164,11 @@ ...@@ -159,6 +164,11 @@
x.style.display = "block"; x.style.display = "block";
} }
function showFeedbackForm() {
let x = document.getElementById('feedback-form');
x.style.display = "block";
}
</script> </script>
<!-- KEINE ÄNDERUNGEN NACH DIESER ZEILE --> <!-- KEINE ÄNDERUNGEN NACH DIESER ZEILE -->
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment