From 231a018c8cdabaecec76a7fc67c2c62fe34cf78e Mon Sep 17 00:00:00 2001 From: Asabeneh Date: Wed, 22 Jan 2020 11:00:55 +0200 Subject: [PATCH] day 21 --- 21_Day/21_day_dom.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/21_Day/21_day_dom.md b/21_Day/21_day_dom.md index 9d917ccc..aac1ecfd 100644 --- a/21_Day/21_day_dom.md +++ b/21_Day/21_day_dom.md @@ -272,9 +272,9 @@ titles.forEach((title, i) => { As you have notice, the properties of css when we use it in JavaScript is going to be a camelCase. The following CSS properties change from background-color to backgroundColor, font-size to fontSize, font-family to fontFamily, margin-bottom to marginBottom. -Now, we have covered most DOM topics, tomorrow I will add some contents and I will do proof reading. +--- -🌕 Now, you are full charged with a super power, you have completed the most important part of the challenge and in general JavaScript. You learned DOM and now you have the capability to build and develop applications. Now do some exercises for your brain and for your muscle. +🌕 Now, you are fully charged with a super power, you have completed the most important and challenging part of the challenge and in general JavaScript. You learned DOM and now you have the capability to build and develop applications. Now do some exercises for your brain and for your muscle. ## Exercises @@ -324,6 +324,12 @@ Now, we have covered most DOM topics, tomorrow I will add some contents and I wi 1. Develop the following application, use the following HTML elements to get started with. You will get the same code on starter folder. Apply all the styles and functionality using JavaScript only. +- The year color is changing every 1 second +- The date and time background color is changing every on seconds +- Completed challenge has background green +- Ongoing challenge has background yellow +- Coming challenges have background red + ```html