Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,209,713 members, 8,006,972 topics. Date: Tuesday, 19 November 2024 at 01:31 PM |
Nairaland Forum / Nairaland / General / Jobs/Vacancies / Andela: IT Training And Job (644905 Views)
Letter To All Fresh Graduates and Job seekers / Andela: IT Training And Job - Jobs/vacancies / Similarities Between Football And Job (2) (3) (4)
(1) (2) (3) ... (198) (199) (200) (201) (202) (203) (204) ... (263) (Reply) (Go Down)
Re: Andela: IT Training And Job by katako: 2:20pm On Aug 22, 2018 |
I beg somebody to help me with homestudy link I beg |
Re: Andela: IT Training And Job by fxdrizzle(m): 4:29pm On Aug 22, 2018 |
RobinLongstride:hell no it doesn't |
Re: Andela: IT Training And Job by fxdrizzle(m): 4:36pm On Aug 22, 2018 |
Solomon27:nice. However I tried it on my phone and it kept telling me I got the correct answer even when I typed in gibberish or left it blank. You might want to look into that. |
Re: Andela: IT Training And Job by Funkypunky: 6:13pm On Aug 22, 2018 |
Solomon27: Nice one bro...At a point i entered nothing and it still output correct...So might need to check that.. Awesome |
Re: Andela: IT Training And Job by Solomon27(m): 6:27pm On Aug 22, 2018 |
fxdrizzle: Thanks. All corrected! |
Re: Andela: IT Training And Job by Solomon27(m): 6:27pm On Aug 22, 2018 |
Funkypunky: Thanks. All corrected! |
Re: Andela: IT Training And Job by Solomon27(m): 6:30pm On Aug 22, 2018 |
I was trying to make the input case-insensitive, so I tried: if (response.toLocaleLowerCase === answer.toLocaleLowerCase) Obviously didn't work! Any suggestion? |
Re: Andela: IT Training And Job by benfluleck: 6:33pm On Aug 22, 2018 |
Solomon27: Turn the input to LowerCase regardless and then now you know whatever you are comparing with is in lowercase or you can use regex ignore case. |
Re: Andela: IT Training And Job by 2O17: 6:44pm On Aug 22, 2018 |
Solomon27:add parenthesis after toLowerCase i.e it should be toLowerCase() |
Re: Andela: IT Training And Job by WhileTrue: 6:48pm On Aug 22, 2018 |
Avast: Yes |
Re: Andela: IT Training And Job by Solomon27(m): 6:56pm On Aug 22, 2018 |
Re: Andela: IT Training And Job by Lagosian29(m): 7:06pm On Aug 22, 2018 |
Solomon27: Grab d input id using Dom Then convert to Lowe case |
Re: Andela: IT Training And Job by DonPikko: 7:59pm On Aug 22, 2018 |
Solomon27:nice, but i don't think there is need to req for user's firstname, lastname, gender, since it doesn't serve any purpose, also try to randomize the riddles |
Re: Andela: IT Training And Job by guente02(m): 8:35pm On Aug 22, 2018 |
If na like so person dey get credit alerts life for better na. For a start that's awesome. |
Re: Andela: IT Training And Job by Solomon27(m): 9:06pm On Aug 22, 2018 |
DonPikko: There is... It welcomes you with the full name and a appropriate address which comes from the gender... I will see to the randomization! |
Re: Andela: IT Training And Job by Solomon27(m): 9:07pm On Aug 22, 2018 |
guente02: |
Re: Andela: IT Training And Job by Nobody: 10:09pm On Aug 22, 2018 |
fxdrizzle:Thanks |
Re: Andela: IT Training And Job by Judahudoh: 3:11am On Aug 23, 2018 |
I want to start preparing for cycle 38, I have received mail for it already. |
Re: Andela: IT Training And Job by Solomon27(m): 5:53am On Aug 23, 2018 |
Judahudoh: Cool |
Re: Andela: IT Training And Job by maigemuu: 7:01am On Aug 23, 2018 |
Just completed my home study test yesterday, how long till the next phase of the test, what am I to expect again if successful? |
Re: Andela: IT Training And Job by Lagosian29(m): 8:19am On Aug 23, 2018 |
Re: Andela: IT Training And Job by HolyCoder: 10:03am On Aug 23, 2018 |
Solomon27: I love your program. Particularly I love the background-colour you've used - it's beautiful! Here are a few things I think you should look into: 1. You should try to make a custom dialog-box for displaying your quiz-questions and collecting user-inputs. The default dialog displayed by the 'prompt' keyword provides the user with a checkbox, which (when selected) prevents the page from creating additional dialogs. And if that happens, your program becomes completely useless. 2. I noticed (from your code) that you're only checking if the user's gender is 'male'; in which case you welcome the user with: 'You are welcome Mr....', otherwise you say 'You are welcome Ms....'. Now, what happens is this: If I enter 'olodo' as my gender, it says 'You are welcome Ms...'. Also, even if I enter the string 'Male or MALE' as my gender, I'm welcomed as female. It means your program doesn't properly cater to my gender if I enter anything other than 'male' as my gender. Here's what I think you should do: - Specifically check to see if the user has entered either string 'male' or 'female' as gender, and then welcome him/her appropriately. If the user's gender is neither 'male' nor 'female', you should display a generic welcome-message. You could modify your code to do stuff like this: if (gender.toLowerCase() == "male" ) { alert(`You are welcome Mr. ${firstName} ${lastName}, here are the riddles`); } else if (gender.toLowerCase() == "female" ) { alert(`You are welcome Ms. ${firstName} ${lastName}, here are the riddles`); } else { alert(`You are welcome ${firstName} ${lastName}, here are the riddles`); } of course, you could also replace the 'if-else-if' construct with a 'switch' construct. 3. Finally, I notice you're using the statement-terminator (';') in a manner that makes it look like you don't really understand its purpose. Yes, the program works, but it sends a negative message. As an example, consider the following snippets I've extracted from your source: if (gender == "male" ){ alert(`You are welcome Mr. ${firstName} ${lastName}, here are the riddles`); }else { alert(`You are welcome Ms. ${firstName} ${lastName}, here are the riddles`); }; What exactly is this semicolon doing here? How about this? function start(quiz){ let score = 0; // main game loop for (const [question, answer] of quiz){ const response = ask(question); check(response, answer); }; Again, what is this semicolon doing here? //end of main game loop It's obvious those are not typos, because the pattern is repeated all over your source. Besides those, I think you've done a very good job! Blessings... 1 Like 1 Share |
Re: Andela: IT Training And Job by HolyCoder: 10:07am On Aug 23, 2018 |
Funkypunky: My brother, how far? It's me; we met at the EPIC Tower (for the Cycle 36 Interview) and walked home together. How are you doing? |
Re: Andela: IT Training And Job by Solomon27(m): 10:33am On Aug 23, 2018 |
HolyCoder: Wow, I'm obliged! Thanks for your analysis. Will see to your suggestions. Thank you! What do you mean by custom dialog? Like Form? |
Re: Andela: IT Training And Job by maigemuu: 11:29am On Aug 23, 2018 |
Hi friends, Just completed my home study test yesterday, how long till the next phase of the test, what am I to expect again if successful? What's the next line of action. Abeg I be newbie...just trying to learn JavaScript. I will appreciate your response. |
Re: Andela: IT Training And Job by fxdrizzle(m): 1:13pm On Aug 23, 2018 |
maigemuu:cycle 37 right? technical assessment is next. It may take a week or two sha. Keep learning until then. |
Re: Andela: IT Training And Job by Nobody: 1:22pm On Aug 23, 2018 |
fxdrizzle: Please could you tell me what these things entail? - Personality Test - Home Study Test - Technical Assessment Test I applied for cycle 38. |
Re: Andela: IT Training And Job by fxdrizzle(m): 1:51pm On Aug 23, 2018 |
RobinLongstride:There's really nothing to the personality test. Just try to answer it as honestly as possible. The home study test is a Google form test which has like 30 questions (multichoice). They are not timed and it's better to study the home study curriculum well, Google too can be of help for tricky parts. It's better you take your time to do it. If you pass this phase, you are sent another technical test on qualified io(multichoice with few coding questions). It's timed, but you won't run out of time After the qualified io, if you did well, you'll be invited for an interview(you'll submit a code challenge before the interview, and defend it to the interviewers). If the interview is successful, you get selected for boot camp and so on.... Note: if you've not gotten your self right with programming, you shouldn't go to boot camp, but it's not too late to start working on yourself rigorously. |
Re: Andela: IT Training And Job by Nobody: 2:18pm On Aug 23, 2018 |
fxdrizzle:One last thing please. What then is the nature of the other questions? |
Re: Andela: IT Training And Job by fxdrizzle(m): 2:37pm On Aug 23, 2018 |
RobinLongstride:I'm yet to find out. I haven't taken the technical test yet |
Re: Andela: IT Training And Job by Nobody: 3:14pm On Aug 23, 2018 |
fxdrizzle:Oh I see What kind of questions are in the home study test then? |
Re: Andela: IT Training And Job by DonPikko: 3:18pm On Aug 23, 2018 |
RobinLongstride:why don't you attempt it first to know |
(1) (2) (3) ... (198) (199) (200) (201) (202) (203) (204) ... (263) (Reply)
How To Apply For Nigeria Immigration Service (NIS) Recruitment 2017 / Federal Road Safety Commission 2018 Recruitment: How To Apply / FIRS To Recruit 1,250 New Staff
Viewing this topic: 1 guest(s)
(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. 63 |