Ternary project

Ukončen Zveřejněno před 5 lety K zaplacení v momentě doručení
Ukončen K zaplacení v momentě doručení

In this exercise, you will be completing each part within the same JavaScript file provided.

Part 1

Create a switch..case statement to check against highSchoolGrade and set yourGrade that accomplishes the following:

if 9 assign "Freshman" to the yourGrade variable

if 10 assign "Sophomore" to the yourGrade variable

if 11 assign "Junior" to the yourGrade variable

if 12 assign "Senior" to the yourGrade variable

include a default case that assigns "Invalid" to yourGrade.

Part 2

Leverage your knowledge of the JavaScript programming language to convert the following if..else into a ternary.

[login to view URL] file:

function name() {

if (firstName === "John") {

[login to view URL]("demo").innerHTML = "Hello John!";

}

else {

[login to view URL]("demo").innerHTML = "Hello Human!";

}

}

HTML Java JavaScript jQuery / Prototype PHP

Identifikační číslo projektu: #17972121

O projektu

17 nabídek Projekt na dálku Aktivní před 5 lety

17 Freelnceři na tento projekt zveřejňují nabídky v průměru $18

dobreiiita

Hello I am Java and Javascript expert and interested in this project. Please communicate to discuss further. Regards Anshu

$30 USD za 1 den
(431 Recenzí)
7.5
kishan1383

Hello, I have understood your requirement and I am full time experienced web developer. If you want to check my previous work then you can check my portfolio for your reference, I have done many project in PHP and al Další

$30 USD za 1 den
(12 Recenzí)
3.8
jeraldpunx112

A professional full stack developer for almost 5 years, Graduated of Bachelor of Science in Information Technology and awarded as one of best IT programmer and best IT projects in the institute. Made a lot of big proje Další

$25 USD za 1 den
(11 Recenzí)
3.5
nrislam10

Hi, I think i can make your js file. please come in chat so that we can discuss about details. With best regards

$10 USD za 1 den
(5 Recenzí)
1.9
bugraaydingoz

Hi, I understand you need to convert your code to ternary operator. I am an JS expert and I can finish it quickly. Send me a pm if you are interested. Best Regards, Bugra

$15 USD za 1 den
(1 recenze)
0.4
amitkrmaurya321

It is very simple to do. I will give you the code with commenting and proper explanation.

$15 USD za 1 den
(0 Recenzí)
0.0
AppTiwari

Dear respected, Please allow me to do this task. It's very easy task for me. I have eight years of experience in web development. I will complete this task effectively. I want to do it right now. Thank you.

$13 USD za 1 den
(0 Recenzí)
0.0
jmpena1975

Greetings. I'm back in the programming's world and I want to gain experience again, that's why I offer a low cost. Test my skill and you will not regret it.

$20 USD za 2 dní
(0 Recenzí)
0.0
emilagren

I'm a frontend developer from Sweden who has been working daily with javascript for several years now. I have a 5-year education degree in engineering/programming. I would gladly help you with this task. A great solut Další

$15 USD za 1 den
(0 Recenzí)
0.0
cms2350

I can certainly help with your JavaScript project. I can complete this project in a very short amount of time.

$20 USD za 1 den
(0 Recenzí)
0.0
mmedmaalej

Hello, I'm a computer scientist and software engineer. I Interviewed with top-tech companies in advanced rounds. I work mainly in Java and done a lot of projects using that language (web/ mobile). Let's chat late Další

$25 USD za 1 den
(0 Recenzí)
0.0