Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,154,159 members, 7,821,937 topics. Date: Wednesday, 08 May 2024 at 10:15 PM

Front-end Dev Assignment Issue. - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Front-end Dev Assignment Issue. (440 Views)

To The Front End Dev Tech Gurus / Web Applications: The Difference Between A Front-end Designer & A Back-end Dev. / Hiring!!! Front End Dev (2) (3) (4)

(1) (Reply) (Go Down)

Front-end Dev Assignment Issue. by KodakBlack: 11:40am On Jun 30, 2023
Good day everyone. I recently started a front-end development and was given the assignment to write a CSS code, which I was more than happy to try.

It has been two days, and I have been trying b it I need an 80% pass mark. Each time I try I get closer but I haven’t gotten closer or past the 73%.

I’m unsure what I’m doing wrong because I believe everything I wrote was all right.

Now, here’s the prompt I keep getting;

✗ The 'NEW' labels within <h2> tags should have a colour of '#fa9f42' (+ 1 related test)
✗ The element with the ID 'copyright' should have a font-size of 0.75em.

I have attached the Readme(instruction) HTML file and the CSS file. Any help/advice would be welcome.

Re: Front-end Dev Assignment Issue. by arejibadz(m): 3:21pm On Jun 30, 2023
were's the code ?
Re: Front-end Dev Assignment Issue. by KodakBlack: 3:48pm On Jun 30, 2023
I attached the files with the post, sir.

arejibadz:
were's the code ?
Re: Front-end Dev Assignment Issue. by arejibadz(m): 6:58pm On Jun 30, 2023
KodakBlack:
I attached the files with the post, sir.

you cant view this on live show scrren shot
Re: Front-end Dev Assignment Issue. by Deicide: 9:55pm On Jun 30, 2023
The first one is

#header2 > span {
color: #fa9f42;
}


For the second one you are correct, but could also do it like this

.center-text > #copyright {
font-size: 0.75em;
}
Re: Front-end Dev Assignment Issue. by KodakBlack: 2:57am On Jul 01, 2023
Thank you sir, but it is still saying the same thing;

✗ The 'NEW' labels within <h2> tags should have a color of '#fa9f42' (+ 1 related test)
✗ The element with the ID 'copyright' should have a font-size of 0.75em

Deicide:
The first one is

#header2 > span {
color: #fa9f42;
}


For the second one you are correct, but could also do it like this

.center-text > #copyright {
font-size: 0.75em;
}

(1) (Reply)

Backend Developer Handling CSS / . / How To Create Web 2.0 Backlinks That Actually Work For SEO

(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. 11
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.