Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rajkumar-35/guvi-roadmaptask-day6
Day 6 coding task assigned by GUVI Zen class. Focusing on JavaScript classes and object-oriented programming concepts.
https://github.com/rajkumar-35/guvi-roadmaptask-day6
class javascript
Last synced: about 7 hours ago
JSON representation
Day 6 coding task assigned by GUVI Zen class. Focusing on JavaScript classes and object-oriented programming concepts.
- Host: GitHub
- URL: https://github.com/rajkumar-35/guvi-roadmaptask-day6
- Owner: RAJKUMAR-35
- Created: 2024-01-15T15:18:16.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-06-27T08:27:26.000Z (4 months ago)
- Last Synced: 2024-06-27T09:48:59.327Z (4 months ago)
- Topics: class, javascript
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Guvi-RoadMapTask Day-6
This repository contains the completed tasks for Day 6 of the GUVI Zen class, focusing on JavaScript classes and object-oriented programming concepts.
## Overview
Day 6 tasks include implementing JavaScript classes for various scenarios, including movie representation, UML diagram conversion, person details handling, and Uber price calculation.
### Day 6 Task:
1. **Task 1: Movie Class Implementation**
- Objective:
- Implement a `Movie` class with properties `title`, `studio`, and `rating`.
- Write a constructor that sets these properties based on provided arguments.
- Set the default rating to "PG" when no rating is provided.
- Implement a method `getPG` to filter movies with a rating of "PG" from an array of `Movie` instances.
- Create an instance of `Movie` for "Casino Royale" with specific details.2. **Task 2: Convert UML diagram to JavaScript Class**
- Objective:
- Convert a UML diagram (specifically `circleClass`) to a JavaScript class, ensuring properties and methods are accurately represented.3. **Task 3: Person Class Implementation**
- Objective:
- Implement a `Person` class to hold details such as name, age, gender, and any other relevant information.4. **Task 4: Uber Price Calculation Class**
- Objective:
- Write a class to calculate Uber prices based on factors like distance, time, surge pricing, etc.## Conclusion
Day 6 tasks from GUVI Zen focused on applying object-oriented programming concepts in JavaScript through class implementations for various scenarios.
Feel free to explore each task's implementation in the repository for detailed insights!