diff --git a/Sprint-1/prep/example.js b/Sprint-1/prep/example.js new file mode 100644 index 000000000..cb2d7432b --- /dev/null +++ b/Sprint-1/prep/example.js @@ -0,0 +1,7 @@ +//percentage exercise + +const decimalNumber = 0.5; + +const percentage = `${decimalNumber * 100} %` + +console.log(percentage); diff --git a/Sprint-1/prep/myAge.html b/Sprint-1/prep/myAge.html new file mode 100644 index 000000000..888baa26e --- /dev/null +++ b/Sprint-1/prep/myAge.html @@ -0,0 +1,101 @@ + + + + + + + + My Age + + + +
+

Welcome to Age Calculator

+

Please enter your year of birth:

+
+ + + + + + +
+
+

Your Age is:

+ +
+
+ + + + \ No newline at end of file diff --git a/Sprint-1/prep/percentage.html b/Sprint-1/prep/percentage.html new file mode 100644 index 000000000..065781e07 --- /dev/null +++ b/Sprint-1/prep/percentage.html @@ -0,0 +1,136 @@ + + + + + + Percentage Exercise + + + +

Percentage Exercise

+
+
+

Convert Decimal to Percentage

+

enter a decimal number and click the button to see the percentage:

+ + +

+
+ +
+

Calculate the area and perimeter

+

enter the width and height to calculate the area and perimeter

+ + + +

+
+ + + \ No newline at end of file diff --git a/Sprint-1/prep/simpleExampleOfEventlistener.html b/Sprint-1/prep/simpleExampleOfEventlistener.html new file mode 100644 index 000000000..741df24d5 --- /dev/null +++ b/Sprint-1/prep/simpleExampleOfEventlistener.html @@ -0,0 +1,94 @@ + + + + + + + Simple Example of Event Listener + + + +
+

Simple Example of Event Listener

+click the button to see the event listener in action: + +
+ + + + +
+ +
+ + + + + + + + + + \ No newline at end of file