From 189ca5034bda8509ac3d8c3e2d7602b3a3816cdd Mon Sep 17 00:00:00 2001 From: Luke Else Date: Thu, 28 Apr 2022 18:13:31 +0100 Subject: [PATCH] Updated main page to follow C# syntax --- index.html | 62 ++++++++++++++++++++++++++----------------- flip.js => js/flip.js | 0 style.css | 6 +++++ 3 files changed, 43 insertions(+), 25 deletions(-) rename flip.js => js/flip.js (100%) diff --git a/index.html b/index.html index bd08961..726a705 100644 --- a/index.html +++ b/index.html @@ -7,25 +7,29 @@ -
-
-
-
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
const aboutMe = { -
name: 'Luke Else',
-
title: 'Software Engineer + Student',
-
contact: { - - } -
}
+
+
+
+
1
+
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
+ + Person me = new Person
+ { +
Name = "Luke Else",
+
Age = 18,
+
Title = "Software Engineer / Student",
+ + + }
@@ -38,11 +42,19 @@
7
8
9
-
this.addEventListener('mouseover', () => { -
this.flipCard = true;
});
+ + internal class Person
+ { //Hover to flip +
public string Name { get; set; }
+
internal int Age { get; set; }
+
internal string Title { get; set; }
+
public string EMail { get; set; }
+
public string Website { get; set; }
+ } +
- - - - \ No newline at end of file +
+ + + \ No newline at end of file diff --git a/flip.js b/js/flip.js similarity index 100% rename from flip.js rename to js/flip.js diff --git a/style.css b/style.css index c769040..15c930c 100644 --- a/style.css +++ b/style.css @@ -121,6 +121,9 @@ .card .string { color: #9ccc65; } + .card .int { + color: #d4922f; + } .card .variable { color: #BA68C8; } @@ -136,6 +139,9 @@ .card .boolean { color: #4dd0e1; } + .card .comment { + color: #229977 + } a:link { text-decoration: none; }