From e43efaca55191fb27f4d41885e1952615fbffa41 Mon Sep 17 00:00:00 2001 From: Amber King Date: Thu, 1 Dec 2022 14:46:41 -0500 Subject: [PATCH] Intro to HTML Lab_Finished --- cypress.config.js | 11 +++++ cypress.json | 1 - .../recipe_spec.js => e2e/recipe.cy.js} | 0 .../sundial_spec.js => e2e/sundial.cy.js} | 0 cypress/support/{index.js => e2e.js} | 0 recipe.html | 24 ++++++++++ sundial.html | 44 +++++++++++++++++++ 7 files changed, 79 insertions(+), 1 deletion(-) create mode 100644 cypress.config.js delete mode 100644 cypress.json rename cypress/{integration/recipe_spec.js => e2e/recipe.cy.js} (100%) rename cypress/{integration/sundial_spec.js => e2e/sundial.cy.js} (100%) rename cypress/support/{index.js => e2e.js} (100%) create mode 100644 recipe.html create mode 100644 sundial.html diff --git a/cypress.config.js b/cypress.config.js new file mode 100644 index 0000000..ccb67cb --- /dev/null +++ b/cypress.config.js @@ -0,0 +1,11 @@ +const { defineConfig } = require('cypress') + +module.exports = defineConfig({ + e2e: { + // We've imported your old cypress plugins here. + // You may want to clean this up later by importing these. + setupNodeEvents(on, config) { + return require('./cypress/plugins/index.js')(on, config) + }, + }, +}) diff --git a/cypress.json b/cypress.json deleted file mode 100644 index 0967ef4..0000000 --- a/cypress.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/cypress/integration/recipe_spec.js b/cypress/e2e/recipe.cy.js similarity index 100% rename from cypress/integration/recipe_spec.js rename to cypress/e2e/recipe.cy.js diff --git a/cypress/integration/sundial_spec.js b/cypress/e2e/sundial.cy.js similarity index 100% rename from cypress/integration/sundial_spec.js rename to cypress/e2e/sundial.cy.js diff --git a/cypress/support/index.js b/cypress/support/e2e.js similarity index 100% rename from cypress/support/index.js rename to cypress/support/e2e.js diff --git a/recipe.html b/recipe.html new file mode 100644 index 0000000..1b0a82f --- /dev/null +++ b/recipe.html @@ -0,0 +1,24 @@ +

Just Simple PB & J

+PB & J +
+

Description

The simple and classic PB & J to fulfill your hunger. You looking for a quick meal to go here it is!

+
+

Ingredients

+ +
+

Directions

+
    +
  1. On one slice of bread, spread peanut butter over the bread with knife.
  2. +
  3. On the other slice of bread, spread the jelly evenly over the bread.
  4. +
  5. Put the two slices of bread together with the peanut butter and jelly facing in.
  6. +
  7. Serve & Enjoy!
  8. +
  9. Optional: Remove crusts, cut diagonally.
  10. +
+
+For More Info Click Here diff --git a/sundial.html b/sundial.html new file mode 100644 index 0000000..08904db --- /dev/null +++ b/sundial.html @@ -0,0 +1,44 @@ + + + + + My Title + + + +

Sundial

+ +

From Wikipedia, the free encyclopedia.

+ A sundial measures time by the + position of the sun. The most commonly seen designs, such as the 'ordinary' or + standard garden sundial, cast a shadow on a flat surface marked with the hours + of the day. As the position of the sun changes, the time indicated by the shadow + changes. However, sundials can be designed for any surface where a fixed object + casts a predictable shadow. +

Most sundial designs indicate apparent solar time. + Minor design variations can measure standard and daylight saving time, as well.

+ +

History

+ Sundials in the form of obelisks (3500 BC) and shadow clocks (1500 BC) + are known from ancient Egypt, and were developed further by other cultures, + including the Chinese, Greek, and Roman cultures. A type of sundial without + gnomon is described in the old Old Testament (Isaiah 38:2). +

The mathematician + and astronomer Theodosius of Bithynia (ca. 160 BC-ca. 100 BC) is said to have + invented a universal sundial that could be used anywhere on Earth. The French + astronomer Oronce Fine constructed a sundial of ivory in 1524. The Italian + astronomer Giovanni Padovani published a treatise on the sundial in 1570, in + which he included instructions for the manufacture and laying out of mural + (vertical) and horizontal sundials. Giuseppe Biancani's Construction instrumenti + ad horologia solaria discusses how to make a perfect sundial, with accompanying + illustrations.

+ +

Installation of standard sundials

+

Many ornamental sundials are + designed to be used at 45 degrees north. By tilting such a sundial, it may be + installed so that it will keep time. However, some mass-produced garden sundials + are inaccurate because of poor design and cannot be corrected.

+ + + + \ No newline at end of file