Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,161,946 members, 7,848,832 topics. Date: Monday, 03 June 2024 at 10:49 AM

Oyadanoz's Posts

Nairaland Forum / Oyadanoz's Profile / Oyadanoz's Posts

(1) (2) (3) (of 3 pages)

Programming / Please Someone Should Help Me With This Code. by oyadanoz: 12:06pm On Sep 05, 2017
Please i am building a computer based exam, and but am having issue with my javascript file its not reflecting, please help view the source code below, please i will appreciate your comments.

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
div#test{ border:#000 1px solid; padding:10px 40px 40px 40px; }
</style>
<script>
var pos = 0, test, test_status, question, choice, choices, chA, chB, chC, correct = 0;
var questions = [
["What is 10 + 4?", "12", "14", "16", "B" ],
["What is 20 - 9?", "7", "13", "11", "C" ],
["What is 7 x 3?", "21", "24", "25", "A" ],
["What is 8 / 2?", "10", "2", "4", "C" ]
];
function _(x){
return document.getElementById(x);
}
function renderQuestion(){
test = _("test"wink;
if(pos >=questions.length){
test.innerHTML = "<h2>You got "+correct" of "+questions.length+" questions correct</h2>";
_("test_status"wink.innerHTML = "Test completed";
pos = 0;
correct = 0;
return false;
}
_("test_status"wink.innerHTML = "Question "+(pos+1)+" of "+questions.length;
question = questions[pos][0];
chA = questions[pos][1];
chB = questions[pos][2];
chC = questions[pos][3];
test.innerHTML = "<h3>"+question+"</h3>";
test.innerHTML += "<input type='radio' name='choices' value='A'> "+chA+"<br>";
test.innerHTML += "<input type='radio' name='choices' value='B'> "+chB+"<br>";
test.innerHTML += "<input type='radio' name='choices' value='C'> "+chC+"<br><br>";
test.innerHTML += "<button onclick='checkAnswer()'>Submit Answer</button>";
}
function checkAnswer(){
choices = document.getElementByName("choices"wink;
for(var i=0; i<choices.length; i++){
if(choices[i].checked){
choice = choices[i].value;
}
}
if(choice == questions[pos][4]){
correct++;
}
pos++;
renderQuestion();
}
window.addEventListener("load", renderQuestion, false);
</script>
</head>
<body>
<h2 id="test_status"></h2>
<div id="test"></div>
</body>

</html>
Business / Things To Consider That Will Help You As A Business Entrepreneur by oyadanoz: 12:02pm On Mar 10, 2017
There are basic things you need to know as an entrepreneur for your business or business ideas you share and create for family and friends to become independent, reliable and firm.

PLAN: This explains the title of business or as you may have it, the type or kind of business you will like to do

STRATEGY: This in simple words explains the tactics you intend to use for this business (style you wants in the business)

ORIENTATION: This is the guidelines you need to know before embarking on this business, fortification in reasoning is needed.

POSITION: This is where you admire to center the business arena for easy location, good vicinity in a secured environment.

EXPOSURE: This have to do with possible awareness for the varieties of goods or products you have with you and equally availalble for sale. This is also the (exposure) main point of focus among the five listed above, because it determines the quality of set of goods/ product you have in your domain.

It explains in more comprehensible way about how you advertise your products online.

Here, we have all you have been looking. We can advertise your goods/ products through any platform. Eg SOCIAL MEDIA, BULK SMS, ONLINEADVERT etc.

Visit this site below and get any kind of exposure for your product in any chosen platform.
http://www.hilandforum.com/forum/advertisers/36-how-to-advertise-on-hilandforum
For cheap AdSense ( for your business ), the solution is here check it out.

1 Share

Politics / Re: Osinbajo Remains Acting President As I Continue My Rest - President Buhari by oyadanoz: 11:48am On Mar 10, 2017
Lol
Sports / Ronaldo Hat-trick Downs Atletico, Extends Real Lead by oyadanoz: 1:04am On Nov 23, 2016
Cristiano Ronaldo
Cristiano Ronaldo’s hat-trick delivered Real Madrid’s first success over Atletico Madrid in La Liga for three years with a 3-0 win in the last meeting between the sides at Atletico’s Vicente Calderon.


Real now lead second-placed Barcelona by four points after the Catalans paid a heavy price for the absence of Lionel Messi and Luis Suarez in a 0-0 draw with nine-man Malaga earlier on Saturday.

A third league defeat in four games leaves Atletico’s title ambitions in tatters in their final season at the Calderon. Diego Simeone’s men are now nine points adrift of Real down in fifth.

Ronaldo struck the decisive spot-kick as Real edged Atletico on penalties in the Champions League final in May and was the match winner once more, albeit with a slight hint of fortune.

The Portuguese’s opener took a wicked deflection on its way past the excellent Jan Oblak.

Ronaldo doubled Real’s lead from the penalty spot 19 minutes from time before a brilliant Gareth Bale cross teed him up for

(1) (2) (3) (of 3 pages)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 40
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.