From 1e756f4f726457104f12812e9b3141eceb392f03 Mon Sep 17 00:00:00 2001 From: Jonathan Branan Date: Thu, 3 Oct 2024 11:29:13 -0500 Subject: [PATCH] furthered work --- .DS_Store | Bin 0 -> 6148 bytes .vscode/.DS_Store | Bin 0 -> 6148 bytes 4/sayhello.html | 20 +++---- 5/function.html | 11 ++-- 5/functioncalledcallback.html | 36 ++++++------ 5/functiondate.html | 20 +++---- 5/functionnumberdic.html | 100 +++++++++++++++++----------------- 5/wrapper.html | 12 ++++ 6/class.html | 37 +++++++++++++ 6/pets.html | 35 ++++++++++++ 6/subclass.html | 64 ++++++++++++++++++++++ 7/helloworld.html | 10 ++++ 7/index.html | 20 +++++++ 7/script.js | 1 + 7/style.css | 28 ++++++++++ 15 files changed, 301 insertions(+), 93 deletions(-) create mode 100644 .DS_Store create mode 100644 .vscode/.DS_Store create mode 100644 5/wrapper.html create mode 100644 6/class.html create mode 100644 6/pets.html create mode 100644 6/subclass.html create mode 100644 7/helloworld.html create mode 100644 7/index.html create mode 100644 7/script.js create mode 100644 7/style.css diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..fdabad296f5878fc9eb7c74b3dee3a4c26756074 GIT binary patch literal 6148 zcmeHKOKL(v5Uh?u1UD|ToD&3cgF*BJUO$mb;Ia;begvc`+A)8PQ-8IwG zHIG+|*RKKC@?-Y|EC9^tjyQW5o1eRn?5;9Kr1Op=cG#abZ->|8sQP-sx%YU)3GaCR z$v?d0t=DPFN&zV#1*Cu!kODU<;JueNnU!ajm~>bTA68GcnoumB&ih-G!+N5k6p#X! z3QTgl@czH1|1$qylC+ZoQs7@HVAIuRwd5;RZymjy_u59^(!J)B?#6Xc7@{2$qaAbO f?f4;zvab1>=e=-93_9~cC+cUwb&*MdzgFN2ZvGWr literal 0 HcmV?d00001 diff --git a/.vscode/.DS_Store b/.vscode/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 GIT binary patch literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0 \ 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