diff --git a/flip.js b/flip.js new file mode 100644 index 0000000..7a7e5d9 --- /dev/null +++ b/flip.js @@ -0,0 +1,4 @@ +function flipCard() { + document.getElementById('card-front').style.transform = 'rotateX(-180deg)'; + document.getElementById('card-back').style.transform = 'rotateX(0deg)'; +} \ No newline at end of file diff --git a/index.html b/index.html index 0d5a319..bd08961 100644 --- a/index.html +++ b/index.html @@ -5,27 +5,29 @@
const aboutMe = {
- name: 'Luke Else',
- title: 'Software Engineer + Student',
- }
+
+
+const aboutMe = {
+ name: 'Luke Else',
+ title: 'Software Engineer + Student',
+ }
this.addEventListener('mouseover', () => {
this.flipCard = true;});
+