????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.191 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/appsrv.astacus.se/apps/school/www_old10/Html/LevelG/Category2/ |
Upload File : |
<!doctype html>
<html>
<head>
<title>Write about cereals, grains, pulses and nuts food group</title>
<script type="text/javascript" src="../../../js/allScriptsForLessonsHtml.js"></script>
<script>
function page_preLoad()
{
s_setDeviceTypeLevelCategoryLastLesson(Level.G, Category.No2);
s_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta');
s_setHeaderTable('id_tblHeader', s_title_page, s_getSubTitle(Level.G, Category.No2, 29), true, true);
s_setFooterTable('id_tblFooter', true, true, true, true, true);
var ids_texts = new Array();
for (var textId = 1; textId <= 27; textId++)
{
ids_texts.push('id_td_text' + textId);
}
var ids_textBoxes = new Array();
var ids_td_textboxes = new Array();
for (var textBoxId = 1; textBoxId <= 19; textBoxId++)
{
var idTdTextBox = 'id_td_textBox' + textBoxId;
var idTextBox = 'id_textBox' + textBoxId;
var eTextBox = document.getElementById(idTextBox);
eTextBox.value = '';
if (s_currentDeviceType == s_DeviceTypeAndroidDeviceApp)
{
eTextBox.style.border = 'solid 2px black';
}
ids_textBoxes.push(idTextBox);
ids_td_textboxes.push(idTdTextBox);
}
var ids_All = ids_texts.concat(ids_td_textboxes);
s_adjust_fontSize_for_ids_all_devices(ids_All, 70);
s_adjust_fontSize_for_ids_all_devices(ids_textBoxes, 60);
var id_tables_array = ['id_table2', 'id_table3'];
s_border_collapse_for_tables_except_android(id_tables_array);
}
function page_onLoad()
{
}
function btnValidate_click()
{
var eTextBox1 = document.getElementById('id_textBox1');
var eTextBox2 = document.getElementById('id_textBox2');
var eTextBox3 = document.getElementById('id_textBox3');
var eTextBox4 = document.getElementById('id_textBox4');
var eTextBox5 = document.getElementById('id_textBox5');
var eTextBox6 = document.getElementById('id_textBox6');
var eTextBox7 = document.getElementById('id_textBox7');
var eTextBox8 = document.getElementById('id_textBox8');
var eTextBox9 = document.getElementById('id_textBox9');
var eTextBox10 = document.getElementById('id_textBox10');
var eTextBox11 = document.getElementById('id_textBox11');
var eTextBox12 = document.getElementById('id_textBox12');
var eTextBox13 = document.getElementById('id_textBox13');
var eTextBox14 = document.getElementById('id_textBox14');
var eTextBox15 = document.getElementById('id_textBox15');
var eTextBox16 = document.getElementById('id_textBox16');
var eTextBox17 = document.getElementById('id_textBox17');
var eTextBox18 = document.getElementById('id_textBox18');
var eTextBox19 = document.getElementById('id_textBox19');
if ((eTextBox1.isCorrect == true) &&
(eTextBox2.isCorrect == true) &&
(eTextBox3.isCorrect == true) &&
(eTextBox4.isCorrect == true) &&
(eTextBox5.isCorrect == true) &&
(eTextBox6.isCorrect == true) &&
(eTextBox7.isCorrect == true) &&
(eTextBox8.isCorrect == true) &&
(eTextBox9.isCorrect == true) &&
(eTextBox10.isCorrect == true) &&
(eTextBox11.isCorrect == true) &&
(eTextBox12.isCorrect == true) &&
(eTextBox13.isCorrect == true) &&
(eTextBox14.isCorrect == true) &&
(eTextBox15.isCorrect == true) &&
(eTextBox16.isCorrect == true) &&
(eTextBox17.isCorrect == true) &&
(eTextBox18.isCorrect == true) &&
(eTextBox19.isCorrect == true))
{
s_show_claps_animation('s_id_div_message');
}
}
function validateSentence(id_textBox)
{
var eTextBox = document.getElementById(id_textBox);
var inputText = eTextBox.value;
var enteredTextArray = inputText.split(" ");
var trimmedText = '';
for (var textIndex = 0; textIndex < enteredTextArray.length; textIndex++)
{
if (enteredTextArray[textIndex].trim() != '')
{
trimmedText += enteredTextArray[textIndex].trim() + ' ';
}
}
trimmedText = trimmedText.trim().toUpperCase();
var correctText = getCorrectText(id_textBox);
eTextBox.isCorrect = (trimmedText == correctText) ? true : false;
}
function getCorrectText(id_textBox)
{
var correctText = '';
if (id_textBox == 'id_textBox1')
{
correctText = 'CEREALS, GRAINS, PULSES AND NUTS';
}
else if (id_textBox == 'id_textBox2')
{
correctText = 'CEREALS';
}
else if (id_textBox == 'id_textBox3')
{
correctText = 'GRAINS';
}
else if (id_textBox == 'id_textBox4')
{
correctText = 'ENERGY';
}
else if (id_textBox == 'id_textBox5')
{
correctText = 'WHEAT';
}
else if (id_textBox == 'id_textBox6')
{
correctText = 'RICE';
}
else if (id_textBox == 'id_textBox7')
{
correctText = 'OATS';
}
else if (id_textBox == 'id_textBox8')
{
correctText = 'CORN';
}
else if (id_textBox == 'id_textBox9')
{
correctText = 'BLACK GRAM';
}
else if (id_textBox == 'id_textBox10')
{
correctText = 'BENGAL GRAM';
}
else if (id_textBox == 'id_textBox11')
{
correctText = 'GREEN GRAM';
}
else if (id_textBox == 'id_textBox12')
{
correctText = 'CHICKPEAS';
}
else if (id_textBox == 'id_textBox13')
{
correctText = 'ALMOND, PISTA';
}
else if (id_textBox == 'id_textBox14')
{
correctText = 'RICE';
}
else if (id_textBox == 'id_textBox15')
{
correctText = 'ROTI';
}
else if (id_textBox == 'id_textBox16')
{
correctText = 'DAL';
}
else if (id_textBox == 'id_textBox17')
{
correctText = 'BREAD';
}
else if (id_textBox == 'id_textBox18')
{
correctText = 'IDLY';
}
else if (id_textBox == 'id_textBox19')
{
correctText = 'NOODLES';
}
return (correctText);
}
function btnHome_click()
{
s_btnHomeCategories_click('LevelG');
}
function btnPrevious_click()
{
window.location = 'LevelGCat2Lesson28.html';
}
function btnNext_click()
{
window.location = 'LevelGCat2Lesson30.html';
}
</script>
</head>
<body onload="page_onLoad()">
<div id="s_id_div_message"></div>
<table id="id_tblMainiPadBody" border="1px" cellspacing="0" cellpadding="0">
<tr height="8%">
<td>
<div id="id_tblHeader"></div>
</td>
</tr>
<tr height="*" data-role="page"> <!-- for swiping left and right especially for Android device -->
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" height="100%" border="0" cellpadding="2%" cellspacing="0">
<tr height="50%">
<td>
<table id="id_table2" width="100%" height="100%" border="1" cellpadding="0" cellspacing="0">
<tr height="25%">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_text1" class="s_style_heading" width="80%" align="left"><u>Write about first food group we should eat daily</u>:</td>
<td width="*" align="left">
<img src="../../../img/LevelG/Category2/LevelGCat2Lesson29/foodGroup1.png" width="90%" alt="" draggable="false"/>
</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td style="padding-left:2%">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_text2" class="s_style_textBlack" width="45%" align="left">The important food group is</td>
<td id="id_td_textBox1" width="*" align="center">
<textarea id="id_textBox1" class="s_style_droppable_dash" style="width:95%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox1')">
</textarea>
</td>
<td id="id_td_text3" class="s_style_textBlack" width="2%" align="left">.</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_text4" class="s_style_textBlack" width="38%" align="left">group in food pyramid.</td>
<td id="id_td_textBox2" width="17%" align="center">
<textarea id="id_textBox2" class="s_style_droppable_dash" style="width:90%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox2')">
</textarea>
</td>
<td id="id_td_text5" class="s_style_textBlack" width="8%" align="center">and</td>
<td id="id_td_textBox3" width="17%" align="center">
<textarea id="id_textBox3" class="s_style_droppable_dash" style="width:90%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox3')">
</textarea>
</td>
<td id="id_td_text6" class="s_style_textBlack_padding_left" width="*" align="left">contains</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_text7" class="s_style_textBlack" width="75%" align="left">carbohydrates, vitamins, minerals and proteins which give us</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_textBox4" width="20%" align="center">
<textarea id="id_textBox4" class="s_style_droppable_dash" style="width:90%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox4')">
</textarea>
</td>
<td id="id_td_text8" class="s_style_textBlack" width="*" align="left">.</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_textBox5" width="20%" align="center">
<textarea id="id_textBox5" class="s_style_droppable_dash" style="width:90%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox5')">
</textarea>
</td>
<td id="id_td_text9" class="s_style_textBlack" width="3%" align="left">,</td>
<td id="id_td_textBox6" width="20%" align="center">
<textarea id="id_textBox6" class="s_style_droppable_dash" style="width:90%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox6')">
</textarea>
</td>
<td id="id_td_text10" class="s_style_textBlack" width="3%" align="left">,</td>
<td id="id_td_textBox7" width="20%" align="center">
<textarea id="id_textBox7" class="s_style_droppable_dash" style="width:90%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox7')">
</textarea>
</td>
<td id="id_td_text11" class="s_style_textBlack" width="*" align="left">,</td>
<td id="id_td_text12" class="s_style_textBlack" width="13%" align="left"> barley,</td>
<td id="id_td_textBox8" width="20%" align="left">
<textarea id="id_textBox8" class="s_style_droppable_dash" style="width:80%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox8')">
</textarea>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_text13" class="s_style_textBlack" width="*" align="left">are some of
the cereals and grains. Lentils,</td>
<td id="id_td_textBox9" width="25%" align="center">
<textarea id="id_textBox9" class="s_style_droppable_dash" style="width:90%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox9')">
</textarea>
</td>
<td id="id_td_text14" class="s_style_textBlack" width="5%" align="left">,</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_textBox10" width="30%" align="center">
<textarea id="id_textBox10" class="s_style_droppable_dash" style="width:90%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox10')">
</textarea>
</td>
<td id="id_td_text15" class="s_style_textBlack" width="5%" align="left">,</td>
<td id="id_td_textBox11" width="30%" align="center">
<textarea id="id_textBox11" class="s_style_droppable_dash" style="width:90%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox11')">
</textarea>
</td>
<td id="id_td_text16" class="s_style_textBlack" width="*" align="left">,</td>
<td id="id_td_textBox12" width="30%" align="center">
<textarea id="id_textBox12" class="s_style_droppable_dash" style="width:90%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox12')">
</textarea>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_text17" class="s_style_textBlack" width="55%" align="left">are some of the pulses .</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_text27" class="s_style_textBlack" width="14%" align="left">Cashew,</td>
<td id="id_td_textBox13" width="25%" align="center">
<textarea id="id_textBox13" class="s_style_droppable_dash" style="width:90%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox13')">
</textarea>
</td>
<td id="id_td_text18" class="s_style_textBlack" width="*" align="left">, are some of the nuts . The foods we</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_text19" class="s_style_textBlack" width="43%" align="left"> make out of this group are</td>
<td id="id_td_textBox14" width="25%" align="left">
<textarea id="id_textBox14" class="s_style_droppable_dash" style="width:90%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox14')">
</textarea>
</td>
<td id="id_td_text20" class="s_style_textBlack" width="*" align="left">,</td>
<td id="id_td_textBox15" width="25%" align="center">
<textarea id="id_textBox15" class="s_style_droppable_dash" style="width:90%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox15')">
</textarea>
</td>
<td id="id_td_text21" class="s_style_textBlack" width="3%" align="left">,</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_textBox16" width="20%" align="center">
<textarea id="id_textBox16" class="s_style_droppable_dash" style="width:90%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox16')">
</textarea>
</td>
<td id="id_td_text22" class="s_style_textBlack" width="3%" align="left">,</td>
<td id="id_td_textBox17" width="20%" align="center">
<textarea id="id_textBox17" class="s_style_droppable_dash" style="width:90%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox17')">
</textarea>
</td>
<td id="id_td_text23" class="s_style_textBlack" width="12%" align="left">, dosa,</td>
<td id="id_td_textBox18" width="20%" align="center">
<textarea id="id_textBox18" class="s_style_droppable_dash" style="width:90%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox18')">
</textarea>
</td>
<td id="id_td_text24" class="s_style_textBlack" width="30%" align="left">, pongal, corn</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_text25" class="s_style_textBlack" width="12%" align="left">flakes,</td>
<td id="id_td_textBox19" width="20%" align="center">
<textarea id="id_textBox19" class="s_style_droppable_dash" style="width:90%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox19')">
</textarea>
</td>
<td id="id_td_text26" class="s_style_textBlack_padding_left" width="*" align="left">etc.</td>
</tr>
</table>
</td>
</tr>
<tr height="5%">
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr height="8%">
<td>
<div id="id_tblFooter"></div>
</td>
</tr>
</table>
<script>
page_preLoad();
</script>
</body>
</html>