From a924d16c35f328a35403eafa5588caf0e8e938b7 Mon Sep 17 00:00:00 2001 From: Alexander Hosking Date: Mon, 14 Nov 2022 23:43:37 -0500 Subject: [PATCH] Search is complete --- README.md | 0 project0/advanced.html => advanced.html | 0 project0/image.html => image.html | 0 project0/index.html => index.html | 0 project0-specification.txt | 21 -------------------- project0/search.css => search.css | 0 project0/search_logo.png => search_logo.png | Bin 7 files changed, 21 deletions(-) delete mode 100644 README.md rename project0/advanced.html => advanced.html (100%) rename project0/image.html => image.html (100%) rename project0/index.html => index.html (100%) delete mode 100644 project0-specification.txt rename project0/search.css => search.css (100%) rename project0/search_logo.png => search_logo.png (100%) diff --git a/README.md b/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/project0/advanced.html b/advanced.html similarity index 100% rename from project0/advanced.html rename to advanced.html diff --git a/project0/image.html b/image.html similarity index 100% rename from project0/image.html rename to image.html diff --git a/project0/index.html b/index.html similarity index 100% rename from project0/index.html rename to index.html diff --git a/project0-specification.txt b/project0-specification.txt deleted file mode 100644 index 79b2e9e..0000000 --- a/project0-specification.txt +++ /dev/null @@ -1,21 +0,0 @@ -https://cs50.harvard.edu/web/2020/projects/0/search/ - -Specification -Your website must meet the following requirements: - -Your website should have at least three pages: one for regular Google Search (which must be called index.html), one for Google Image Search, and one for Google Advanced Search. -On the Google Search page, there should be links in the upper-right of the page to go to Image Search or Advanced Search. On each of the other two pages, there should be a link in the upper-right to go back to Google Search. -On the Google Search page, the user should be able to type in a query, click “Google Search”, and be taken to the Google search results for that page. -Like Google’s own, your search bar should be centered with rounded corners. The search button should also be centered, and should be beneath the search bar. -On the Google Image Search page, the user should be able to type in a query, click a search button, and be taken to the Google Image search results for that page. -On the Google Advanced Search page, the user should be able to provide input for the following four fields (taken from Google’s own advanced search options) -Find pages with… “all these words:” -Find pages with… “this exact word or phrase:” -Find pages with… “any of these words:” -Find pages with… “none of these words:” -Like Google’s own Advanced Search page, the four options should be stacked vertically, and all of the text fields should be left aligned. -Consistent with Google’s own CSS, the “Advanced Search” button should be blue with white text. -When the “Advanced Search” button is clicked, the user should be taken to the search results page for their given query. -Add an “I’m Feeling Lucky” button to the main Google Search page. Consistent with Google’s own behavior, clicking this link should take users directly to the first Google search result for the query, bypassing the normal results page. -You may encounter a redirect notice when using the “I’m Feeling Lucky” button. Not to worry! This is an expected consequence of a security feature implemented by Google. -The CSS you write should resemble Google’s own aesthetics. diff --git a/project0/search.css b/search.css similarity index 100% rename from project0/search.css rename to search.css diff --git a/project0/search_logo.png b/search_logo.png similarity index 100% rename from project0/search_logo.png rename to search_logo.png