Welcome to the COSC Hackathons repository! This repository serves as a collection of projects developed during various COSC Hackathon events. Each project is contained within its own dedicated folder.
This is a specific project from the COSC Hackathon, focused on designing a product item layout for an Amazon CPU listing. The goal was to create a fully responsive, clean, and visually appealing component using only HTML and CSS.
- Amazon-style CPU product display
- Fully responsive across desktop, tablet, and mobile
- Built using pure HTML and CSS β no JavaScript
- Clean UI with focus on layout and responsiveness
- HTML5
- CSS3 (Flexbox and Media Queries for responsiveness)
To view the "Amazon CPU Product Item" project locally, follow these steps:
- Clone the repository:
git clone [https://github.com/itsmepraksh/COSC-HACATHONS.git]
- Navigate into the repository:
cd COSC-HACATHONS - Open the project in your browser:
If you've moved the
Project-1contents to the root of this repository for GitHub Pages:(Ifopen index.html # For macOS/Linux start index.html # For Windows
Project-1is still in a subfolder and you want to run it from there, the path would beopen Project-1/index.html)
Live URL: [https://challengeone-six.vercel.app/]
Amazon CPU Product Item: Task Completed
This project is a dynamic Weather Dashboard that fetches and displays real-time weather data for any specified city. Users can simply enter a city name to get current temperature, humidity, and a short weather forecast.
- Real-time weather data fetching
- Displays current temperature (in Β°C)
- Shows humidity percentage
- Provides a short weather forecast (e.g., "clear sky", "scattered clouds")
- Responsive UI for various screen sizes
- Dark theme for a sleek user experience
- HTML5 (Structure)
- Tailwind CSS (Modern Styling & Responsiveness)
- Vanilla JavaScript (Logic, API Calls, DOM Manipulation)
- OpenWeatherMap API (For Weather Data)
To view the "Weather Watch Dashboard" project locally, follow these steps:
-
Clone the repository:
git clone [https://github.com/itsmepraksh/COSC-HACATHONS.git]
-
Navigate into your project folder:
cd COSC-HACATHONS/Project-2/ # Assuming you placed it in a 'Project-2' folder
-
Get your OpenWeatherMap API Key:
- If you don't have a key, so visit OpenWeatherMap official website ([https://openweathermap.org/api]) for free account and obtain key.
-
Update the API Key in the code:
index.htmlopen this file in your code editor.- In JavaScript file search this line
const API_KEY = 'YOUR_API_KEY'; - Replace this
'YOUR_API_KEY'with the actual OpenWeatherMap API key .
-
Open the project in your browser:
open index.html # For macOS/Linux start index.html # For Windows
Weather Watch Dashboard: Task Completed
This project is a dynamic web application that allows users to explore various dog images. Users can either view a collection of 5 random dog images or search for images of a specific dog breed. It provides a quick and engaging way to see different dog breeds.
- View 5 random dog images.
- Search for 5 images of a specific dog breed.
- Real-time fetching and display of images.
- Basic error handling for invalid breeds or API issues.
- Clear loading indicators.
- HTML5 (Structure)
- Tailwind CSS (Modern Styling & Responsiveness)
- Vanilla JavaScript (Logic, API Calls, DOM Manipulation)
- Dog API (For Dog Image Data)
-
Get the free API, API that I used in the project is from https://dog.ceo/dog-api/. I set up the API in the form so it gives me an array of 5 items as data.
-
Used
fetchfor retrieving the data from the backend of the API, and used Promises to fetch the data. -
Used fetched data which is nothing but JSON format data, so used
mapto convert array data into single elements and put them inside the HTML content. -
Used event listeners to get the user instruction and give them their desired output.
-
Also tried handling the errors using
try-catch,setTimeout, etc.
To view the "Dog Image Gallery" project locally, follow these steps:
- Clone the repository:
git clone [https://github.com/itsmepraksh/COSC-HACATHONS.git](https://github.com/itsmepraksh/COSC-HACATHONS.git)
- Navigate to the Project-3 directory:
cd COSC-HACATHONS/Project-3 - Open the project in your browser:
open index.html # For macOS/Linux start index.html # For Windows
Live URL: [https://cosc-hacathons-b6sh.vercel.app/]
Dog Image Gallery: Task Completed
COSC Commit Counter is a simple tool designed to simulate tracking community progress during HackWeek by counting commits. It provides a live, real-time update of the commit count on the website.
- Displays commit count starting from
0. - Increment: Simulates a new commit being made, increasing the count.
- Decrement: Allows for reverting a commit, ensuring the count does not go below 0.
- Reset: Resets the commit count to 0, simulating the end of a HackWeek day.
- Clean and responsive user interface.
- HTML5 (Structure)
- CSS (Styling)
- Vanilla JavaScript (Logic & DOM Manipulation)
To view the COSC Commit Counter project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/itsmepraksh/COSC-HACATHONS.git
-
Navigate to the Project-4 directory:
cd COSC-HACATHONS/Project-4 -
Open the project in your browser:
-
On macOS/Linux:
open index.html
-
On Windows:
start index.html
-
COSC Commit Counter: Task Completed β
Turn Any Word into Wisdom!
A simple, effective dictionary web app providing instant word definitions, audio pronunciations, synonyms, and antonyms. Built with HTML, Tailwind CSS, and JavaScript, it leverages the Free Dictionary API for real-time data.
- π Instant search with comprehensive definitions.
- π± Clean, responsive UI with informative loading and error feedback.
- HTML5
- Tailwind CSS
- JavaScript (ES6+)
- Free Dictionary API
- Enter a word in the input box.
- Click "Search" or press Enter.
- View the detailed definition.
Clone the repository:
git clone https://github.com/itsmepraksh/COSC-HACATHONS.git
cd COSC-HACATHONS/Project-6Open index.html in your web browser.
This application uses the Free Dictionary API. No API key is required.
Endpoint:
https://api.dictionaryapi.dev/api/v2/entries/en/{word}
Word Wizard - Dictionary App: Task Completed β
A responsive single-page website showcasing a cricket team and star players with detailed stats.
- π Team branding with logo and slogan
- π΄ Responsive player cards grid
- π Click player cards for detailed stats (Strike Rate, Matches, Jersey, Best Performance)
- π± Fully responsive and clean design
- π HTML
- π‘ JavaScript
- π¨ Tailwind CSS
- Download or clone the repo
- Open
index.htmlin your browser
No build tools needed β just open and enjoy!
Project completed and ready!
Thanks to the COSC Hackathon team for the opportunity to participate and build something exciting with pure frontend tech.