diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..fdabad2 Binary files /dev/null and b/.DS_Store differ diff --git a/.vscode/.DS_Store b/.vscode/.DS_Store new file mode 100644 index 0000000..5008ddf Binary files /dev/null and b/.vscode/.DS_Store differ diff --git a/4/sayhello.html b/4/sayhello.html index f7c0703..31754f1 100644 --- a/4/sayhello.html +++ b/4/sayhello.html @@ -1,11 +1,11 @@ - \ No newline at end of file diff --git a/5/function.html b/5/function.html index a69c380..94fb140 100644 --- a/5/function.html +++ b/5/function.html @@ -1,6 +1,7 @@ - \ No newline at end of file diff --git a/5/functioncalledcallback.html b/5/functioncalledcallback.html index 6e9474f..e2cf66e 100644 --- a/5/functioncalledcallback.html +++ b/5/functioncalledcallback.html @@ -1,19 +1,19 @@ -A function with no parameters that prints how many times it’s -been called. Hint: define a variable outside of the function to -keep track of the number of calls, like we did in the “Side -Effects” section on page 77. - \ No newline at end of file diff --git a/5/functiondate.html b/5/functiondate.html index 37319fb..7f47c79 100644 --- a/5/functiondate.html +++ b/5/functiondate.html @@ -1,11 +1,11 @@ -A function that prints the current date and time. Hint: you can -get the current date and time with new Date(). - \ No newline at end of file diff --git a/5/functionnumberdic.html b/5/functionnumberdic.html index 8ef2bd6..d593dbf 100644 --- a/5/functionnumberdic.html +++ b/5/functionnumberdic.html @@ -1,51 +1,51 @@ -A function that takes a number from 0 to 5 and returns the -English word for that number. For example, 1 should return "one". -Hint: use an array to define the mapping from numbers to -strings. - \ No newline at end of file diff --git a/5/wrapper.html b/5/wrapper.html new file mode 100644 index 0000000..e8d455f --- /dev/null +++ b/5/wrapper.html @@ -0,0 +1,12 @@ + \ No newline at end of file diff --git a/6/class.html b/6/class.html new file mode 100644 index 0000000..70f35e9 --- /dev/null +++ b/6/class.html @@ -0,0 +1,37 @@ +

\ No newline at end of file
diff --git a/6/pets.html b/6/pets.html
new file mode 100644
index 0000000..4b130e4
--- /dev/null
+++ b/6/pets.html
@@ -0,0 +1,35 @@
+
\ No newline at end of file
diff --git a/6/subclass.html b/6/subclass.html
new file mode 100644
index 0000000..fec3bed
--- /dev/null
+++ b/6/subclass.html
@@ -0,0 +1,64 @@
+

\ No newline at end of file
diff --git a/7/helloworld.html b/7/helloworld.html
new file mode 100644
index 0000000..3e1bc26
--- /dev/null
+++ b/7/helloworld.html
@@ -0,0 +1,10 @@
+ 
+ 
+ 
+ Hello, World!
+ 
+ 
+ 

Hello! My name is slim shady.

+

Welcome to my document.

+ + \ No newline at end of file diff --git a/7/index.html b/7/index.html new file mode 100644 index 0000000..0724c34 --- /dev/null +++ b/7/index.html @@ -0,0 +1,20 @@ + + + + Hello, JavaScript! + + + + +

Hello, JavaScript + !

+

This is my first paragraph + .

+

This is my second paragraph.

+

Here's another heading.

+

This is my third paragraph + .

+

This is my fourth paragraph.

+

This is my

fifth
paragraph.

+ + \ No newline at end of file diff --git a/7/script.js b/7/script.js new file mode 100644 index 0000000..cb1cd3a --- /dev/null +++ b/7/script.js @@ -0,0 +1 @@ +console.log("Hello, HTML!") \ No newline at end of file diff --git a/7/style.css b/7/style.css new file mode 100644 index 0000000..439acde --- /dev/null +++ b/7/style.css @@ -0,0 +1,28 @@ +h1 { + color: green; + font-style:italic; + font-family: system-ui; +} +#main-heading { + font-size: 48px; +} +strong { +color: yellowgreen; +} +p strong { +font-size: 24px; +} +.highlight { +background-color: burlywood; +} +.highlight strong { +background-color: thistle; +} + +em { +background-color: aqua; +} + +pre{ +color: blueviolet; +} \ No newline at end of file