Prerequisite to get started react.js:
--
-
- HTML -
- CSS -
- JavaScript -
+ Prerequisite to get started{' '} + + react.js + + : +
+- {techs}
diff --git a/solutions/day-02/index.html b/solutions/day-02/index.html index fe277e8..b808d2b 100644 --- a/solutions/day-02/index.html +++ b/solutions/day-02/index.html @@ -101,38 +101,77 @@ // JSX element + const welcome = 'Welcome to 30 Days Of React' + const title = 'Getting Started React' + const subtitle = 'JavaScript Library' + const author = { + firstName: 'Derrek', + lastName: 'Gass' + } + const date = 'Oct 15, 2020' + const numOne = 3 + const numTwo = 2 + + + const yearBorn = 1988 + const currentYear = new Date().getFullYear() + const age = currentYear - yearBorn + const personAge = ( +
+ {' '} + {author.firstName} {author.lastName} is {age} years old +
+ ) + + const techs = ['HTML', 'CSS', 'JavaScript'] - const header = (Derrek Gass
- Oct 2, 2020 +Student: {author.firstName} {author.lastName}
+ Date: {date}+ {numOne} + {numTwo} = {numOne + numTwo} +
+ ) + + + + // JSX element, main + const main = (Prerequisite to get started react.js:
-+ Prerequisite to get started{' '} + + react.js + + : +
+