From 6e436a5b3ac14449816ca7bac907634735dba2c4 Mon Sep 17 00:00:00 2001 From: Ken Schaefer Date: Thu, 20 Apr 2023 06:46:25 -0500 Subject: [PATCH] css complete --- css-complete/sec2/index.html | 33 +++++++++++++++++++ css-complete/sec2/instructions.txt | 7 ++++ css-complete/sec2/main.css | 12 +++++++ css-complete/sec3/favicon.png | Bin 0 -> 1118 bytes css-complete/sec3/index.html | 26 +++++++++++++++ css-complete/sec3/main.css | 20 +++++++++++ php/getting-started/favicon.ico | Bin 0 -> 15406 bytes php/getting-started/form.php | 1 + react-complete-guide/react-complete-notes.md | 8 +++++ 9 files changed, 107 insertions(+) create mode 100644 css-complete/sec2/index.html create mode 100644 css-complete/sec2/instructions.txt create mode 100644 css-complete/sec2/main.css create mode 100644 css-complete/sec3/favicon.png create mode 100644 css-complete/sec3/index.html create mode 100644 css-complete/sec3/main.css create mode 100644 php/getting-started/favicon.ico diff --git a/css-complete/sec2/index.html b/css-complete/sec2/index.html new file mode 100644 index 0000000..c5c2f3a --- /dev/null +++ b/css-complete/sec2/index.html @@ -0,0 +1,33 @@ + + + + + + + CSS Course + + + +

Assignment - Selectors & Properties

+
    +
  1. Style the above <h1> tag to use any color of your choice and a sans-serif font.
  2. +
  3. Style all <code> tags to use the monospace font-family and have red text.
  4. +
  5. Use a class selector to ensure that the <code> elements in the second <li> element have a different color (e.g. green).
  6. +
  7. Switch the order of the rules you created and use the dev tools of your browser to understand how specifity resolves conflicts (for the <code> elements).
  8. +
  9. Set a default font (e.g. sans-serif) for the entire content of your page and use "Inheritance" to change the font of the <li> items, too.
  10. +
  11. Use a combinator to give all <li> elements but the first one (!) a black background and white text color (don't worry if the numbers disappear).
  12. +
  13. Use another combinator to now give all <li> inside an <ol> element a black background and white text color.
  14. +
+ + + + + + + + + + + + + diff --git a/css-complete/sec2/instructions.txt b/css-complete/sec2/instructions.txt new file mode 100644 index 0000000..6cc3aae --- /dev/null +++ b/css-complete/sec2/instructions.txt @@ -0,0 +1,7 @@ +1. Style the above

tag to use any color of your choice and a sans-serif font. +2. Style all tags to use the monospace font-family and have red text. +3. Use a class selector to ensure that the elements in the second
  • element have a different color (e.g. green). +4. Switch the order of the rules you created and use the dev tools of your browser to understand how specifity resolves conflicts (for the elements). +5. Set a default font (e.g. sans-serif) for the entire content of your page and use "Inheritance" to change the font of the
  • items, too. +6. Use a combinator to give all
  • elements but the first one (!) a black background and white text color (don't worry if the numbers disappear). +7. Use another combinator to now give all
  • inside an
      element a black background and white text color. \ No newline at end of file diff --git a/css-complete/sec2/main.css b/css-complete/sec2/main.css new file mode 100644 index 0000000..d43021b --- /dev/null +++ b/css-complete/sec2/main.css @@ -0,0 +1,12 @@ +h1 { + color: blue; + font-family: sans-serif; +} +code { + color: red; + font-family: monospace; +} +li + code { + color: green; + font-family: monospace; +} \ No newline at end of file diff --git a/css-complete/sec3/favicon.png b/css-complete/sec3/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..fc10fbad37ab1ad1062070f6ebbe898e05e5bcd2 GIT binary patch literal 1118 zcmbtQ?N3uz9DWMeks{-rR^7|x0uF)Ods}ErZzxzOlxDO7?EpoT(q3zWeX%X0W63o8 z1S1QKIo_sm1khwI3`iy<#w^=1lwmdpSrl{vqkPy{_M)498DY1M_z&!toO6D^bDliU zd7jQHlRj3oR|Fu|P@${g&-n0)j^y_&D$WcDUUgdP1NFvA*5+|Zt#(f{Ck?v1{5w!s z9Q0akEnI+T<{VD9hW!27=Op2@YsflCo)8i(>oYrPfYd}MibXbJmQQ_^; z&;0SjvxGP|AB&IoPnGJX`Rt+`TB8=2?2h@zx{IF${u+G=#=m{xXTI;Qs_$l_D()-xT8G7=*M~mwJ{4F{6d&MbL2& zMq*5ctXSkF;JsXYr$JFN=2dW$7?ERMii!R3rQp9?C?7ic!4>Q<-=- z2Olx$O~gh8WJy>R;x4e7j*uD~EWR%&d(eSN5k8E^XXQhWuj2u*o{f7B4707v=ffFX zRbV9%vxWGg7$wPA6XVl#j2dvS5te;>=e#ff*3q{#+it%Y~5&UH=J8*JTeJX_@a4L<(?&!KHi*E0MbEP-`Rh2x*!=wKO1z zjx2fWa1tpIMhju)wV^rmA%Ns}t&xd^f8rL2oa{n7ighNJg;_kHR3iAff#Ca)&eZ8Qn5 zsA^Nh)85z2c`EsBhn-vXw@sLz{IR>|(G#CJ{>~z|8u!?;+SN1Hv)7=@d{526zjSr6=7^E+MFmzt>%J?lp5|f(MH{W}%a?Ua?T<$&BxI`R2 zHk5N9>&l6)=X;fNf8kIgw zMcU^|qmna6lgAe9_R)-b$wKDY2#QFlNjzBg5TT6R%G~SEpXTkuP-fDNmo&ZoFW}8l A-2eap literal 0 HcmV?d00001 diff --git a/css-complete/sec3/index.html b/css-complete/sec3/index.html new file mode 100644 index 0000000..1897ea2 --- /dev/null +++ b/css-complete/sec3/index.html @@ -0,0 +1,26 @@ + + + + + + + uHost + + + + + + + +
      +
      +

      Get the freedom you deserve.

      +
      +
      +

      Choose Your Plan

      +

      Make sure you get the most for your money!

      +
      +
      + + + \ No newline at end of file diff --git a/css-complete/sec3/main.css b/css-complete/sec3/main.css new file mode 100644 index 0000000..70498ae --- /dev/null +++ b/css-complete/sec3/main.css @@ -0,0 +1,20 @@ +body { + font-family: 'Montserrat', sans-serif; +} + +#product-overview { + background: #ff1b68; +} + +.section-title { + color: #2ddf5c; +} + +#product-overview h1 { + color: white; + font-family: 'Anton', sans-serif; +} + +/* h1 { + font-family: sans-serif; +} */ \ No newline at end of file diff --git a/php/getting-started/favicon.ico b/php/getting-started/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..540b33ece6e82e8dd4d44c64f02b833d95bc53c1 GIT binary patch literal 15406 zcmeHOdvp}l9bS-DY)@M}wx_MNr}Ug2OIs}{kno5Q5W>p{D9FQth&&@L1wn+01mqD= ziC7vQ1t}n}2o(VlBAft$n9a-*lI-qm*zB$#MUHK)0#NH$?g{xlzK~yK^@GQUJUfh_ zre=lw%4PWN-nM}~HFg9KZ&EyprCf%M8Aec3GRfu(!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&9;;=dE z7V@eYgl&7)EG6#L+uUcN8Z|?%dvTAoU+R~(k;b^OTr=xN`-i6OH0H5gpN>TTm+;Y7 zK(F-9svjB0{G!g~EA~O?8O;5v>8JDd^PKL{FqYerz7be+*2fghSe~m?pM})FB(>L9 zQ*-7=r1^l=ennH1C&qmMTI6<;=$^0P`aC})oj6kJZq#ql#F4&nl5G8z-vVy+g{PWPm7QpF9Z z?^t_OD!>7*M0y&Uf9X=?H%b2-3IXb)Qr_Q)VFZ8)?1t(}(yv8Ct7u#6EuVz%b=aqd z=)8&ZeR#5s`l#E00W9KoyuXs9R!ejA3v@p5TiCCqexi3sQx?$P=RVSg|5ANQ0cAq? cl&9f83}gda_`o-nzQt15&5WBh;IIb%50{6#TmS$7 literal 0 HcmV?d00001 diff --git a/php/getting-started/form.php b/php/getting-started/form.php index 0a6621d..c5bed3e 100644 --- a/php/getting-started/form.php +++ b/php/getting-started/form.php @@ -45,6 +45,7 @@ if (isset($_POST['submit'])) { Document + diff --git a/react-complete-guide/react-complete-notes.md b/react-complete-guide/react-complete-notes.md index fd30f36..755abed 100644 --- a/react-complete-guide/react-complete-notes.md +++ b/react-complete-guide/react-complete-notes.md @@ -65,3 +65,11 @@ Note: JSX uses className in place of class Are how to pass data into a component +## Events and State + +### Events + +React adds its own event attribute to use in JSX elements + +Each event starts with "on" and pops in Intellisense +