Commit 4ddfbc5f authored by Ratnadeep Rajendra Kharade's avatar Ratnadeep Rajendra Kharade
Browse files

moved error styles in css file

parent 467de020
......@@ -45,7 +45,7 @@
<textarea oninput="handleTextAreaChange()" placeholder="Enter text here..." class="box-input"
name="textarea" id="manual-text-entry" cols="90" rows="5" value=""></textarea>
<div id="textarea-validation" style="color: red;display: none;">Please enter text.</div>
<div id="textarea-validation" class="error-message">Please enter the text.</div>
<label for="calculatedTextCharacters">Total characters in text: </label>
......@@ -57,7 +57,7 @@
<label for="inputTextCharacters">Enter number of characters: </label>
<input oninput="handleCharacterInputChange()" placeholder="e.g. 120" class="box-input" type="number"
id="inputTextCharacters" name="inputTextCharacters" value="">
<div id="textCharacters-validation" style="color: red;display: none;">Please enter number of characters.</div>
<div id="textCharacters-validation" class="error-message">Please enter number the of characters.</div>
......@@ -69,7 +69,7 @@
<option value="Third Year">Third Year</option>
<option value="Fourth Year">Fourth Year</option>
<div id="readerLevel-validation" style="color: red;display: none;">Please select reader level.</div>
<div id="readerLevel-validation" class="error-message">Please select the reader level.</div>
<label for="readerCategory">Reader Category:</label>
......@@ -80,7 +80,7 @@
<option value="Good-ability group">Good-ability group</option>
<option value="Average-ability group">Average-ability group</option>
<div id="readerCategory-validation" style="color: red;display: none;">Please select reader category.</div>
<div id="readerCategory-validation" class="error-message">Please select the reader category.</div>
Markdown is supported
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