Last active
June 4, 2020 01:58
-
-
Save basilche/66393623d4e836c809bfd1236c41515d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Text Processing</title> | |
<!-- Import our css styles --> | |
<link rel="stylesheet" href="styles.css"> | |
</head> | |
<body> | |
<div class="main"> | |
<h2 class="main-header">Comment text analysis</h2> | |
<section class="main-input-comment"> | |
<label for="comment">Write your comment here:</label> | |
<textarea | |
name="comment" | |
id="comment" | |
class="main-comment-area" | |
placeholder="Your comment..." | |
> | |
</textarea> | |
<button class="main-analyze-button" onclick="onAnalyzeButtonClick()">Analyze...</button> | |
</section> | |
<section class="main-result"> | |
<p id="main-result-block" class="main-result-block invisible"> | |
<span>Result:</span> | |
<span id="result"></span> | |
</p> | |
</section> | |
</div> | |
<!-- Import axios library --> | |
<script src="https://unpkg.com/axios/dist/axios.min.js"></script> | |
<!-- Querystring library --> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/qs/6.7.0/qs.min.js"></script> | |
<!-- Import our JavaScript file --> | |
<script src="text-processing.js"></script> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment