Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 969 Bytes

File metadata and controls

40 lines (27 loc) · 969 Bytes

Javascript Basics 3 - Style Manipulation

  • Fork this repository
  • Clone your fork on your pc
  • Each step has a prepared html file to work with, use it
  • COMMIT AFTER EACH STEP, call each commit by the name of the step

Goals:

  • Understand how to style DOM objects through Javascript
  • Competencies:
    • style attribute
    • some style properties

References

Step 1:

  1. When mouse is over the image, add a 3px solid red border
  2. Commit 🔑

Step 2:

  1. show or hide the text depending on which anchor (a tag) is clicked.
  2. do it with one function!
  3. Commit 🔑🔑

Step 3

  1. change the text's color depending on the color clicked
  2. Commit 🔑

Step 4

  1. Change the inputs' borders to red if the passwords don't match
  2. Commit 🔑