repo
stringlengths
8
123
branch
stringclasses
178 values
readme
stringlengths
1
441k
description
stringlengths
1
350
topics
stringlengths
10
237
createdAt
stringlengths
20
20
lastCommitDate
stringlengths
20
20
lastReleaseDate
stringlengths
20
20
contributors
int64
0
10k
pulls
int64
0
3.84k
commits
int64
1
58.7k
issues
int64
0
826
forks
int64
0
13.1k
stars
int64
2
49.2k
diskUsage
float64
license
stringclasses
24 values
language
stringclasses
80 values
leoMirandaa/shop-API
main
# Shop API ## Techonologies used: - Javascript - Typescript - Node js - Express - Express-validator - Mongoose - MongoDB ## Swagger docs <img src="./public/images/swagger-img.jpg"/> ## Available Scripts In this project directory, you can run: ### `npm i` Install node modules ### `npm run dev` Run nodemon in port 3002
API made with Node.js, Express and Mongoose
express,javascript,mongoose,nodejs,typescript,mongodb
2023-07-11T01:19:34Z
2023-09-10T05:57:09Z
null
1
24
65
0
0
2
null
null
TypeScript
DarshanRaoG/Language-Translator-Web-App
main
# Language Translator Web Application * 10 languages are supported by default: * Chinese * English * French * German * Greek * Hindi * Japanese * Spanish * Tamil * Telugu * More languages can be added easily by modifying index.html * For example, to add Polish, use this:<br> ```<option value="pl">Polish</option>``` * Uses Google Translate API (free version) * Try it out! ---> [Click Me](https://codepen.io/Troy_8D/full/jOQZQme) # Output (Desktop View) <p align="center"> <img src="https://github.com/DarshanRaoG/Language-Translator-Web-App/blob/main/img/output1.JPG" width="70%" > <img src="https://github.com/DarshanRaoG/Language-Translator-Web-App/blob/main/img/output2.jpg" width="70%" > <img src="https://github.com/DarshanRaoG/Language-Translator-Web-App/blob/main/img/output25.png" width="70%" > </p> # Output (Mobile View) <p align="center"> <img src="https://github.com/DarshanRaoG/Language-Translator-Web-App/blob/main/img/output3.JPG" width="320px" height="575px"> <img src="https://github.com/DarshanRaoG/Language-Translator-Web-App/blob/main/img/output5.jpg" width="320px" height="575px"> <img src="https://github.com/DarshanRaoG/Language-Translator-Web-App/blob/main/img/output6.jpg" width="320px" height="575px"> </p> # References * https://cloud.google.com/translate/docs * https://www.w3schools.com/ * https://developer.mozilla.org/en-US/ * https://stackoverflow.com/
Language Translator web application that uses Google Translate API
google-translate-free-api,html-css,javascript
2023-07-16T15:27:55Z
2023-08-31T10:01:41Z
null
1
0
10
0
0
2
null
null
CSS
TebogoYungMercykay/Portfolio_Website_Repository_Javascript
development
# YOU ARE WELCOME TO MY PORTFOLIO WEBSITE!! --- This README aims to provide you with an `overview` of the `content` and `functionality` of my personal `portfolio site`. Here, you will find information about my `skills`, `projects`, and `experiences`, allowing you to get to know me better as a `professional`. - # `Table of Contents` - About Me - Skills - Projects - Experience - Contact Information - # `Languages and Tools Used` - JavaScript - SmtpJS ```javascript function sendEmail(name, subject, email, mobile, message) { Email.send({ SecureToken : "token", To : 'email@gmail.com', From : email, Subject : "New Contact Form Enquiry", Body : "Let's Collaborate" }).then( alert("Inquiry Sent.")); } ``` - sheetdb - HTML - CSS - jQuery - JSON - Bootstrap --- - # `About Me` - In this section, you will learn about me as a professional. I will introduce myself, my background, and my `passions`. I believe in continuously `expanding` my `knowledge` and embracing new `challenges`, and I'm excited to share my `journey` with you. - Github Profile: [View Link](https://github.com/TebogoYungMercykay) --- - # `Skills` - Here, you can explore the various `skills` I have acquired throughout my career. From `programming languages` and `technologies` to design `tools` and `soft` skills, this section highlights the breadth and depth of my expertise. Each skill is accompanied by a brief description to provide context for my proficiency. ```json { "Proficient": { "Languages": ["C++", "Java", "Python", "JavaScript", "C#", "PHP", "Node.js", "Typescript"], "Front-End Frameworks and Libraries": ["Angular", "React", "Ionic", "Bootstrap", "jQuery", "NextJS", "Tailwind CSS"], "Back-End Frameworks and Libraries": ["Node.js", "Express.js"], "Web Technologies": ["JSON", "AJAX", "HTML & CSS", "Markdown", "Socket.io"], "Database and Query Languages": ["MySQL", "MongoDB", "NeDB", "PostgreSQL", "Microsoft SQL Server"], "AWS Services": ["AWS", "S3 Bucket", "DynamoDB", "AWS Lambda", "XRAY", "API Gateway", "AWS Elastic Beanstalk", "Amazon EC2", "AWS CloudFormation", "AWS IAM (AWS Identity and Access Management)"], "Development Tools": ["phpMyAdmin", "Docker", "Continuous Integration and Continuous Delivery (CI/CD)", "CircleCI", "SSMS"], "Terminals": ["CMD", "Bash", "WSL", "PowerShell", "Ubuntu"] } } ``` - Github Profile: [View Link](https://github.com/TebogoYungMercykay) --- - # `Experience` - In this section, I `outline` my professional experience, including internships, previous roles, and any relevant positions. By sharing my journey through different organizations and projects, I aim to demonstrate the `valuable` experiences that have shaped my career. I `believe` in `collaboration` and `continuous` learning, both of which I have cultivated throughout my work experience. - Github Profile: [View Link](https://github.com/TebogoYungMercykay) --- - # `Projects` - My portfolio would be `incomplete` without showcasing the projects I have worked on. In this section, you can find a curated list of my most `significant` and `innovative` projects. For each project, I provide a detailed `description`, the `technologies` used, and, if available, a live demo or a link to the `repository`. I am passionate about solving `real-world` problems, and this section reflects my commitment to delivering impactful solutions. - Github Profile: [View Link](https://github.com/TebogoYungMercykay?tab=repositories) --- - # `License` This project is licensed under the MIT License. See the [LICENSE](^2^) file for more details. --- - # `Contact Information` - I'm always open to `collaboration`, `networking`, or `answering` any `questions` you may have. In this section, you will find my `contact information`, such as my `email` address and links to my professional `social media` profiles. Feel free to reach out, and I will respond as `promptly` as possible. - Thank you for visiting my portfolio website. I hope this README provides you with a clear understanding of the content you will discover here. I am thrilled to share my work and experiences with you, and I look forward to connecting with you! - #### `Contacts`: - WhatsApp/Mobile: +27 66 411 0178 - Email: [sbkskhalo.kq@gmail.com](sbkskhalo.kq@gmail.com) - LinkedIn: [sello-selepe-tebogoyungmercykay](in/sello-selepe-tebogoyungmercykay) - Github Profile: [View Link](https://github.com/TebogoYungMercykay) --- --- <p align=center>THE END, THANK YOU<p> --- ---
This is my Portfolio website, I will probably use React and Tailwind CSS in December to make it as Impressive as it can be!!.
about,animations,bootstrap,css,eventlisteners,fontawesome,html,images,javascript,portfolio
2023-07-04T14:50:05Z
2024-03-03T15:54:10Z
2024-03-03T15:28:20Z
1
242
487
0
0
2
null
MIT
CSS
vuquangpham/scroll-trigger
master
# Scroll Trigger > A mimic version of GSAP ScrollTrigger with 5.86kB 👀 ## Getting started ### Notice > 🆘 Please don't use ScrollTrigger with the trigger element that has `sticky` position because of the wrong > calculation (because the top position of the trigger element is always `0` when sticking) ### Download Self hosted 👉 https://github.com/vuquangpham/scroll-trigger/ ### Initialize #### Options | Name | Default | Description | |-------------------------|-----------------|-----------------------------------------------------------------------------------| | `id` | `unique` | id for clarifying each instance | | `start` | `top top` | trigger start position (trigger when top of the element hits top of the viewport) | | `end` | `bottom bottom` | end position (when bottom of the element hits bottom of the viewport) | | `responsive` | `[]` | change the observed breakpoint (`start` and `end`) on different breakpoint | | `onEnter:(self) => {}` | `function` | | | `onLeave:(self) => {}` | `function` | | | `onUpdate:(self) => {}` | `function` | | ### Methods | Name | Parameter | Description | |-----------|------------|------------------------------------| | `create` | `object` | create the instance | | `get` | `id` | get the ScrollTrigger instance | | `destroy` | `instance` | destroy the ScrollTrigger instance | ```js const instance = ScrollTrigger.create({ start: 'top center', // trigger when top of the element hits the center of the viewport end: () => '+=' + 300, // end when scroll 300px after trigger onEnter: (self) => { // get the trigger element console.log('The trigger element has entered the viewport', self.trigger); // check which of direction that the trigger enter the viewport console.log('Enter back:', self.isEnterBack); }, onUpdate: (self) => { console.log('Progress:', self.progress); }, onLeave: (self) => { // check which of direction that the trigger leave the viewport console.log('Leave back:', self.isLeaveBack); // destroy the instance when out of viewport self.destroy(); }, responsive: [ { breakpoint: 1024, start: 'top 60%', // top of the element hits the 60% of the viewport end: 'bottom 60%+=200px' // end when the bottom of the element hit the (60% + 200px) of the viewport } ] }); ``` #### Events | Name | Description | |-------------------------|-------------------------------------------------------------------------| | `onEnter:(self) => {}` | trigger at the first time that the element hits the viewport breakpoint | | `onUpdate:(self) => {}` | trigger on each scroll event when the element in viewport | | `onLeave:(self) => {}` | trigger when the element goes out of viewport | ## Deployment Run `./public` and `./dev` in live server ```shell npm run dev ``` Build files from `./src` and `./dev` to `./dist` for production ```shell npm run build ``` Build files from `./src` for production ```shell npm run prod ```
A mimic version of GSAP ScrollTrigger 🎯🎯
intersection-observer,javascript,scroll,scroll-trigger,fe-lib
2023-07-14T04:30:28Z
2024-05-02T10:32:41Z
2023-07-19T11:05:35Z
1
0
60
0
1
2
null
MIT
JavaScript
KirKiselev/Spritesheets_editor
main
# Spritesheets_editor Spritesheets_editor + PID_converter Simple fastwritten app, created to convert an edit sprites saved in old .PID format (this format used in few PC games, for example: The Claw, Get Medieval, Gruntz). At this time app works, but must be optimized and refactored.
Spritesheets_editor + PID_converter
canvas,converter,javascript,spritesheet
2023-07-14T13:13:05Z
2023-07-25T17:20:12Z
null
1
0
8
0
0
2
null
null
JavaScript
ViktorSvertoka/class-based-components
main
# Getting Started with Create React App This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). ## Available Scripts In the project directory, you can run: ### `npm start` Runs the app in the development mode.\ Open [http://localhost:3000](http://localhost:3000) to view it in your browser. The page will reload when you make changes.\ You may also see any lint errors in the console. ### `npm test` Launches the test runner in the interactive watch mode.\ See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. ### `npm run build` Builds the app for production to the `build` folder.\ It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes.\ Your app is ready to be deployed! See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. ### `npm run eject` **Note: this is a one-way operation. Once you `eject`, you can't go back!** If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own. You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it. ## Learn More You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). To learn React, check out the [React documentation](https://reactjs.org/). ### Code Splitting This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting) ### Analyzing the Bundle Size This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size) ### Making a Progressive Web App This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app) ### Advanced Configuration This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration) ### Deployment This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment) ### `npm run build` fails to minify This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
My react practice ✍️
css3,gitignore,html5,javascript,jsconfig,json,npm,prettier,react,readme
2023-07-15T09:12:14Z
2023-07-15T15:53:43Z
null
1
6
18
0
0
2
null
null
JavaScript
BrunoCosta19/Buraco_negro
main
null
Buraco negro
html,css,glsl,javascript,webgl
2023-07-01T20:42:41Z
2023-07-01T20:43:31Z
null
1
0
1
0
0
2
null
null
JavaScript
AnshKathpal/Just-Serve
main
# JustServe [See Live](https://justserve-anshkathpal.vercel.app/) # HomePage <img width="1680" alt="Screenshot 2023-07-24 at 1 39 25 PM" src="https://github.com/AnshKathpal/dizzy-vase-3091/assets/115460552/25d8e9f7-4e54-44fd-a1ee-f5d27ead54f1"> <img width="1680" alt="Screenshot 2023-07-24 at 1 39 31 PM" src="https://github.com/AnshKathpal/dizzy-vase-3091/assets/115460552/97d666b2-1d00-4f2d-b44f-b3b321955448"> <img width="1680" alt="Screenshot 2023-07-24 at 1 40 19 PM" src="https://github.com/AnshKathpal/dizzy-vase-3091/assets/115460552/b2cd06b4-5bca-428e-8edf-c5d24450ea5d"> <img width="1680" alt="Screenshot 2023-07-24 at 1 40 40 PM" src="https://github.com/AnshKathpal/dizzy-vase-3091/assets/115460552/189ceb6e-abe6-4749-8ca0-fa521362ef15"> # Login and SignUp <img width="1680" alt="Screenshot 2023-07-24 at 1 40 50 PM" src="https://github.com/AnshKathpal/dizzy-vase-3091/assets/115460552/0e7fea4e-0f8d-4ee7-bb25-11260579e4e0"> <img width="1680" alt="Screenshot 2023-07-24 at 1 40 58 PM" src="https://github.com/AnshKathpal/dizzy-vase-3091/assets/115460552/176e0a0d-9173-4553-92d0-d6541f597a56"> # Volunteers <img width="1680" alt="Screenshot 2023-07-24 at 1 41 34 PM" src="https://github.com/AnshKathpal/dizzy-vase-3091/assets/115460552/03422fc4-17a3-495b-9a32-3e0cf0d6c51a"> <img width="1680" alt="Screenshot 2023-07-24 at 1 41 44 PM" src="https://github.com/AnshKathpal/dizzy-vase-3091/assets/115460552/f305bb53-c378-4f65-b4f1-983234e6ba1f"> # Programs <img width="1680" alt="Screenshot 2023-07-24 at 1 41 50 PM" src="https://github.com/AnshKathpal/dizzy-vase-3091/assets/115460552/211696a1-bee0-4a67-ac1b-735a4b29f703"> # Single Details and Apply <img width="1680" alt="Screenshot 2023-07-24 at 1 42 00 PM" src="https://github.com/AnshKathpal/dizzy-vase-3091/assets/115460552/d8d67f45-c9b1-42a5-bb40-fe5f7fac16ea"> <img width="1680" alt="Screenshot 2023-07-24 at 1 42 05 PM" src="https://github.com/AnshKathpal/dizzy-vase-3091/assets/115460552/067c1ee5-8e2a-4d69-8fd4-1137f633a289"> # Admin <img width="1680" alt="Screenshot 2023-07-24 at 1 43 43 PM" src="https://github.com/AnshKathpal/dizzy-vase-3091/assets/115460552/d544cd07-81de-484d-b6bd-9016d61cff0f"> <img width="1680" alt="Screenshot 2023-07-24 at 1 43 48 PM" src="https://github.com/AnshKathpal/dizzy-vase-3091/assets/115460552/acebfa9a-e539-4b4b-9124-55b02974c498"> <img width="1680" alt="Screenshot 2023-07-24 at 1 43 52 PM" src="https://github.com/AnshKathpal/dizzy-vase-3091/assets/115460552/8d880ec9-7bad-40fe-8042-6391ca3f1026"> <img width="1680" alt="Screenshot 2023-07-24 at 1 43 55 PM" src="https://github.com/AnshKathpal/dizzy-vase-3091/assets/115460552/5f133106-190f-4f7d-b6b6-295c11e90b0c"> <img width="1680" alt="Screenshot 2023-07-24 at 1 43 59 PM" src="https://github.com/AnshKathpal/dizzy-vase-3091/assets/115460552/21a08537-5d44-46c0-8da9-5df9c0969b10"<img width="1680" alt="Screenshot 2023-07-24 at 1 44 09 PM" src="https://github.com/AnshKathpal/dizzy-vase-3091/assets/115460552/ffc6737b-9866-4b41-a378-cb8682476c21"> >
Working with others, in a spirit of generosity and mutual respect, we want to help build a world where all people can lead free and dignified lives. Our job listings include opportunities spanning a variety of nonprofits, social-impact businesses, and corporate social responsibility (CSR) initiatives.
chakra-ui,javascript,mongodb,nodejs,react,redux
2023-07-17T13:56:28Z
2023-07-24T09:17:46Z
null
4
35
95
3
3
2
null
null
JavaScript
nishant7372/TypeIt-main
main
# TypeIt - Typing Game TypeIt is an engaging and challenging typing game built using React and powered by Firebase. Sharpen your typing skills, improve your accuracy, and compete against your friends to achieve the highest scores. This README provides a comprehensive guide on how to set up, install, and run the game, as well as an overview of its features. ## Features - **Typing Practice**: TypeIt provides an interactive and fun way to practice your typing skills. Improve your speed and accuracy with various game modes and difficulty levels. - **Firebase Integration**: Scores and user data are stored securely in Firebase, allowing you to keep track of your progress and compete with others. - **Real-time Leaderboard**: Compete against other players in real-time and see who can type the fastest. The leaderboard updates dynamically as new scores are submitted. ## Installation 1. Clone the repository: ```bash gh repo clone nishant7372/TypeIt-main ``` 2. Install dependencies: ```bash npm install ``` 3. Set up Firebase: - Create a Firebase project at https://console.firebase.google.com. - Add a new web app to your project and copy the Firebase configuration. - Create a `.env` file in the project root and add your Firebase configuration: ```env VITE_FIREBASE_API_KEY=your-api-key VITE_FIREBASE_AUTH_DOMAIN=your-auth-domain VITE_FIREBASE_PROJECT_ID=your-project-id VITE_FIREBASE_STORAGE_BUCKET=your-storage-bucket VITE_FIREBASE_MESSAGING_SENDER_ID=your-messaging-sender-id VITE_FIREBASE_APP_ID=your-app-id ``` 4. Run the development server: ```bash npm run dev ``` Visit `http://localhost:5173/` in your browser to play the game. ## How to Play 1. Choose a game mode from the main menu. 2. Start typing the displayed text as fast and accurately as you can. 3. Once you finish, your score will be submitted to the leaderboard if you are signed in.
Tally Code Brewers Hackathon project
css3,firebase,firebase-auth,firestore-database,hacakthon,html,javascript,reactjs,tailwindcss
2023-07-20T17:18:53Z
2023-07-22T03:39:50Z
null
3
8
45
0
0
2
null
MIT
JavaScript
psykat1116/Color-World
main
# Color-World All Shades Of Colors Pallete Catagorised in Different Ways For Designing UI Using HTML,CSS,JS Project is hosted at [https://psykat1116.github.io/Color-World/](https://psykat1116.github.io/Color-World/)
All Shades Of Colors Pallet Categorized in Different Ways For Designing UI Using HTML, CSS, JS
css3,html5,javascript,web-development,color,color-palettes,color-picker,color-scheme,color-schemes
2023-07-13T06:03:29Z
2023-09-17T12:53:25Z
null
1
0
11
0
0
2
null
null
JavaScript
ParmeshwarMurmu/ParmeshwarMurmu.github.io
gh-pages
null
Welcome to my portfolio! I'm proficient in a wide range of technologies including HTML, CSS, Express, Redux, React, Node.js, and MongoDB. With a passion for creating seamless user experiences, I specialize in building dynamic web applications. One of my notable projects is an E-commerce website, where I leveraged these skills to deliver a feature-r
css,html,javascript,react,chakra-ui
2023-07-10T10:07:51Z
2024-02-25T07:32:12Z
null
1
0
132
0
0
2
null
null
HTML
DiogoAMV/my-portfolio
main
<p align="center"> <img src="preview.png" alt="portfolio" width="480px"/> </p> <h1 align="center">DiogoAMV</h1> <h3 align="center"> :rocket: Meu portfólio pessoal. 🚀 </h3> # :computer: Tecnologias Este projeto foi feito utilizando as seguintes tecnologias: Front-end: * [clsx](https://github.com/lukeed/clsx) * [framer-motion](https://www.framer.com/motion/) * [Next.js](https://nextjs.org/) * [Tailwind CSS](https://tailwindcss.com/) * [tailwind-merge](https://github.com/benface/tailwind-merge) * [react-icons](https://react-icons.github.io/react-icons/) * [react-markdown](https://github.com/remarkjs/react-markdown) * [react-hotkeys-hook](https://github.com/JohannesKlauss/react-hotkeys-hook) * [react-fast-marquee](https://github.com/lijinke666/react-fast-marquee) * [TypeScript](https://www.typescriptlang.org/) ## Como Iniciar? ### Requisitos - [Node.js](https://nodejs.org/en/) - [Yarn](https://classic.yarnpkg.com/) ou [npm](https://www.npmjs.com/package/npm) **Clone o projeto e acesse a pasta** ```bash git clone https://github.com/DiogoAMV/my-portfolio.git && cd my-portfolio ``` **Siga os passos abaixo** ```bash # Na pasta raiz do projeto, acesse a pasta 'web' $ cd web # Instale as dependências $ npm install # Inicie a aplicação $ npm run dev ``` ## :memo: Licença Esse projeto está sob a licença MIT. Veja o arquivo [LICENSE](LICENSE.md) para mais detalhes. --- Feito com :purple_heart: by [Diogo Marques](https://github.com/DiogoAMV) [![Linkedin Badge](https://img.shields.io/badge/-Diogo%20Marques-blue?style=flat-square&logo=Linkedin&logoColor=white&link=https://www.linkedin.com/in/diogomarques/)](https://www.linkedin.com/in/diogo-amv/) [![Gmail Badge](https://img.shields.io/badge/-contato.diogoamv@gmail.com-c14438?style=flat-square&logo=Gmail&logoColor=white&link=mailto:contato.diogoamv@gmail.com)](mailto:diogo.amv19@gmail.com)
📖 Meu portfólio pessoal
api,backend,css,hmtl,javascript,js,modal,nextjs,nodejs,react
2023-07-11T22:44:24Z
2024-02-20T18:32:05Z
null
1
0
355
0
0
2
null
null
TypeScript
fabianlopezdev/fetch-wordpress-api
main
# Fetch WordPress API [![npm version](https://badge.fury.io/js/fetch-wordpress-api.svg)](https://badge.fury.io/js/fetch-wordpress-api) ![WordPress](https://img.shields.io/badge/WordPress-%23117AC9.svg?style=flat&logo=WordPress&logoColor=white) ![TypeScript](https://img.shields.io/badge/typescript-%23007ACC.svg?style=flat&logo=typescript&logoColor=white) ![JavaScript](https://img.shields.io/badge/javascript-%23323330.svg?style=flat&logo=javascript&logoColor=%23F7DF1E) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=Fabs-and_fetch-wordpress-api&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=Fabs-and_fetch-wordpress-api) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=Fabs-and_fetch-wordpress-api&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=Fabs-and_fetch-wordpress-api) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=Fabs-and_fetch-wordpress-api&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=Fabs-and_fetch-wordpress-api) This module provides a set of utility functions for interacting with a headless WordPress CMS via the WordPress REST API. It includes functions for fetching posts, pages, and categories, with support for custom fields and query parameters. Installation To install the package, run the following command: ``` npm install fetch-wordpress-api ``` ## Usage Before using the package's functions, you need to configure the `BASE_URL` variable by calling the `configure` function and passing an object with the `BASE_URL` property set to the base URL of your WordPress site. Here's an example of how to configure the `BASE_URL` and use the package's functions: ```typescript import { configure, fetchPosts, PostFields } from 'fetch-wordpress-api'; configure({ BASE_URL: 'https://example.com' }); // This will return an array of posts objects const posts = await fetchPosts(); // Fetch only 5 posts const posts = await fetchPosts(5); // Fetch 3 posts containing only the title, content, and categories const postFields: PostFields[] = ['title', 'content', 'categories']; // Remember to import the type PostFields to get suggestions about the post fields available and to avoid passing anything other than a possible field. const posts = await fetchPosts(3, postFields); ``` Each function in this module performs a fetch request to a specific WordPress API endpoint. They return a Promise that resolves with the fetched data as a JSON object or rejects with an Error if the fetch request fails. Please refer to the source code and TypeScript type definitions for detailed information on the available functions and their parameters. ## API The package includes the following utility functions: - **`configure(options)`:** This function sets up the package by using the provided options. It's crucial to use this function first in order to establish a connection with your Wordpress domain. `configure({BASE_URL: 'your-wordpress-domain'}).` - **`fetchData(endpoint?, query?)`:** Main function that all other utility functions use to retrieve data. - **`fetchPosts(quantity?, postFields?)`:** Retrieve either all posts or a specified number of posts. You can specify the fields you want returned for each post. `fetchPosts(5, ['id', 'title']).` **Note:** `fetchPosts()` with no arguments will retrieve all posts with all fields. If you still want to retrieve all posts, but just with certain fields (as opposed to all of them), you can pass -1 in quantity: `fetchPosts(-1, ['id', 'title'])` - **`fetchPostsInCategory(categoryId, postFields?, quantity?)`:** Retrieve posts from a specific category. You can specify the fields you want returned for each post and limit the number of posts. `fetchPostsInCategory(1, ['id', 'title'], 5).` - **`fetchPostBySlug(slug, postFields?)`:** Retrieve a post using its slug. You can specify the fields you want returned. `fetchPostBySlug('your/post-slug', ['id', 'title']).` - **`fetchPostById('id', postFields?)`:** Retrieve a post by its ID. You can specify the fields you want returned. `fetchPostById(123, ['id', 'title']).` - **`fetchAllCategories(categoryFields?)`:** Retrieve all categories. You can specify the fields you want for each category. `fetchAllCategories(['id', 'name']).` - **`fetchPages(quantity?, pageFields?)`**: Retrieve a specified number of pages. You can specify the fields you want returned for each page. `fetchPages(5, ['id', 'title']).` **Note:** `fetchPages()` with no arguments will retrieve all pages with all fields. If you still want to retrieve all pages, but just with certain fields (as opposed to all of them), you can pass -1 in quantity: `fetchPages(-1, ['id', 'title'])` - **`fetchPageBySlug(slug, pageFields?)`:** Retrieve a page using its slug. You can specify the fields you want returned. `fetchPageBySlug('page-slug', ['id', 'title']).` - **`fetchPageById(id, pageFields?)`:** Retrieve a page by its ID. You can specify the fields you want returned. `fetchPageById(123, ['id', 'title']).` For more detailed information on the available functions and their parameters, please refer to the source code and TypeScript type definitions. ## Importing Types In addition to importing the functions, you can also import the Typescript types from this package. This can be useful when working with the functions and their return values in a Typescript project. To import the types, simply include them in your import statement: ```typescript import type { CategoryFields } from 'fetch-wordpress-api'; ``` By importing the types, you can benefit from TypeScript's type checking and autocompletion features when using this package. These are the types available to use in your application: ```typescript type Post = { author: number; categories: number[]; comment_status: string; content: { rendered: string }; date: string; date_gmt: string | null | Date; excerpt: { rendered: string }; featured_media: number; format: string; guid: string; id: { rendered: string; raw: string }; link: string | Url; meta: Record<string, string | number | boolean | any[] | Record<string, any>>; modified: string | Date; modified_gmt: string | Date; ping_status: string; slug: string; status: string; sticky: string; tags: number[]; template: string; title: { rendered: string }; type: string; }; export type PostFields = | 'author' | 'categories' | 'comment_status' | 'content' | 'date' | 'date_gmt' | 'excerpt' | 'featured_media' | 'format' | 'guid' | 'id' | 'link' | 'meta' | 'modified' | 'modified_gmt' | 'ping_status' | 'slug' | 'status' | 'sticky' | 'tags' | 'template' | 'title' | 'type'; type Category = { count: number; description: string; id: number; link: string; meta: Record<string, string | number | boolean | any[] | Record<string, any>>; name: string; slug: string; taxonomy: string; }; export type CategoryFields = | 'count' | 'description' | 'id' | 'link' | 'meta' | 'parent' | 'name' | 'slug' | 'taxonomy'; export type PageFields = | 'author' | 'comment_status' | 'content' | 'date' | 'date_gmt' | 'excerpt' | 'featured_media' | 'generated_slug' | 'guid' | 'id' | 'link' | 'menu_order' | 'meta' | 'modified' | 'modified_gmt' | 'password' | 'permalink_template' | 'ping_status' | 'slug' | 'status' | 'template' | 'title' | 'type'; type Page = { author: number; comment_status: 'open' | 'closed'; content: { rendered: string; raw?: string; protected?: boolean; }; date: string | null; date_gmt: string | null; excerpt: { rendered: string; raw?: string; protected?: boolean; }; featured_media: number; generated_slug: string; guid: { rendered: string; }; id: number; link: string; menu_order: number; meta: Record<string, any>; modified: string; modified_gmt: string; parent: number; password: string; permalink_template: string; ping_status: 'open' | 'closed'; slug: string; status: 'publish' | 'future' | 'draft' | 'pending' | 'private'; template: string; title: { rendered: string; raw?: string; }; type: 'page'; }; ``` ## Contributing If you'd like to contribute to this project, please feel free to submit a pull request or open an issue on the GitHub repository. ## License This package is released under the MIT License.
Easy fetching from the Wordpress API
headless,javascript,rest,rest-api,typescript,wordpress,wordpress-api,wp,headless-wodpress
2023-07-16T23:34:51Z
2023-10-20T19:35:25Z
null
1
0
85
0
0
2
null
null
TypeScript
ahmadthakur/bookfetch
master
# BookFetch BookFetch is a web application built with React and Node.js that aims to provide an improved experience for searching and downloading books from Libgen (Library Genesis). With BookFetch, users can easily search for books, view book details, and download them with just a few clicks. <img src="./images/msedge_BzIwMn6ZHm.png" alt="Screenshot" width="400" /> <img src="./images/msedge_Sg249hvoPQ.png" alt="Screenshot" width="400" /> <img src="./images/msedge_rUUyefJjI9.png" alt="Screenshot" width="400" /> ## Features - Search: Users can enter keywords or specific book titles to search for books available on Libgen. - Book Details: Detailed information about each book, such as title, author, publication year, and description, is displayed on the book details page. - Download: Users can download books directly from Libgen with a simple download button. - User-Friendly Interface: The React-based frontend provides a responsive and intuitive interface for seamless browsing and interaction. ## Technologies Used - React: A JavaScript library for building user interfaces. - Node.js: A JavaScript runtime environment for executing server-side code. - Express: A lightweight web application framework for Node.js used to handle backend API requests. - Axios: A promise-based HTTP client for making HTTP requests from the Node.js server. - Cheerio: A fast and flexible library for web scraping in Node.js, used to scrape book data from Libgen. ## Setup and Installation ### Frontend ```` 1. Clone the repository: ```shell git clone https://github.com/ahmadthakur/bookfetch.git ```` 2. Navigate to the frontend directory: ```shell cd bookfetch/frontend ``` 3. Install frontend dependencies: ```shell npm install ``` 4. Start the frontend development server: ```shell npm start ``` 5. Open your web browser and navigate to `http://localhost:3000` to access the ReactLibgen frontend. ### Backend 1. In a separate terminal window, navigate to the backend directory: ```shell cd bookfetch/backend ``` 2. Install backend dependencies: ```shell npm install ``` 3. Start the backend server: ```shell npm start ``` The backend server will run on `http://localhost:8000` by default.
A wrapper for Libgen with a nice looking frontend
axios,cheerio,expressjs,nodejs,react,javascript,webscrapping
2023-07-09T01:12:22Z
2024-03-07T02:39:04Z
null
1
3
25
0
0
2
null
null
JavaScript
AdingApkgg/HTML-Records
main
# HTML记录 这里记录了一些我的HTML练习与收集的项目..
这里记录了一些我的HTML练习与收集的项目..
css,css3,demo,html,html5,javascript,records,test
2023-07-01T18:39:53Z
2024-05-22T15:55:07Z
null
1
0
46
0
0
2
null
MIT
HTML
CobbyElsonfx/Awesome-Books-App-ES6
master
<a name="readme-top"></a> <!-- TABLE OF CONTENTS --> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [🚀 Live Demo](#live-demo) - 💻 [Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [Deployment](#deployment) - [👥 Authors](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [📝 License](#license) <!-- PROJECT DESCRIPTION --> # 📖 Awesome Books Project With ES6 <a name="about-project"></a> **The Awesome Books Project With ES6** is web application that uses ES6 syntax and modules file structure for organisation of code. ## 🛠 Built With <a name="built-with"></a> ### Tech Stack <a name="tech-stack"></a> <details> <summary>Client</summary> <ul> <li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a></li> <li><a href="https://developer.mozilla.org/en-US/docs/Web/CSS">CSS</a></li> <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript">JS</a></li> </ul> </details> <!-- Features --> ### Key Features <a name="key-features"></a> - **Uses ES6** - **Makes use of linters for Quality code** - **Allows users to add and delete books** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LIVE DEMO --> ## 🚀 Live Demo <a name="live-demo"></a> - [Live Demo Link](https://cobbyelsonfx.github.io/Awesome-Books-App-ES6/) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- GETTING STARTED --> ## 💻 Getting Started <a name="getting-started"></a> To get a local copy up and running, follow these steps. ### Prerequisites In order to run this project you need: - An IDE (ex: VS Code) - Github account ### Setup Clone this repository to your desired folder: ```sh cd project-folder git clone https://github.com/CobbyElsonfx/Awesome-Books-App-ES6.git ``` ### Deployment You can deploy this project using: - Go to github.com - Create a new repository - Add all website files in the new repository - Go to Settings/Pages - Go to branch and change from 'none' to 'main' - Click Save <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 👥 Authors <a name="authors"></a> 👤 **Francis Andoh** - GitHub: [@CobbyElsonfx](https://github.com/CobbyElsonfx) - LinkedIn: [@FrancisAndoh](https://www.linkedin.com/in/francis-andoh-133aa7245/) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FUTURE FEATURES --> ## 🔭 Future Features <a name="future-features"></a> - [ ] **Adding more sections** - [ ] **Adding more stylings** - [ ] **Implement Javascript** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- CONTRIBUTING --> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](../../issues/). <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- SUPPORT --> ## ⭐️ Show your support <a name="support"></a> If you like this project please share with your friends and family! <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ACKNOWLEDGEMENTS --> ## 🙏 Acknowledgments <a name="acknowledgements"></a> I would like to thank my Coding Partner Feli for helping me do this project <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LICENSE --> ## 📝 License <a name="license"></a> This project is [MIT](./MIT.md) licensed. <p align="right">(<a href="#readme-top">back to top</a>)</p>
The Awesome Books Project With ES6** is web application that uses ES6 syntax and modules file structure for organisation of code, and it basically allows you to add and remove books using local storage
es6,html-css,javascript,localstorage,modules
2023-07-13T16:27:57Z
2023-09-10T11:44:31Z
null
1
1
15
0
0
2
null
null
JavaScript
anasrashid-1/Haan-Project
main
null
Explore the world of HAAN, where personal care meets style. This repository showcases our ecommerce website, offering a disruptive approach to care products.
ecommerce,javascript,localstorage
2023-07-03T08:47:07Z
2023-07-08T08:21:33Z
null
5
3
41
0
1
2
null
null
HTML
daniel-oliv3/x-men_dev2
main
null
Projeto de um Landing Page com HTML CSS JavaScript
css,html,javascript
2023-07-05T13:37:18Z
2023-07-31T12:52:05Z
null
1
0
12
0
0
2
null
null
HTML
Mk4Levi/ChatGPT-Demo-Clone
main
# My ChatGPT Demo Clone ## => This is my CHAT-GPT CLone built with React.js which aims to develop a conversational AI system inspired by OpenAI's GPT architecture. ## Website Link => https://mk-chatgpt-demo-clone.vercel.app/ ## Project's Screenshots => ![image](./src/assets/ss.png) <h2>Getting Started</h2> 1. To get started with this project, you will need to have `Node.js` and `NPM` installed on your system. 2. First, you need to open a `Terminal` in your system and `Clone` this repository by using : ```bash git clone https://github.com/Mk4Levi/ChatGPT-Demo-Clone.git ``` 3. Navigate to the Project's directory : ```bash cd ChatGPT-Demo-Clone ``` 4. Install all Dependencies used in this Project : ```bash npm install ``` 5. Finally, host it on local server : ```bash npm run dev ``` 6. Now just search this link in your browser to view the live running application in your Local sysytem : ```bash http://localhost:5173 ``` <h2>Paths & Files</h2> ### Structure of the Folders & Files in this Repo : ```text . ├── public/ ├── src │ ├── assets/ │ ├── components/ │ └──Home.jsx | └──OptionSelection.jsx │ └──Translation.jsx │ └──optionsDB.js │ └──index.js │ ├── css/ │ └──App.css | └──index.css │ ├── App.jsx │ ├── index.jsx | ├── .eslintrc ├── .gitignore ├── index.html ├── package-lock.json ├── package.json ├── README.md ├── vite.config.js ``` # Thank You
My ChatGPT Clone built with OpenAI-API and React.js which aims to develop a conversational AI system inspired by OpenAI's GPT architecture.
css,eslint,html,javascript,openai-api,react-components,react-effect,react-state,reactjs
2023-07-03T05:35:56Z
2023-07-09T01:38:38Z
null
1
7
22
0
0
2
null
null
JavaScript
indomyzz/SwagMuseum
main
null
"STILL NOT FINISHED!" A Clothing Brand Website Called SwagMuseum Made By Me it Contain Tees ,Hoodies , Hats ,Shorts And Accessories.
branding,clothing,clothing-store,css,css-grid,css3,html,html-css,html-css-javascript,html5
2023-07-13T22:03:29Z
2023-08-17T15:33:23Z
null
1
0
130
0
0
2
null
null
CSS
cbolson/got-targets
main
# Game Of Thrones Targets # Description Game of Thrones Target lists developed as an icodethis.com daily challenge (link below) # About - Data retrieved from GOT thrones api - CSS and JavaScript challenge to recreates visuals - Uses Tailwind - Multiple players defined with default targets and possibility to add more. # Links - [icodethis.com challenge](https://icodethis.com/challenges/249) - [demo](https://icodethis.com/submissions/18642) - [Game of Thrones API](https://thronesapi.com)
Game of thrones icodethis challenge
challenge,css,javascript,tailwind
2023-07-10T11:09:35Z
2023-07-10T15:09:35Z
null
1
0
3
0
0
2
null
null
HTML
sevcak/literallyme
main
null
need help picking your personality for this month?
javascript,onepage,react,typescript
2023-07-16T13:02:22Z
2023-07-17T07:30:29Z
null
1
0
22
0
0
2
null
null
TypeScript
adarraji/nextjs-blog
main
# Next.js Fullstack Application Next.js Fullstack Application. It inlcudes home, portfolio, blog, about, contact and dashboard pages. These pages were created using Next.js app router. This app uses MongoDB database. There is a dark mode toggle button. Context API is used for dark mode and light mode. NextAuth.js is used for Authintication. Users can register, create a new account, and login with user credentials or login using Google account. After login users will see the protected dashbaord that shows the user's posts and will be able to add new posts. Users can delete their own posts. You can see the website [here](https://nextjsblog2.netlify.app) To run the application 1. Clone this repo 2. Run `npm install` 3. Run `npm run dev` Open [http://localhost:3000](http://localhost:3000) with your browser ## Built With * HTML * CSS * Javascript * Next.js * MongoDB / Mongoose * NextAuth.js * Google Cloud as auth provider * bcryptjs * Context API <br /> ## Environmental Variables ### MongoDB URL In `src/utils/db.js` replace `process.env.MONGO` with your MongoDB url <br /> ### BASE URL Replace `process.env.BASE_URL` with the api base url in: * `src/app/blog/page.jsx` Example: `http://localhost:8800/api` <br /> ### Google Cloud Auth In `src\app\api\auth\register\route.js` Add the Client ID `GOOGLE_CLIENT_SECRET` and Client secret `GOOGLE_CLIENT_SECRET` from Google cloud Credentials in APIs & Services for more information: * [Next Auth.js Google Provider](https://next-auth.js.org/providers/google) * [Google Cloud APIs Credentials](https://console.developers.google.com/apis/credentials) * [Using OAuth 2.0 to Access Google APIs](https://developers.google.com/identity/protocols/oauth2) Also you need to add your server URI in Authorized JavaScript origins (for example http://localhost:8800) in Google cloud web application <br /> ### NEXTAUTH_SECRET Used to encrypt the NextAuth.js JWT, and to hash email verification tokens. This is the default value for the secret option in NextAuth and Middleware. For more information * [Auth.js OAuth authentication - Configuring Auth.js](https://authjs.dev/getting-started/oauth-tutorial#1-configuring-authjs) * [NEXTAUTH_SECRET](https://next-auth.js.org/configuration/options#nextauth_secret) `NEXTAUTH_SECRET="This is an example"` <br /> ### NEXTAUTH_URL When deploying your site, you need to set the NEXTAUTH_URL environment variable to the canonical URL of your website: `NEXTAUTH_URL=https://example.com` For more information * [Auth.js OAuth authentication - Deploying to production](https://authjs.dev/getting-started/oauth-tutorial#4-deploying-to-production) <br /> ## Deployment Deployed on [Netlify](https://netlify.com) You can see the website [here](https://nextjsblog2.netlify.app) <br /> ## Authors - **Ali Darraji** - [https://github.com/adarraji](https://github.com/adarraji) <br /> ## Deploy status [![Netlify Status](https://api.netlify.com/api/v1/badges/a338ecac-c5a1-4ba2-bf7d-186ab51bbc49/deploy-status)](https://app.netlify.com/sites/nextjsblog2/deploys) <br /> ## Screenshots <br /> ![Image 1](public/images/image-01.png) <br /> <br /> ![Image 2](public/images/image-02.png) <br /> <br /> ![Image 3](public/images/image-03.png) <br /> <br /> ![Image 4](public/images/image-04.png) <br /> <br /> ![Image 5](public/images/image-05.png) <br /> <br /> ![Image 6](public/images/image-06.png) <br /> <br /> ![Image 7](public/images/image-07.png) <br /> <br /> <br /> <br /> <br />
Next.js FullStack Application
bcrypt,bcryptjs,context,context-api,css,html,javascript,mongodb,mongoose,next-auth
2023-07-01T17:36:26Z
2023-07-21T01:57:47Z
null
1
0
137
0
0
2
null
null
JavaScript
anshul-010/Credit-Folio
main
<h1>CREDIT-FOLIO React App</h1> <h4> To run the Credit Folio website click below link</h4> <ul> <li><a href="https://jocular-bavarois-89af42.netlify.app/"> click here </a></li> </ul> <div> <p>The CREDIT-FOLIO React App is a modern web application designed to manage credit scores and related data. This application is developed by a team of three talented developers: Shivam Verma, Anshul Kushwah, and Shashikant Yadav</p> <br /> <h2>Features</h2> <h3>React/Redux Architecture </h3> <p>The application is built using React and Redux, ensuring a smooth and efficient flow of data between components. Redux facilitates state management, making the app more scalable and maintainable. </p> <h3>Responsive Design</h3> <p>The CREDIT-FOLIO app is fully responsive and can be accessed from various devices, including desktops, tablets, and smartphones. The user interface adapts gracefully to different screen sizes, ensuring an optimal user experience </p> <h3>Sorting & Filtering </h3> <p>Users can easily sort and filter credit score data based on different criteria, such as account status and Credit Amount, etc. This functionality enables users to quickly find the information they need. </p> <h3>CRUD Operations </h3> <p>The app allows users to perform essential CRUD (Create, Read, Update, Delete) operations on credit score data. Admin can add new records, view existing ones, modify credit scores, and delete outdated entries. </p> <h3>Admin Page </h3> <p>An admin page is included in the app to manage user roles, permissions, and other administrative tasks. The admin dashboard provides a secure and intuitive interface for authorized personnel to manage the system efficiently. </p> <h3>Login/SignUp Functionality </h3> <p> The app features a secure login and signup system to protect sensitive credit score data. Users can create accounts, log in with their credentials, and access their personalized data securely.</p> <h3>Chakra-UI Integration </h3> <p> The CREDIT-FOLIO app utilizes Chakra-UI, a popular React UI framework, to ensure a consistent and aesthetically pleasing design across all components. Chakra-UI's powerful styling capabilities enhance the overall user experience.</p> <h2>Team Members </h2> <ul> <li><a href="https://github.com/shivamvr">Shivam Verma</a></li> <li><a href="https://github.com/anshul-010">Anshul kushwah</a></li> <li><a href="https://github.com/shashi310">Shashikant Yadav</a></li> </ul> </div> <div> <div> <h3> Landing Page </h3> <img src="https://i.ibb.co/4sBGFgH/download-7.png"/> </div> <div> <h3>Home Page </h3> <img src="https://i.ibb.co/T2ts1s8/download-11.png"/> </div> <div> <h3> Credit Info Page </h3> <img src="https://i.ibb.co/pdvgmpK/download-9.png"/> </div> <div> <h3> Account Information </h3> <img src="https://i.ibb.co/Rvz93nk/download-10.png"/> </div> <div> <h3> Admin Page </h3> <img src="https://i.ibb.co/JvM2Qb8/download-8.png"/> </div> </div>
The CREDIT-FOLIO React App is a modern web application designed to manage credit scores and related data Access your credit report online. Get a clear overview of your financial history and credit score.
chakra-ui,css3,html5,javascript,reactjs,redux
2023-07-18T14:06:14Z
2023-12-13T15:06:24Z
null
3
19
59
0
1
2
null
null
JavaScript
typicalninja/download-github-files
main
null
Download Individual Directories from github easy and fast
download,download-directory,downloader,github,javascript,react,typescript,downloader-for-github
2023-07-20T18:20:19Z
2023-11-25T13:06:34Z
null
1
0
66
0
0
2
null
GPL-3.0
TypeScript
harshmangalam/qwik-jobs
main
# Qwik City App ⚡️ - [Qwik Docs](https://qwik.builder.io/) - [Discord](https://qwik.builder.io/chat) - [Qwik GitHub](https://github.com/BuilderIO/qwik) - [@QwikDev](https://twitter.com/QwikDev) - [Vite](https://vitejs.dev/) --- ## Project Structure This project is using Qwik with [QwikCity](https://qwik.builder.io/qwikcity/overview/). QwikCity is just an extra set of tools on top of Qwik to make it easier to build a full site, including directory-based routing, layouts, and more. Inside your project, you'll see the following directory structure: ``` ├── public/ │ └── ... └── src/ ├── components/ │ └── ... └── routes/ └── ... ``` - `src/routes`: Provides the directory-based routing, which can include a hierarchy of `layout.tsx` layout files, and an `index.tsx` file as the page. Additionally, `index.ts` files are endpoints. Please see the [routing docs](https://qwik.builder.io/qwikcity/routing/overview/) for more info. - `src/components`: Recommended directory for components. - `public`: Any static assets, like images, can be placed in the public directory. Please see the [Vite public directory](https://vitejs.dev/guide/assets.html#the-public-directory) for more info. ## Add Integrations and deployment Use the `yarn qwik add` command to add additional integrations. Some examples of integrations includes: Cloudflare, Netlify or Express Server, and the [Static Site Generator (SSG)](https://qwik.builder.io/qwikcity/guides/static-site-generation/). ```shell yarn qwik add # or `yarn qwik add` ``` ## Development Development mode uses [Vite's development server](https://vitejs.dev/). The `dev` command will server-side render (SSR) the output during development. ```shell npm start # or `yarn start` ``` > Note: during dev mode, Vite may request a significant number of `.js` files. This does not represent a Qwik production build. ## Preview The preview command will create a production build of the client modules, a production build of `src/entry.preview.tsx`, and run a local server. The preview server is only for convenience to preview a production build locally and should not be used as a production server. ```shell yarn preview # or `yarn preview` ``` ## Production The production build will generate client and server modules by running both client and server build commands. The build command will use Typescript to run a type check on the source code. ```shell yarn build # or `yarn build` ``` ## Express Server This app has a minimal [Express server](https://expressjs.com/) implementation. After running a full build, you can preview the build using the command: ``` yarn serve ``` Then visit [http://localhost:8080/](http://localhost:8080/)
Find companies looking to hire Qwik developers or post a job if you are hiring Qwik developers.
auth,daisyui,express,javascript,nodejs,postgresql,prisma,qwik,qwik-city,stripe
2023-07-07T10:24:45Z
2023-07-29T07:12:20Z
null
1
0
152
0
0
2
null
null
TypeScript
Prajjwal-Chauhan/Wordle-Clone
main
# 🎮 Wordle Game Clone Welcome to the Wordle Game Clone repository! 🎉 This repository contains a fun and interactive Wordle game clone built using HTML, CSS, and JavaScript. The game challenges players to guess a hidden five-letter word by making consecutive guesses and receiving feedback on their progress. ## Game Features ⭐ Players can guess a five-letter word by selecting letters from the alphabet. ⭐ The game provides feedback on the correctness of each guess, indicating correct letters and their correct positions. ⭐ Players can reset the game and start over at any time. ⭐ The game supports dictionary lookup for valid words and provides hints if needed. ## Game ScreenShots ![Screenshot 2023-07-13 11 55 13](https://github.com/Prajjwal-Chauhan/Wordle-Clone/assets/83890311/37c2e28a-26e2-413f-b271-2a4546c8d676) ![Screenshot 2023-07-13 115533](https://github.com/Prajjwal-Chauhan/Wordle-Clone/assets/83890311/323e7540-636c-4d0b-b01b-db3a74a85e64) ![Screenshot 2023-07-13 11 55 50](https://github.com/Prajjwal-Chauhan/Wordle-Clone/assets/83890311/6ce0fe9a-6e75-4474-87ac-25153c6b5293) ![Screenshot 2023-07-13 11 59 09](https://github.com/Prajjwal-Chauhan/Wordle-Clone/assets/83890311/da824849-4810-448b-9036-1b9d23e833a2) ## Technologies Used The following technologies and libraries were used to develop this Wordle game clone: 🔧 HTML\ 🎨 CSS\ 💻 JavaScript\ 📦 Axios (npm library)\ 🔒 Cors (npm library)\ ⚡ Express (npm library)\ 🔁 Nodemon (npm library)\ 🔑 Dotenv (npm library) ## APIs Used Two APIs were integrated into the game for additional functionality: 1. [**Dictionary API**](https://rapidapi.com/twinword/api/word-dictionary/?utm_source=ANIA-KUBOW&utm_medium=DevRel&utm_campaign=DevRel): This API allows the game to perform dictionary lookups to validate words. It ensures that players only guess valid words. The API used for this purpose is from RapidAPI. 2. [**Five-Letter Word Generator API**](https://rapidapi.com/apininjas/api/random-word-by-api-ninjas/): This API generates a random five-letter word for the player to guess. It provides a new word for each game session. The API used for this purpose is from RapidAPI. ## How to Run the Game To run the Wordle game clone locally on your machine, follow these steps: 1️⃣ Clone this repository to your local machine using Git or download it as a ZIP file and extract it. 2️⃣ Install the required dependencies by running the following command in the project's root directory: ```shell npm install ``` 3️⃣ Set up environment variables by creating a `.env` file in the project's root directory and adding the necessary configuration. For example: ```plaintext RAPIDAPI_KEY=your-api-key ``` Replace `your-api-key` with the actual API key obtained from RapidAPI. 4️⃣ Run the game using the following command: First run the backend by navigating to `index.js` file, open the terminal and run the command: ```shell npm run start:backend ``` This will start fetching both the API's from your rapid API key. 5️⃣ Now navigate to `index.html` file. If you are having a live server then click on `Go Live`. It will navigate you to your localhost. The game will start as soon as you go live. ## Contribution Guidelines Contributions to this project are welcome! 🙌 If you have suggestions for improvements or would like to add new features, please follow these steps: 1️⃣ Fork the repository and clone it to your local machine. 2️⃣ Create a new branch for your feature or bug fix: ```shell git checkout -b feature/your-feature ``` 3️⃣ Make your changes and test them thoroughly. 4️⃣ Commit your changes with clear and descriptive commit messages: ```shell git commit -m "Add feature/fix: description of changes" ``` 5️⃣ Push your branch to your forked repository: ```shell git push origin feature/your-feature ``` 6️⃣ Open a pull request on the original repository and provide a detailed description of your changes. 7️⃣ Wait for the maintainers to review your pull request. Once approved, your changes will be merged. ## License This project is licensed under the [GNU General Public License v3.0](LICENSE). 📝 ## Acknowledgements Special thanks to RapidAPI for providing the Dictionary API and Five-Letter Word Generator API, which enhance the gameplay experience. 👏
This repository contains a fun and interactive Wordle game clone built using HTML, CSS, and JavaScript. The game challenges players to guess a hidden five-letter word by making consecutive guesses and receiving feedback on their progress.
css,html,javascript,npm,rapid-api
2023-07-08T14:11:35Z
2023-07-13T06:40:02Z
null
1
0
5
0
2
2
null
GPL-3.0
JavaScript
antonioalanxs/View-Transitions-API
main
# Experiments with Astro and the View Transitions API A dive into the View Transitions API: Explore its workflow, animations, room for improvements, advantages for both SPAs and MPAs and learn how to use the API on a Multi-Page Application (MPA). ## Table of Contents - [Preview](#preview) - [Article](#article) - [Introduction](#introduction) - [A fake SPA](#a-fake-spa) - [Animations](#animations) - [How roughly works](#how-roughly-works) - [Entire HTML Document](#entire-html-document) - [Different elements](#different-elements) - [Issues and Possible Improvements](#issues-and-possible-improvements) - [Latency](#latency) - [Race Conditions](#race-conditions) - [MPA vs SPA](#mpa-vs-spa) - [Conclusion](#conclusion) - [TL;DR](#tldr) - [License](#license) ## Preview https://github.com/antonioalanxs/View-Transitions-API/assets/79718376/42c4d2c3-431b-49b6-9cc8-7a731e84ba25 Check if your browser supports View Transitions API by [clicking here](https://caniuse.com/?search=View%20Transitions%20API). If not, you can enable the flag `chrome://flags/#document-transition` before taking the demonstration for a spin. [Go to the article](#article). ## Article ### Introduction Around three months ago, the Google Chrome team made an exciting announcement about a new API designed to deliver smooth and seamless transitions on the web: [View Transitions API](https://developer.chrome.com/docs/web-platform/view-transitions/). If you have not already, I highly recommend watching [Jake Archibald's presentation at Google I/O](https://www.youtube.com/watch?v=JCJUPJ_zDQ4&t=682s&ab_channel=GoogleChromeDevelopers) as it's quite thrilling. There are several appealing aspects of this API: its straightforward interface, remarkable flexibility, and the ability to fully customize transitions using CSS animations. However, it currently has one limitation – it only works with Single-Page Applications (SPAs). [The support for Multi-Page Applications (MPAs) is on their roadmap](https://github.com/WICG/view-transitions/blob/main/explainer.md#future-work), but **it is not available at the moment**. While waiting for MPA support is a valid option, if you are anything like me and can not wait to try it out on your server-side rendered applications, this repository explores how we can make that happen. [Go to TLDR](#tldr). ### A fake SPA We have a starting point – a server-side rendered MPA created using [Astro](https://astro.build/), consisting of two pages. Each time we navigate from one page to another, a completely new page is generated on the server, and the browser performs a full page load to display it. However, as mentioned earlier, the View Transitions API currently only supports SPAs. To make it work with our MPA, we need to grant it two super-powers typically reserved for client-side rendered applications: 1. A way to intercept navigation requests, and 2. A way to update a piece of the DOM with the markup from the next page. For handling **#1** we have access to [Navigation API](https://developer.chrome.com/docs/web-platform/navigation-api/) for intercepting navigation requests. ```JavaScript const titleRegEx = /<title>([\s\S]*)<\/title>/i; const scriptRegEx = /<(script|SCRIPT)[\s\S]*?<\/(script|SCRIPT)>/g; const bodyRegEx = /<body>([\s\S]*)<\/body>/i; function isSameOrigin(url) { return location.origin === url.origin; } window.navigation.addEventListener("navigate", (event) => { const destination = new URL(event.destination.url); if (!isSameOrigin(destination)) { return; } event.intercept({ async handler() { const html = await getHTMLFragment(destination.pathname); const [, newTitle] = html.match(titleRegEx); const [, newBody] = html.replace(scriptRegEx, "").match(bodyRegEx); updateTheDOMSomehow(newTitle, newBody); document.documentElement.scrollTop = 0; }, }); }); ``` The `getHTMLFragment` and `updateTheDOMSomehow` functions in the example above are what we need to implement to support **#2** in our SPA wishlist. As you might have guessed from their names, these functions are going to fetch a fragment of HTML from a server somewhere, and then update a piece of the DOM with the new data. ```JavaScript async function getHTMLFragment(pathname) { const response = await fetch(pathname); return await response.text(); } function updateTheDOMSomehow(newTitle, newBody) { document.startViewTransition(() => { document.title = newTitle; document.body.innerHTML = newBody; }); } ``` The workflow will be as follows: 1. For the initial request, nothing changes. The server renders the page as usual, and it is displayed on the browser just like a traditional MPA request. 2. When a user initiates a navigation request, such as clicking on a link, the Navigation API steps in and decides whether to handle the request on the client-side or let it go through to the server. 3. If the decision is to handle it on the client-side, we proceed by making a `fetch` request to the server to retrieve a pre-rendered fragment of the requested page. The server responds with a portion of HTML. 4. Finally, we take that HTML fragment and use it to update the DOM of the current page. From this point onward, all subsequent navigations are handled in the same way. ### Animations Now that we have what could be called a SPA at our disposal, we can proceed with the implementation of animations using the View Transitions API. #### How roughly works 1. When we invoke the `document.startViewTransition()`, Chrome captures a screenshot of the current page's state before any updates are made. This screenshot is placed on top of the page, allowing us to modify the DOM underneath while preserving the original UI appearance. 2. Once the DOM is updated with the new HTML fragment, Chrome takes another screenshot, reflecting the state of the page after the updates. The transition animation occurs between these two screenshots, with one animating in and the other animating out. 3. After the animation completes, both screenshots disappear, revealing the actual updated DOM once again. #### Entire HTML Document By default, the API animates the entire HTML document. We will get fade-in/fade-out animation, which looks something like this: <p align="center"> <img src="README-files/Transitions-1.gif" alt="Default fade in/out animation using the View Transitions API."> </p> The API gives a `transition-tag-name` of `root` to the HTML document, which we can target via CSS to customize the animation. `::page-transition-outgoing-image` and `::page-transition-incoming-image` pseudo-elements target the screenshot taken before and after the DOM updates, respectively. #### Different elements Moreover, we can give certain elements a **different transition tag name**. By giving an element its own transition tag name, Chrome will **cut a separate screenshot** for it so that it can be transitioned with a different animation than the rest of the page. In our case, we will give them to the title and book images. ```JavaScript // Title.astro --- const { isSmall = false } = Astro.props; let classes = "block max-w-sm mx-auto my-0 hover:scale-105 transition-transform"; if (isSmall) { classes += " scale-85 hover:scale-90"; } --- <a href="/" class={classes}> <img src="/title.svg" alt="Recommended Books" class="w-full h-full object-cover" style="view-transition-name: title" /> </a> ``` ```JavaScript // BookImage.astro --- const { id, title, img } = Astro.props; --- <img src={img} alt={`Cover image for ${title}`} class="aspect-book w-full h-full object-cover rounded" style={`view-transition-name: book-${id}`} /> ``` And here is the result: <p align="center"> <img src="README-files/Transitions-2.gif" alt="Final transition, with different elements on the page transitioning independently."> </p> ### Issues and Possible Improvements #### Latency The primary problem is the lack of handling latency when requesting fragments of HTML. While prefetching and caching assets can help to some extent, a more general solution is needed. One approach is to update the UI immediately with a placeholder that resembles the page being loaded. Once the actual data arrives, the placeholder can be replaced with the real content. However, this adds complexity, as each page would require placeholders for other pages it could transition to. Automating the generation of placeholders might be a possible solution but is not straightforward. #### Race Conditions Navigating through multiple pages quickly may lead to situations where the current URL does not match the displayed page. This occurs due to a conflict between instant URL updates and the time required for transition animations to resolve. To address this, the Navigation API offers an `AbortSignal` mechanism to cancel redundant navigation requests when the user clicks on different links rapidly. Additionally, the API provides a `transition.abandon()` method to jump directly to the final stage of transitions, which can help in scenarios where users spam the back button. Despite these solutions, it is challenging to handle all possible race conditions that users might encounter, and improvements in future API versions are hoped for. ### MPA vs SPA You might be wondering why we went through the effort of transforming an Astro MPA into a (somewhat) SPA just to utilize the View Transitions API. Would not it have been simpler to start with an SPA from the beginning? That's a valid question, but there are some crucial distinctions between our approach and a traditional SPA: - Rendering occurs entirely on the server (or during build time for Static Site Generation), rather than on the client-side. As a result, the client doesn't need to manage any state, handle events, use Virtual DOMs, or deal with other complexities commonly found in UI frameworks. - Client-side routing and animations are handled directly by the browser's API, eliminating the need to send a JavaScript library or framework to the client for this purpose. Furthermore, unlike traditional SPA routers, implementing route changes using the Navigation API doesn't require wrapping the entire application in it. ### Conclusion The View Transitions API brings significant advantages to both SPAs and MPAs alike. For SPAs, this API offers a more efficient way to handle page transitions by reducing the amount of JavaScript sent to client devices. Instead of relying on bulky third-party libraries, SPAs can now utilize the browser's built-in capabilities, resulting in improved performance. As for MPAs, the future support of this API will enable them to achieve something currently not possible: seamless transitioning between server-side rendered pages without the need for any JavaScript involvement. We have introduced the fundamental aspects of the API. Although, if you desire more extensive customization options I recommend you reading [the article on the Chrome Developers' blog](https://developer.chrome.com/docs/web-platform/view-transitions/). If you come across any insights or suggestions, do not hesitate to [share your feedback with the Chrome team](https://github.com/WICG/view-transitions). By doing so, we can all contribute to its improvement, benefiting the entire web development community in the long run. ❤️ Thank you for reading. <h3 id="tldr">TL;DR</h3> The article introduces the [View Transitions API](https://developer.chrome.com/docs/web-platform/view-transitions/), enabling smooth web page transitions. It currently only supports SPAs, but the article demonstrates how to adapt MPAs into pseudo-SPAs to utilize the API. It covers the workflow and animations of the API, along with addressing issues like latency and race conditions. The advantages include efficient handling of page transitions for SPAs by reducing JavaScript usage and improved performance. Additionally, the future support for MPAs will enable seamless transitioning between server-side rendered pages without JavaScript involvement. The author has also created a simply [Books Recommendation MPA for live demonstration](#preview) of the API features. [Go to preview](#preview). ## License Licensed under the [GNU General Public License v3.0](./LICENSE).
A dive into the View Transitions API: Explore its workflow, animations, room for improvements, advantages for both SPAs and MPAs and learn how to use the API on a Multi-Page Application (MPA).
astro,css,html,javascript,page-transitions,respons,shared-element-transition-api,tailwindcss,view-transitions-api,book-recomendation
2023-07-19T12:03:48Z
2024-04-24T21:02:48Z
null
1
0
3
0
0
2
null
GPL-3.0
Astro
MariaEduardadr/sitefilme
main
<h1 align="center"> Projeto de filmes 🔥</h1> <p align="center"> Uma página de filmes usando API do TMDB. </p> <br> <p align="center"> <img alt="projeto" src=".github/Captura de tela 2024-04-28 154019.png" width="100%"> </p> ## 🚀 Tecnologias Esse projeto foi desenvolvido com as seguintes tecnologias: - HTML - CSS - JAVASCRIPT - API - BOOTSTRAP - Git e Github ## 💻 Projeto Este projeto foi desenvolvido, para colocar em prática todo o conhecimento adquerido no primeiro périodo do curso tecnologia em Análise e Desenvolvimento de Sistemas. O site possui: - Tela de Página inial - Tela Principal <hr> <br> <p align="center"> <img alt="projeto" src=".github/Captura de tela 2024-04-28 154053.png" width="100%"> </p>
Projeto de Filme, usando API do site themoviedb.
css3,html5,javascript,bootstrap,fullstack
2023-07-11T21:18:50Z
2024-04-30T00:59:16Z
null
1
0
21
0
0
2
null
null
HTML
archelaus/awesome-bookmarklets
main
# Awesome Bookmarklets [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) ## Table of Contents - [Productivity](bookmarklets.md#productivity) - [Web Development](bookmarklets.md#web-development) - [Accessibility](bookmarklets.md#accessibility) - [Design](bookmarklets.md#design) - [Debugging](bookmarklets.md#debugging) - [Social Media](bookmarklets.md#social-media) For a full list of bookmarklets and their descriptions, see the [bookmarklets.md](bookmarklets.md) file. ## What are bookmarklets? Bookmarklets are small JavaScript programs that can be saved as bookmarks in your web browser. When you click on a bookmarklet, it executes a specific action or adds functionality to the webpage you are currently viewing. ## How to Use Bookmarklets 1. Copy the JavaScript code of the bookmarklet you want to use. 2. Create a new bookmark in your web browser. 3. Paste the JavaScript code into the URL field of the bookmark. 4. Save the bookmark. To use a bookmarklet, simply click on the bookmark you created. The bookmarklet will perform its intended action on the current webpage. ## Contributing Contributions to the Awesome Bookmarklets collection are welcome! If you have a bookmarklet that you find useful and would like to share with others, please follow these steps: 1. Fork this repository. 2. Create a new branch for your bookmarklet. 3. Add your bookmarklet to the appropriate category in the `bookmarklets.md` file. 4. Commit your changes and submit a pull request. Please ensure your bookmarklet is functioning correctly and includes a brief description of its purpose. ## License This repository is licensed under the [MIT License](LICENSE).
🔮 An extensive collection of bookmarklets to turbocharge your web browsing experience.
awesome,awesome-list,bookmarklet,bookmarklets,javascript,lists
2023-07-10T09:50:43Z
2023-08-25T08:26:03Z
null
1
0
14
0
0
2
null
MIT
null
anshul-010/HealthKart-Clone
main
# Health-Mart-201 // Project Started
Welcome to HealthKart, your go-to destination for hassle-free online medicine shopping. We offer a vast selection of medicines, wellness products, and healthcare essentials. With our user-friendly platform, you can conveniently order, track, and receive your healthcare needs, all from the comfort of your home. Trust in HealthKart for a healthier,
css3,htlm5,javascript
2023-07-04T16:09:47Z
2023-07-04T16:36:23Z
null
1
1
4
0
0
2
null
null
HTML
mustafinelnare/calorie-zen
main
### Project: Calorie Zen **About** This project presents the development of the Calorie-Zen application. It is designed to help users keep their diet and daily calorie allowance without unnecessary stress. **What used in the project?** ``` - React - JavaScript - HTML / CSS ``` This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
Project: Calorie-Zen
create-react-app,javascript,react-router
2023-07-05T19:56:10Z
2023-07-30T13:22:45Z
null
1
0
4
0
0
2
null
null
JavaScript
trishan9/JavaScript-Tutorial
master
JavaScript Tutorial Website created by taking reference from: https://github.com/Asabeneh/30-Days-Of-JavaScript/ for ease of learning for beginners. Real Author : Asabeneh Yetayeh
astrojs,javascript
2023-07-05T08:04:29Z
2023-09-24T04:43:04Z
null
1
0
17
0
0
2
null
null
Astro
mahmouddello/RegisterLogin-System
main
# Registration & Login System ## Project Description A Springboot Application that includes a login and registration system, Users can create an account by registering with a unique email. The application verifies the entered credentials during the login process and grants access to personalized features upon successful authentication. ## Front-End Technologies <ul> <li>HTML</li> <li>CSS</li> <li>Bootstrap CSS</li> </ul> ## Back-End Languages <ul> <li>Java</li> <li>JavaScript</li> </ul> ## Dependencies <ul> <li>Spring Data JPA</li> <li>Spring Security</li> <li>Spring Boot Dev Tools</li> <li>H2 Database</li> <li>Validation</li> <li>Lombok</li> <li>Thymeleaf</li> </ul> # How to use? After cloning the repository, you can follow the following instructions to use the project; ## Registration 1 - Run the Springboot Application and move to ```localhost:8080/register``` you will face the registration form <img src="images/register_form_1.png" alt="Registration form"> 2 - Fill your information and press "Create Account", if there is no issues the form will redirect you automatically to the login form, where you can check and validate your information <img src="images/register_success.png" alt="registeration success"> Access to the H2DB by heading up to ```localhost:8080/h2-console``` and press connect, below is an image describes the "users" table in the database after a successful registration. <img src="images/db_after_record.png" alt="database records"> ### Registration Exceptions 1 - You can't create an account with an email used already, the form will reject the request and popout an error <img src="images/register_email_exception.png" alt="unique email exception"> 2 - When the form validates itself before sending; it checks for empty input fields, wrong email patterns and gives a hint of the error below the invalid input field <img src="images/register_null_exception.png" alt="Empty fields exception"> ## Login Login form is available at ```localhost:8080/login```, head to this address and try to validate your information after you created an account in the registration form. <img src="images/login-form-raw.png" alt="Login Form"> <hr> ### Empty try to log in, rejected by the form <img src="images/login-form-empty.png" alt="Empty fields"> ### Successful Login Attempt <img src="images/login_validation_success.png" alt="login success"> <hr> ### Incorrect information or Bad Credentials <img src="images/login_validation_failed.png" alt="login validation failed"> ## Get all database records Access all database records in a tabular form, go to ``localhost:8080/get-all-users`` and you will see the database records in the html page. <img src="images/get_all_users.png" alt="all users"> ## Notes 1 - Since we are using an in-memory database (H2DB), the database will wipe all the data entered previously and recreate itself, however you can use a different database that suits your needs. 2 - The [data.sql](src/main/resources/data.sql) file contains preloaded data for test purposes, you can't use the credentials from the file trying to log in, because the project uses password encryption and stores the passwords in an encrypted form in the database.
A Springboot Application includes a login and registration systems.
bootstrap,java,javascript,jquery,login-system,registration-system,springboot,springdata-jpa
2023-07-06T12:13:43Z
2023-09-26T07:20:55Z
null
1
1
5
0
0
2
null
null
HTML
lack21/Article-Preview-Component
main
# Article-Preview-Component Tools Used : • HTML • SCSS • JavaScript ![desktop-preview](https://github.com/lack21/Article-Preview-Component/assets/100687592/3841080c-119a-4c3b-9376-cc35c01a8c82) Link : https://lack21.github.io/Article-Preview-Component/
Design Project
css,html,javascript,scss
2023-07-07T00:21:06Z
2023-07-07T00:25:19Z
null
1
0
2
0
0
2
null
null
SCSS
Thamyresmya/X-men
main
# Projeto X-men Projeto de desenvolvimento em HTML, CSS e JavaScript junto com os irmãos do DevEmDrobro. ![](src/inf/Capa.png) <p align="center"> <a href="#-tecnologias">Tecnologias</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="#-projeto">Projeto</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="#-gif">Gif</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p> <br> ## 🚀 Tecnologias Esse projeto foi desenvolvido com as seguintes tecnologias: - HTML - CSS - JavaScript - Git e Github <br> ## 💻 Projeto Projeto realizado com os irmãos do DevEmDobro, criando uma página do X-men, ao passar o mouse em cima do personagem na lista, faz uma seleção da imagem com borda azul e mostrar a imagem grande, o nome e o texto do personagem que está selecionado. Projeto com página responsiva, sendo possível acessar por celulares, tablets e desktop. <br> ## 📸 Gif Página do X-Men <img width="70%" height="300" src="src/inf/X-men.gif"></img> <br> --- Feito com ♥ by Thamyres Cavalcante.
Página X-men
css3,html5,javascript
2023-07-07T18:34:37Z
2023-07-12T12:18:19Z
null
1
0
3
0
0
2
null
null
HTML
utopian-coder/Portfolio-Website-2.0
main
# Portfolio Website 🌐 Welcome to my portfolio website repository! 🚀 This repository contains the code for my personal portfolio website, showcasing my projects, skills, and experience as a developer. 💼 ## Technologies Used 🛠️ - React.js ⚛️ - JavaScript 📜 - EmailJS 📧 - CSS3 🎨 The portfolio website is built using React.js, a popular JavaScript framework, to create a modern and interactive user interface. JavaScript is used to add functionality and interactivity to the website. EmailJS is integrated to enable seamless communication through contact forms. CSS3 is utilized for styling and enhancing the visual presentation of the website. ## Getting Started 🚀 To view and run the portfolio website locally, follow these steps: 1. Clone this repository to your local machine. 2. Install the necessary dependencies by running `npm install`. 3. Run the development server with `npm start`. 4. Open your browser and navigate to `http://localhost:3000` to see the website in action. Feel free to explore the code, customize it to suit your needs, and deploy your own version of the portfolio website. ## Contact ✉️ Thank you for visiting my portfolio repository! If you have any questions, suggestions, or opportunities, feel free to reach out to me. You can find my contact information on my portfolio website. Let's connect and collaborate! 😊
Explore my projects, skills, and experience as a developer. Get to know me and my work through this showcase of my accomplishments and abilities. Let's connect and collaborate!
css3,javascript,reactjs
2023-07-07T05:34:05Z
2023-12-21T10:29:38Z
null
1
0
12
0
0
2
null
null
JavaScript
paul-abhirup/Pig-Game
main
# Pig-Game Demo: https://pig-game-v2.netlify.app/ Pig is a simple dice game. ![Screenshot (18)](https://github.com/paul-abhirup/Pig-Game/assets/109401471/7c047e47-19e4-4c8c-9136-6ca6a1bbcab5) Each turn, a player repeatedly rolls a dice until either a 1 is rolled or the player decides to "hold": ![Screenshot (19)](https://github.com/paul-abhirup/Pig-Game/assets/109401471/de950c87-52ec-4a9e-9402-b855f346d915) If the player rolls a 1, they score nothing and it becomes the next player's turn. If the player rolls any other number, it is added to their turn total and the player's turn continues. If a player chooses to "hold", their turn total is added to their score, and it becomes the next player's turn. The first player to score 100 or more points wins.
Pig Game purpose of this project is to learn DOM Manipulation in JavaScript .
dom,dom-manipulation,javascript
2023-07-02T18:21:26Z
2023-11-12T06:52:50Z
null
1
0
6
0
0
2
null
MIT
JavaScript
vipulchandan/ProductsManagement
main
#Technetium ## Project - Products Management ### Key points - In this project we will work feature wise. That means we pick one object like user, book, blog, etc at a time. We work through it's feature. The steps would be: 1) We create it's model. 2) We build it's APIs. 3) We test these APIs. 4) We deploy these APIs. 5) We integrate these APIs with frontend. 6) We will repeat steps from Step 1 to Step 5 for each feature in this project. - This project is divided into 4 features namely User, Product, Cart and Order. You need to work on a single feature at a time. Once that is completed as per above mentioned steps. You will be instructed to move to next Feature. - In this project we are changing how we send token with a request. Instead of using a custom header key like x-api-key, you need to use Authorization header and send the JWT token as Bearer token. - Create a group database `groupXDatabase`. You can clean the db you previously used and resue that. - This time each group should have a *single git branch*. Branch name should follow the naming convention `project/productsManagement` - Follow the naming conventions exactly as instructed. ## FEATURE I - User ### Models - User Model ```yaml { fname: {string, mandatory}, lname: {string, mandatory}, email: {string, mandatory, valid email, unique}, profileImage: {string, mandatory}, // s3 link phone: {string, mandatory, unique, valid Indian mobile number}, password: {string, mandatory, minLen 8, maxLen 15}, // encrypted password address: { shipping: { street: {string, mandatory}, city: {string, mandatory}, pincode: {number, mandatory} }, billing: { street: {string, mandatory}, city: {string, mandatory}, pincode: {number, mandatory} } }, createdAt: {timestamp}, updatedAt: {timestamp} } ``` ## User APIs ### POST /register - Create a user document from request body. Request body must contain image. - Upload image to S3 bucket and save it's public url in user document. - Save password in encrypted format. (use bcrypt) - __Response format__ - _**On success**_ - Return HTTP status 201. Also return the user document. The response should be a JSON object like [this](#successful-response-structure) - _**On error**_ - Return a suitable error message with a valid HTTP status code. The response should be a JSON object like [this](#error-response-structure) ```yaml { "status": true, "message": "User created successfully", "data": { "fname": "John", "lname": "Doe", "email": "johndoe@mailinator.com", "profileImage": "https://classroom-training-bucket.s3.ap-south-1.amazonaws.com/user/copernico-p_kICQCOM4s-unsplash.jpg", "phone": 9876543210, "password": "$2b$10$DpOSGb0B7cT0f6L95RnpWO2P/AtEoE6OF9diIiAEP7QrTMaV29Kmm", "address": { "shipping": { "street": "MG Road", "city": "Indore", "pincode": 452001 }, "billing": { "street": "MG Road", "city": "Indore", "pincode": 452001 } }, "_id": "6162876abdcb70afeeaf9cf5", "createdAt": "2021-10-10T06:25:46.051Z", "updatedAt": "2021-10-10T06:25:46.051Z", "__v": 0 } } ``` ### POST /login - Allow an user to login with their email and password. - On a successful login attempt return the userId and a JWT token contatining the userId, exp, iat. > **_NOTE:_** There is a slight change in response body. You should also return userId in addition to the JWT token. - __Response format__ - _**On success**_ - Return HTTP status 200 and JWT token in response body. The response should be a JSON object like [this](#successful-response-structure) - _**On error**_ - Return a suitable error message with a valid HTTP status code. The response should be a JSON object like [this](#error-response-structure) ```yaml { "status": true, "message": "User login successfull", "data": { "userId": "6165f29cfe83625cf2c10a5c", "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2MTYyODc2YWJkY2I3MGFmZWVhZjljZjUiLCJpYXQiOjE2MzM4NDczNzYsImV4cCI6MTYzMzg4MzM3Nn0.PgcBPLLg4J01Hyin-zR6BCk7JHBY-RpuWMG_oIK7aV8" } } ``` ## GET /user/:userId/profile (Authentication required) - Allow an user to fetch details of their profile. - Make sure that userId in url param and in token is same - __Response format__ - _**On success**_ - Return HTTP status 200 and returns the user document. The response should be a JSON object like [this](#successful-response-structure) - _**On error**_ - Return a suitable error message with a valid HTTP status code. The response should be a JSON object like [this](#error-response-structure) ```yaml { "status": true, "message": "User profile details", "data": { "address": { "shipping": { "street": "MG Road", "city": "Indore", "pincode": 452001 }, "billing": { "street": "MG Road", "city": "Indore", "pincode": 452001 } }, "_id": "6162876abdcb70afeeaf9cf5", "fname": "John", "lname": "Doe", "email": "johndoe@mailinator.com", "profileImage": "https://classroom-training-bucket.s3.ap-south-1.amazonaws.com/user/copernico-p_kICQCOM4s-unsplash.jpg", "phone": 9876543210, "password": "$2b$10$DpOSGb0B7cT0f6L95RnpWO2P/AtEoE6OF9diIiAEP7QrTMaV29Kmm", "createdAt": "2021-10-10T06:25:46.051Z", "updatedAt": "2021-10-10T06:25:46.051Z", "__v": 0 } } ``` ## PUT /user/:userId/profile (Authentication and Authorization required) - Allow an user to update their profile. - A user can update all the fields - Make sure that userId in url param and in token is same - __Response format__ - _**On success**_ - Return HTTP status 200. Also return the updated user document. The response should be a JSON object like [this](#successful-response-structure) - _**On error**_ - Return a suitable error message with a valid HTTP status code. The response should be a JSON object like [this](#error-response-structure) ```yaml { "status": true, "message": "User profile updated", "data": { "address": { "shipping": { "street": "MG Road", "city": "Delhi", "pincode": 110001 }, "billing": { "street": "MG Road", "city": "Indore", "pincode": 452010 } }, "_id": "6162876abdcb70afeeaf9cf5", "fname": "Jane", "lname": "Austin", "email": "janedoe@mailinator.com", "profileImage": "https://classroom-training-bucket.s3.ap-south-1.amazonaws.com/user/laura-davidson-QBAH4IldaZY-unsplash.jpg", "phone": 9876543210, "password": "$2b$10$jgF/j/clYBq.3uly6Tijce4GEGJn9EIXEcw9NI3prgKwJ/6.sWT6O", "createdAt": "2021-10-10T06:25:46.051Z", "updatedAt": "2021-10-10T08:47:15.297Z", "__v": 0 } } ``` Note: [Bcrypt](https://www.npmjs.com/package/bcrypt) Send [form-data](https://developer.mozilla.org/en-US/docs/Web/API/FormData) ## FEATTURE II - Product ### Models - Product Model ```yaml { title: {string, mandatory, unique}, description: {string, mandatory}, price: {number, mandatory, valid number/decimal}, currencyId: {string, mandatory, INR}, currencyFormat: {string, mandatory, Rupee symbol}, isFreeShipping: {boolean, default: false}, productImage: {string, mandatory}, // s3 link style: {string}, availableSizes: {array of string, at least one size, enum["S", "XS","M","X", "L","XXL", "XL"]}, installments: {number}, deletedAt: {Date, when the document is deleted}, isDeleted: {boolean, default: false}, createdAt: {timestamp}, updatedAt: {timestamp}, } ``` ## Products API (_No authentication required_) ### POST /products - Create a product document from request body. - Upload product image to S3 bucket and save image public url in document. - __Response format__ - _**On success**_ - Return HTTP status 201. Also return the product document. The response should be a JSON object like [this](#successful-response-structure) - _**On error**_ - Return a suitable error message with a valid HTTP status code. The response should be a JSON object like [this](#error-response-structure) ### GET /products - Returns all products in the collection that aren't deleted. - __Filters__ - Size (The key for this filter will be 'size') - Product name (The key for this filter will be 'name'). You should return all the products with name containing the substring recieved in this filter - Price : greater than or less than a specific value. The keys are 'priceGreaterThan' and 'priceLessThan'. > **_NOTE:_** For price filter request could contain both or any one of the keys. For example the query in the request could look like { priceGreaterThan: 500, priceLessThan: 2000 } or just { priceLessThan: 1000 } ) - __Sort__ - Sorted by product price in ascending or descending. The key value pair will look like {priceSort : 1} or {priceSort : -1} _eg_ /products?size=XL&name=Nit%20grit - __Response format__ - _**On success**_ - Return HTTP status 200. Also return the product documents. The response should be a JSON object like [this](#successful-response-structure) - _**On error**_ - Return a suitable error message with a valid HTTP status code. The response should be a JSON object like [this](#error-response-structure) ### GET /products/:productId - Returns product details by product id - __Response format__ - _**On success**_ - Return HTTP status 200. Also return the product documents. The response should be a JSON object like [this](#successful-response-structure) - _**On error**_ - Return a suitable error message with a valid HTTP status code. The response should be a JSON object like [this](#error-response-structure) ### PUT /products/:productId - Updates a product by changing at least one or all fields - Check if the productId exists (must have isDeleted false and is present in collection). If it doesn't, return an HTTP status 404 with a response body like [this](#error-response-structure) - __Response format__ - _**On success**_ - Return HTTP status 200. Also return the updated product document. The response should be a JSON object like [this](#successful-response-structure) - _**On error**_ - Return a suitable error message with a valid HTTP status code. The response should be a JSON object like [this](#error-response-structure) ### DELETE /products/:productId - Deletes a product by product id if it's not already deleted - __Response format__ - _**On success**_ - Return HTTP status 200. The response should be a JSON object like [this](#successful-response-structure) - _**On error**_ - Return a suitable error message with a valid HTTP status code. The response should be a JSON object like [this](#error-response-structure) ## FEATURE III - Cart ### Models - Cart Model ```yaml { userId: {ObjectId, refs to User, mandatory, unique}, items: [{ productId: {ObjectId, refs to Product model, mandatory}, quantity: {number, mandatory, min 1} }], totalPrice: {number, mandatory, comment: "Holds total price of all the items in the cart"}, totalItems: {number, mandatory, comment: "Holds total number of items in the cart"}, createdAt: {timestamp}, updatedAt: {timestamp}, } ``` ## Cart APIs (_authentication required as authorization header - bearer token_) ### POST /users/:userId/cart (Add to cart) - Create a cart for the user if it does not exist. Else add product(s) in cart. - Get cart id in request body. - Get productId in request body. - Make sure that cart exist. - Add a product(s) for a user in the cart. - Make sure the userId in params and in JWT token match. - Make sure the user exist - Make sure the product(s) are valid and not deleted. - Get product(s) details in response body. - __Response format__ - _**On success**_ - Return HTTP status 201. Also return the cart document. The response should be a JSON object like [this](#successful-response-structure) - _**On error**_ - Return a suitable error message with a valid HTTP status code. The response should be a JSON object like [this](#error-response-structure) ### PUT /users/:userId/cart (Remove product / Reduce a product's quantity from the cart) - Updates a cart by either decrementing the quantity of a product by 1 or deleting a product from the cart. - Get cart id in request body. - Get productId in request body. - Get key 'removeProduct' in request body. - Make sure that cart exist. - Key 'removeProduct' denotes whether a product is to be removed({removeProduct: 0}) or its quantity has to be decremented by 1({removeProduct: 1}). - Make sure the userId in params and in JWT token match. - Make sure the user exist - Get product(s) details in response body. - Check if the productId exists and is not deleted before updating the cart. - __Response format__ - _**On success**_ - Return HTTP status 200. Also return the updated cart document. The response should be a JSON object like [this](#successful-response-structure) - _**On error**_ - Return a suitable error message with a valid HTTP status code. The response should be a JSON object like [this](#error-response-structure) ### GET /users/:userId/cart - Returns cart summary of the user. - Make sure that cart exist. - Make sure the userId in params and in JWT token match. - Make sure the user exist - Get product(s) details in response body. - __Response format__ - _**On success**_ - Return HTTP status 200. Return the cart document. The response should be a JSON object like [this](#successful-response-structure) - _**On error**_ - Return a suitable error message with a valid HTTP status code. The response should be a JSON object like [this](#error-response-structure) ### DELETE /users/:userId/cart - Deletes the cart for the user. - Make sure that cart exist. - Make sure the userId in params and in JWT token match. - Make sure the user exist - cart deleting means array of items is empty, totalItems is 0, totalPrice is 0. - __Response format__ - _**On success**_ - Return HTTP status 204. Return a suitable message. The response should be a JSON object like [this](#successful-response-structure) - _**On error**_ - Return a suitable error message with a valid HTTP status code. The response should be a JSON object like [this](#error-response-structure) ## FEATURE IV - Order ### Models - Order Model ```yaml { userId: {ObjectId, refs to User, mandatory}, items: [{ productId: {ObjectId, refs to Product model, mandatory}, quantity: {number, mandatory, min 1} }], totalPrice: {number, mandatory, comment: "Holds total price of all the items in the cart"}, totalItems: {number, mandatory, comment: "Holds total number of items in the cart"}, totalQuantity: {number, mandatory, comment: "Holds total number of quantity in the cart"}, cancellable: {boolean, default: true}, status: {string, default: 'pending', enum[pending, completed, cancled]}, deletedAt: {Date, when the document is deleted}, isDeleted: {boolean, default: false}, createdAt: {timestamp}, updatedAt: {timestamp}, } ``` ## Checkout/Order APIs (Authentication and authorization required) ### POST /users/:userId/orders - Create an order for the user - Make sure the userId in params and in JWT token match. - Make sure the user exist - Get cart details in the request body - __Response format__ - _**On success**_ - Return HTTP status 200. Also return the order document. The response should be a JSON object like [this](#successful-response-structure) - _**On error**_ - Return a suitable error message with a valid HTTP status code. The response should be a JSON object like [this](#error-response-structure) ## PUT /users/:userId/orders - Updates an order status - Make sure the userId in params and in JWT token match. - Make sure the user exist - Get order id in request body - Make sure the order belongs to the user - Make sure that only a cancellable order could be canceled. Else send an appropriate error message and response. - __Response format__ - _**On success**_ - Return HTTP status 200. Also return the updated order document. The response should be a JSON object like [this](#successful-response-structure) - _**On error**_ - Return a suitable error message with a valid HTTP status code. The response should be a JSON object like [this](#error-response-structure) ## Testing - To test these apis create a new collection in Postman named Project 5 Shopping Cart - Each api should have a new request in this collection - Each request in the collection should be rightly named. Eg Create user, Create product, Get products etc - Each member of each team should have their tests in running state Refer below sample ![A Postman collection and request sample](assets/Postman-collection-sample.png) ## Response ### Successful Response structure ```yaml { status: true, message: 'Success', data: { } } ``` ### Error Response structure ```yaml { status: false, message: "" } ``` ## Collections ## users ```yaml { _id: ObjectId("88abc190ef0288abc190ef02"), fname: 'John', lname: 'Doe', email: 'johndoe@mailinator.com', profileImage: 'http://function-up-test.s3.amazonaws.com/users/user/johndoe.jpg', // s3 link phone: 9876543210, password: '$2b$10$O.hrbBPCioVm237nAHYQ5OZy6k15TOoQSFhTT.recHBfQpZhM55Ty', // encrypted password address: { shipping: { street: "110, Ridhi Sidhi Tower", city: "Jaipur", pincode: 400001 }, {mandatory} billing: { street: "110, Ridhi Sidhi Tower", city: "Jaipur", pincode: 400001 } }, createdAt: "2021-09-17T04:25:07.803Z", updatedAt: "2021-09-17T04:25:07.803Z", } ``` ### products ```yaml { _id: ObjectId("88abc190ef0288abc190ef55"), title: 'Nit Grit', description: 'Dummy description', price: 23.0, currencyId: 'INR', currencyFormat: '₹', isFreeShipping: false, productImage: 'http://function-up-test.s3.amazonaws.com/products/product/nitgrit.jpg', // s3 link style: 'Colloar', availableSizes: ["S", "XS","M","X", "L","XXL", "XL"], installments: 5, deletedAt: null, isDeleted: false, createdAt: "2021-09-17T04:25:07.803Z", updatedAt: "2021-09-17T04:25:07.803Z", } ``` ### carts ```yaml { "_id": ObjectId("88abc190ef0288abc190ef88"), userId: ObjectId("88abc190ef0288abc190ef02"), items: [{ productId: ObjectId("88abc190ef0288abc190ef55"), quantity: 2 }, { productId: ObjectId("88abc190ef0288abc190ef60"), quantity: 1 }], totalPrice: 50.99, totalItems: 2, createdAt: "2021-09-17T04:25:07.803Z", updatedAt: "2021-09-17T04:25:07.803Z", } ``` ### orders ```yaml { "_id": ObjectId("88abc190ef0288abc190ef88"), userId: ObjectId("88abc190ef0288abc190ef02"), items: [{ productId: ObjectId("88abc190ef0288abc190ef55"), quantity: 2 }, { productId: ObjectId("88abc190ef0288abc190ef60"), quantity: 1 }], totalPrice: 50.99, totalItems: 2, totalQuantity: 3, cancellable: true, status: 'pending' createdAt: "2021-09-17T04:25:07.803Z", updatedAt: "2021-09-17T04:25:07.803Z", } ```
Developed a comprehensive Products Management API with user registration, login, and profile management, password encryption, S3 image uploads, and CRUD operations for products, carts, and orders.
aws-s3,expressjs,javascript,jsonwebtoken,mongodb,nodejs
2023-07-01T14:46:42Z
2023-07-13T16:04:18Z
null
1
0
11
0
1
2
null
null
JavaScript
saminitz/Remote-Keyboard-Server
master
<!-- ABOUT THE PROJECT --> ## About The Project You want to be able to use your own keyboard in a remote browser of your friend? Then you have found the right place. With this project you will be able to listen to every keystroke from one or more browsers (`clients`) and play back all pressed keys on another browser (`host`) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- GETTING STARTED --> ## Getting Started To get a local copy of the server up and running follow these steps. ### Prerequisites You need to have NodeJS installed on your PC. If you already have npm you can use the following command to ensure you are up to date ```sh npm install npm@latest -g ``` ### Installation 1. Clone the repo ```sh git clone https://github.com/saminitz/Remote-Keyboard-Server.git ``` 2. Navigate into the cloned repository ```sh cd Remote-Keyboard-Server ``` 3. Install NPM packages ```sh npm install ``` 4. Generate private and public key * **Info:** If want to use unsecure websockets and the website of the hots allows it checkout the branch `ws-unsecure` * I can recommend the following guide: [How to Generate Let’s Encrypt SSL using Certbot](https://tecadmin.net/how-to-generate-lets-encrypt-ssl-using-certbot/) * Place the private key in the root folder of this repository and name it `key.pem` * Place the public key in the root folder of this repository and name it `cert.pem` 5. Start the server ```sh npm run start ``` <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- USAGE EXAMPLES --> ## Usage ### **!!! Important Informations !!!** * Replace `your.domain` and the port `8080` in both snippets to the servers accordingly * If the website has an iframe element then the host needs to first view/open the iframe element in the DOM console. Otherwise the event listener will not work! (I don't exactly know the reason why this behavior is but i found out while testing) ### Host Paste the following code in the DOM Console of the host (You can open it in most browsers with `F12`) ```js const DOMAIN_OR_IP = 'your.domain'; const PORT = 8080; const ws = new WebSocket('wss://' + DOMAIN_OR_IP + ':' + PORT + '?host'); ws.onmessage = function message(event) { const data = JSON.parse(event.data); document.dispatchEvent(new KeyboardEvent(data.type, data)); }; ``` ### Clients Go to the URL [about:blank](about:blank) and then paste the following code in the DOM Console of the client (You can open it in most browsers with `F12`) ```js const DOMAIN_OR_IP = 'your.domain'; const PORT = 8080; const newContent = document.createElement('html'); newContent.setAttribute( 'style', 'width: calc(100% - 4rem); height: calc(100% - 4rem); margin: 0; padding: 2rem; display: flex; justify-content: center; align-items: center; color: white; background-color: #35363a; font-family: monospace;' ); newContent.innerHTML = ` <head> <title>Remote Keyboard Client</title> </head> <body style="height: fit-content;"> <h1>Feel free to press any button now :)</h1> </body> `; document.querySelector('html').replaceWith(newContent); const ws = new WebSocket('wss://' + DOMAIN_OR_IP + ':' + PORT); const eventHandler = (event) => { if (event.repeat) return; const data = { type: event.type, key: event.key, keyCode: event.keyCode, which: event.which, code: event.code, location: event.location, altKey: event.altKey, ctrlKey: event.ctrlKey, metaKey: event.metaKey, shiftKey: event.shiftKey, repeat: event.repeat, }; ws.send(JSON.stringify(data)); }; document.addEventListener('keydown', eventHandler); document.addEventListener('keyup', eventHandler); ``` <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LICENSE --> ## License Distributed under the MIT License. See `LICENSE.txt` for more information. <p align="right">(<a href="#readme-top">back to top</a>)</p>
Send every keystroke from one or more browsers (clients) to a server and play back all pressed keys on another browser
javascript,nodejs,remote-control,websocket,websocket-client,websocket-server,keyboard,remote,remote-keyboard
2023-07-05T18:53:02Z
2023-07-06T07:50:04Z
null
1
0
13
0
1
2
null
MIT
JavaScript
sabamadadi/sabamadadi.github.io
main
<p align="center"> <a href="https://sabamadadi.github.io/"> <img src="Website.png" alt="blender" width="70" height="70"/></a> <p align="center"> <img width="500" src="1.png" /> </p> <p align="center"> ƪ(˘⌣˘)ʃ </p> <p align="center"> <img width="500" src="2.png" /> </p> <p align="center"> (●'◡'●) </p> <p align="center"> <img width="500" src="3.png" /> </p>
This is my PERSONAL WEBSITE & my first attempt at WEB DESIGN!
css,html,javascript,scss,web-design,website
2023-07-17T11:16:30Z
2024-04-17T15:14:55Z
null
1
1
239
0
1
2
null
null
CSS
tadashibashi/js-stringbuilder
main
![logo](https://raw.githubusercontent.com/tadashibashi/js-stringbuilder/main/logo.png) ### *A dynamic string class for optimal text manipulation* - Array-like flexibility to control strings - Significantly faster than JS string concatenation and split Array handling - Automatic memory management with ability to allocate or shrink space as needed - Convenient API - negative indices behave like Python - extends the String interface (work in-progress) - [documentation available](https://code.aaronishibashi.com/js-stringbuilder) - Best Use Cases - handling large streams of text - altering large files Main repository hosted on [GitHub](https://github.com/tadashibashi/js-stringbuilder). ## Tools ![TypeScript](https://img.shields.io/badge/typescript-%23007ACC.svg?style=for-the-badge&logo=typescript&logoColor=white) ![JavaScript](https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge&logo=javascript&logoColor=%23F7DF1E) ![Jest](https://img.shields.io/badge/-jest-%23C21325?style=for-the-badge&logo=jest&logoColor=white) ![Typedoc](https://img.shields.io/badge/TypeDoc-a?style=for-the-badge&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAA21BMVEUAAAD///+WAP8MNk+ZzP+WAP8MNk+ZzP+WAP8MNk+ZzP+WAP8MNk+ZzP+WAP+ZzP8MNk+WAP8MNk+ZzP+WAP8MNk+ZzP+WAP8MNk+ZzP+WAP8MNk+ZzP+WAP+ZzP8MNk+WAP8MNk+ZzP8MNk+ZzP+WAP8VM1q1TP+ubP+FB+mNA/SaCv+zR/+zVP9IHpygrP+iHf+ipP+eE/+gGP9AIpGYBf8vKXsdL2WbxP+cr/+dvP+knP+mJv+nK/+njP+pMP+phP+rfP+tOf90DtOxQ/+yXP9RG6diFL1rEcjgV5TeAAAAI3RSTlMAABAQECAgIEBAQGBgYICAgI+Pj5+fn7+/v8/Pz9/f3+/v765wmakAAADxSURBVHhehdPXUsMwEIZR4yTgFJwEAoE0nOzKTu/03nn/J4o0Yw07Yr18d5o9l/q9vX8ywCP5Pn39BWEUhQIod5WuW84AQUultQIGBE1FagYOKDSUU6NAgF9XTHXfgjBSbFGYgsdLHoznKUimDwwZf8VgQZJMly74jgF+ge5jQ8HPNegIML2tLXi/AmCAJhMDRvZMge15MtoCCOD1NgYBDO8QIRsMF4gC+FwhCmB2jyiA2dMNSuBFn0VQHfCgX0uBlz/mwFGOfLmDUxec7Du7KJ1TcFZkdlHqWNAuZgznsGfARUWYXnXQr4nb9PI5ZrxiO45CUxeYFr2zAAAAAElFTkSuQmCC&color=gray) ## Interest in StringBuilder JavaScript strings are immutable primitives that create garbage for every unique sequence generated via concatenation, slicing, etc. StringBuilder attempts to provide an efficient way to dynamically build JavaScript strings, friendly toward the garbage collector. ## Installation ### Build JavaScript file with yarn: ```shell yarn install yarn build ``` with npm: ```shell npm i npm run build ``` ## Example Usage ### Create a StringBuilder string ```js // Set initial character length if you know its size ahead of time, const stringBuilder = new StringBuilder(1000000); // or later via `reserve`. stringBuilder.reserve(1000000); // Efficient for lots of appending, for (let i = 0; i < 1000000; ++i) stringBuilder.append((i % 10).toString()); // then retrieve the final value. let str = stringBuilder.str(); // "01234567890123..." ``` ### Insertion and deletion via `splice` ```js const stringBuilder = new StringBuilder("01234"); stringBuilder.splice(0, 1, "abc"); let str = stringBuilder.str(); // "0abc234" ``` ### Find & replace ```js const stringBuilder = new StringBuilder("Hello world!"); // mutates internal string stringBuilder.replace(/world/, "StringBuilder"); console.log(stringBuilder.str()); // "Hello StringBuilder!" ``` ## Documentation Hosted here: https://code.aaronishibashi.com/js-stringbuilder ## Performance Comparison | | StringBuilder | String | Array\<string\> | |-------------------------|---------------------------------------------|--------------------------------------------|--------------------------------------------| | 500,000 char appends | <span style="color:green">5.26ms</span> | 22.55ms | 17.65ms | | 500,000 mid-insertions | <span style="color:green">2,465.29ms</span> | <span style="color:red">20,761.87ms</span> | 9,658.66ms | | 500,000 char prepends | <span style="color:green">7.38ms</span> | 25.65ms | <span style="color:red">19,334.63ms</span> | | | StringBuilder | String | Array\<string\> | |--------------------------|------------------------------------------|--------------------------------------------|--------------------------------------------| | 1 million char appends | <span style="color:green">6.90ms</span> | 51.77ms | 30.11ms | | 1 million mid-insertions | 9,735.18ms | <span style="color:red">72,645.41ms</span> | <span style="color:red">88,937.65ms</span> | | 1 million char prepends | <span style="color:green">38.18ms</span> | 52.75ms | <span style="color:red">80,454.23ms</span> | These metrics were tested in Node v20.3.1 on an ARM MacOS 13. To run the tests on your own machine use: `yarn test:perf` or `npm run test:perf` Please let me know if there is any performance issue on your system :-) ## Roadmap - [x] search - [x] incorporate regexp - [x] documentation - [ ] implement replaceAll - [ ] extensive testing
A dynamic string class for efficient manipulation
class,javascript,string-manipulation,strings,typescript
2023-07-09T05:03:24Z
2023-08-16T21:06:50Z
null
1
0
66
0
0
2
null
null
TypeScript
meetdshah26/Chat-app
main
# Chat App with Socket.io This is a real-time chat application built with Node.js and Socket.io where users can chat in groups and share live locations. ## Features - Real-time messaging: Users can send and receive messages instantly. - Group chat: Users can join different groups and chat with other users in the same room. - Live location sharing: Users can share their live locations with other users in the chat room. ## Technologies Used - Node.js - Express.js - Socket.io - HTML/CSS (for Frontend) ## Installation 1. Clone the repository: ```bash git clone https://github.com/meetdshah26/Chat-app.git ``` 2. Navigate to the project directory: ```bash cd chat-app ``` 3. Install dependencies: ```bash npm install ``` 4. Start the server: ```bash npm start ``` 5. Open your browser and visit `http://localhost:3000` to view the application.
Real time chat app using NodeJS, SocketIO, MongoDB.
javascript,nodejs,socket-io
2023-07-13T12:09:24Z
2024-04-28T18:08:03Z
null
1
0
3
0
0
2
null
null
JavaScript
BaseMax/eBayGraphQLTS
main
# eBay Clone GraphQL TypeScript This is a project for building an eBay clone website using GraphQL and TypeScript. The application aims to replicate the core functionalities of eBay, such as user registration, product listing, bidding, and payment processing. ## Features - **User Registration and Authentication:** Users can create accounts, log in, and authenticate themselves to access protected features. - **Product Listing:** Sellers can create listings for products they want to sell, including title, description, images, and pricing information. - **Product Search and Filtering:** Users can search for specific products and apply filters to narrow down their search results. - **Bidding:** Users can place bids on products they are interested in, and the highest bidder wins the auction. - **Payment Processing:** Integration with a payment gateway to handle secure and reliable online transactions. - **User Ratings and Reviews:** Users can leave ratings and reviews for sellers and products they have interacted with. - **Notifications:** Users receive notifications for important events, such as bid updates, winning bids, and payment confirmation. ## Technologies Used - **GraphQL**: A query language for APIs that provides a flexible and efficient approach to data fetching and manipulation. - **TypeScript**: A strongly typed superset of JavaScript that helps catch errors early and improves code maintainability. - **Node.js**: A runtime environment for executing JavaScript code server-side. - **Express**: A web application framework for Node.js that provides a robust set of features for building web applications and APIs. - **Apollo Server**: An open-source GraphQL server that integrates with various JavaScript frameworks, including Express. - **MongoDB**: A popular NoSQL database for storing application data. - **Mongoose**: An object modeling tool for Node.js that provides a straightforward way to interact with MongoDB. ## Setup and Installation - Clone the repository: `git clone https://github.com/BaseMax/EbayGraphQLTS.git` - Navigate to the project directory: `cd EbayGraphQLTS` - Install dependencies: `npm install` - Set up environment variables: - Create a .env file in the root directory. - Define the necessary environment variables, such as database connection details and API keys. - Start the server: `npm run start:server` Note: Make sure you have MongoDB installed and running locally or provide the appropriate connection details in the `.env` file. ## GraphQL Queries and Mutations | Query/Mutation | Description | | -------------- | ----------- | | `getUser(id: ID!)` | Retrieve a user's information by their ID. | | `getProduct(id: ID!)` | Retrieve a product's information by its ID. | | `searchProducts(searchInput: String)` | Search for products based on a search query. | | `getBidsByUser(userId: ID!)` | Retrieve all bids made by a specific user. | | `getBidsByProduct(productId: ID!)` | Retrieve all bids made on a specific product. | | `getCartByUser(userId: ID!)` | Retrieve the cart items for a specific user. | | `getOrdersByUser(userId: ID!)` | Retrieve all orders made by a specific user. | | `getOrdersByProduct(productId: ID!)` | Retrieve all orders made for a specific product. | | `getSellerProducts(userId: ID!)` | Retrieve all products listed by a specific seller. | | `getProductReviews(productId: ID!)` | Retrieve all reviews for a specific product. | | `getNotifications(userId: ID!)` | Retrieve all notifications for a specific user. | | `getPaymentMethods(userId: ID!)` | Retrieve all payment methods associated with a specific user. | | `getShippingAddress(userId: ID!)` | Retrieve the shipping address for a specific user. | | `getBillingAddress(userId: ID!)` | Retrieve the billing address for a specific user. | | `getCategories` | Retrieve a list of available product categories. | | `getSubcategories(categoryId: ID!)` | Retrieve all subcategories under a specific category. | | `getTrendingProducts` | Retrieve a list of trending products based on popularity. | | `getPopularProducts` | Retrieve a list of popular products based on sales and ratings. | | `getRecentProducts` | Retrieve a list of recently added products. | | `getFeaturedProducts` | Retrieve a list of featured products. | | `getUserCount` | Retrieve the total number of registered users. | | `getProductCount` | Retrieve the total number of listed products. | | `getOrderCount` | Retrieve the total number of orders placed. | | `getCartCount(userId: ID!)` | Retrieve the number of items in the cart for a specific user. | | `getUnreadNotificationCount(userId: ID!)` | Retrieve the number of unread notifications for a specific user. | | `registerUser(input: UserInput!)` | Register a new user with the provided details. | | `loginUser(email: String!, password: String!)` | Authenticate a user and generate an access token. | | `loginUser(productId: ID!, totalAmount: Int!)` | make order | | `createProduct(input: ProductInput!)` | Create a new product listing with the provided details. | | `updateProduct(id: ID!, input: ProductInput!)` | Update an existing product listing with the provided details. | | `deleteProduct(id: ID!)` | Delete a product listing by its ID. | | `placeBid(productId: ID!, amount: Float!)` | Place a bid on a specific product. | | `addToCart(userId: ID!, productId: ID!)` | Add a product to the cart for a specific user. | | `removeFromCart(productId: ID!)` | Remove a product from the cart for a specific user. | | `checkout(userId: ID!)` | Proceed with the checkout process to complete an order. | | `leaveReview(productId: ID!, rating: Int!, comment: String!)` | Leave a review for a specific product. | | `updateShippingAddress(userId: ID!, input: AddressInput!)` | Update the shipping address for a specific user. | | `updateBillingAddress(userId: ID!, input: AddressInput!)` | Update the billing address for a specific user. | | `addPaymentMethod(userId: ID!, input: PaymentMethodInput!)` | Add a new payment method for a specific user. | | `deletePaymentMethod(userId: ID!, paymentMethodId: ID!)` | Delete a payment method for a specific user. | | `markNotificationAsRead(userId: ID!, notificationId: ID!)` | Mark a notification as read for a specific user. | | `markAllNotificationsAsRead(userId: ID!)` | Mark all notifications as read for a specific user. | Feel free to customize this table by adding or removing queries and mutations based ## GraphQL Examples ### `getUser(id: ID!)` ```graphql query { getUser(id: "user123") { id name email createdDate } } ``` ### `getProduct(id: ID!)` ```graphql query { getProduct(id: "product123") { id title description price seller { id name } } } ``` ### `searchProducts(searchInput: String)` ```graphql query { searchProducts(searchInput: "iPhone") { id title price } } ``` ### `getBidsByUser(userId: ID!)` ```graphql query { getBidsByUser(userId: "user123") { id amount product { id title } } } ``` ### `getCartByUser(userId: ID!)` ```graphql query { getCartByUser(userId: "user123") { id product { id title price } quantity } } ``` ### `getCategories` ```graphql query { getCategories { id name } } ``` ### `registerUser(input: UserInput!)` ```graphql mutation { registerUser(input: { name: "John Doe", email: "johndoe@example.com", password: "password123" }) { id name email createdDate } } ``` ### `createProduct(input: ProductInput!)` ```graphql mutation { createProduct(input: { title: "iPhone 12 Pro", description: "A powerful smartphone with advanced features.", price: 999.99, sellerId: "seller123" }) { id title description price seller { id name } } } ``` ### `placeBid(productId: ID!, amount: Float!)` ```graphql mutation { placeBid(pb: { productId: "product123", amount: 500.0 }) { id amount product { id title } } } ``` ### `addToCart(userId: ID!, productId: ID!)` ```graphql mutation { addToCart(userId: "user123", productId: "product123") { id product { id title price } quantity } } ``` ### `checkout(userId: ID!)` ```graphql mutation { checkout(userId: "user123") { id totalAmount items { product { id title price } quantity } } } ``` ### `leaveReview(productId: ID!, rating: Int!, comment: String!)` ```graphql mutation { leaveReview(productId: "product123", rating: 4, comment: "Great product!") { id rating comment product { id title } } } ``` ### `getOrdersByUser(userId: ID!)` ```graphql query { getOrdersByUser(userId: "user123") { id totalAmount items { product { id title price } quantity } } } ``` ### `getProductReviews(productId: ID!)` ```graphql query { getProductReviews(productId: "product123") { id rating comment user { id name } } } ``` ### `getRecentProducts` ```graphql query { getRecentProducts { id title price } } ``` ### `updateProduct(id: ID!, input: ProductInput!)` ```graphql mutation { updateProduct(input: { title: "iPhone 13 Pro", description: "The latest flagship smartphone from Apple.", price: 1099.99 productId: "id" }) { id title description price seller { id name } } } ``` ### `removeFromCart(userId: ID!, productId: ID!)` ```graphql mutation { removeFromCart(productId: "product123") { id product { id title price } quantity } } ``` ### `updateShippingAddress(userId: ID!, input: AddressInput!)` ```graphql mutation { updateShippingAddress(userId: "user123", input: { street: "123 Main St", city: "New York", state: "NY", zipCode: "10001" }) { id shippingAddress { street city state zipCode } } } ``` ### `markNotificationAsRead(userId: ID!, notificationId: ID!)` ```graphql mutation { markNotificationAsRead(userId: "user123", notificationId: "notification123") { id title content isRead } } ``` ### `getSellerSales(userId: ID!)` ```graphql query { getSellerSales(userId: "seller123") { id totalAmount buyer { id name } } } ``` ### `getSellerRevenue(userId: ID!)` ```graphql query { getSellerRevenue(userId: "seller123") { totalRevenue } } ``` ### `getPopularProducts` ```graphql query { getPopularProducts { id title price } } ``` ### `deleteProduct(id: ID!)` ```graphql mutation { deleteProduct(id: "product123") { id deleted } } ``` ### `updateBillingAddress(userId: ID!, input: AddressInput!)` ```graphql mutation { updateBillingAddress(userId: "user123", input: { street: "456 Main St", city: "Los Angeles", state: "CA", zipCode: "90001" }) { id street city state zipCode } } ``` ### `addPaymentMethod(userId: ID!, input: PaymentMethodInput!)` ```graphql mutation { addPaymentMethod(userId: "user123", input: { type: "credit_card", cardNumber: "**** **** **** 1234", expirationDate: "12/24", cvv: "***" }) { id type cardNumber } } ``` ### `markAllNotificationsAsRead(userId: ID!)` ```graphql mutation { markAllNotificationsAsRead(userId: "user123") { id title content isRead } } ``` ### `getSellerRatings(userId: ID!)` ```graphql query { getSellerRatings(userId: "seller123") { averageRating totalRatings } } ``` ### `getNotifications(userId: ID!)` ```graphql query { getNotifications(userId: "user123") { id title content isRead } } ``` ### `getPaymentMethods(userId: ID!)` ```graphql query { getPaymentMethods(userId: "user123") { id type cardNumber } } ``` ### `updateProduct(id: ID!, input: ProductInput!)` ```graphql mutation { updateProduct(id: "product123", input: { title: "iPhone 13 Pro", description: "The latest flagship smartphone from Apple.", price: 1099.99 }) { id title description price seller { id name } } } ``` ### `checkout(userId: ID!)` ```graphql mutation { checkout(userId: "user123") { id totalAmount items { product { id title price } quantity } } } ``` ### `deletePaymentMethod(userId: ID!, paymentMethodId: ID!)` ```graphql mutation { deletePaymentMethod(userId: "user123", paymentMethodId: "paymentMethod123") { id type cardNumber } } ``` ### `getUnreadNotificationCount(userId: ID!)` ```graphql mutation { getUnreadNotificationCount(userId: "user123") { unreadCount } } ``` ### `getSellerListings(userId: ID!)` ```graphql query { getSellerListings(userId: "seller123") { id title price status } } ``` ### `getBuyerPurchases(userId: ID!)` ```graphql query { getBuyerPurchases(userId: "user123") { id totalAmount seller { id name } } } ``` ### `updateUser(id: ID!, input: UserInput!)` ```graphql mutation { updateUser(id: "user123", input: { name: "Jane Smith", email: "janesmith@example.com" }) { id name email } } ``` ### `removeReview(productId: ID!, reviewId: ID!)` ```graphql mutation { removeReview(productId: "product123", reviewId: "review123") { id rating comment } } ``` ### `clearCart(userId: ID!)` ```graphql mutation { clearCart(userId: "user123") { id product { id title price } quantity } } ``` ### `markNotificationAsUnread(userId: ID!, notificationId: ID!)` ```graphql mutation { markNotificationAsUnread(userId: "user123", notificationId: "notification123") { id title content isRead } } ``` These are just a few examples of how the queries and mutations can be used. Feel free to adapt them based on your specific use case and API design. ## Contributing Contributions are welcome! If you'd like to contribute to this project, please follow these steps: - Fork the repository. - Create a new branch: git checkout -b feature/your-feature-name - Make your changes and commit them: git commit -m 'Add some feature' - Push to the branch: git push origin feature/your-feature-name - Submit a pull request explaining your changes. ## License This project is licensed under the GPL-3.0 License. Feel free to use, modify, and distribute the code as per the license terms. Copyright 2023, Max Base
This is a project for building an eBay clone website using GraphQL and TypeScript. The application aims to replicate the core functionalities of eBay, such as user registration, product listing, bidding, and payment processing.
api,ebay,ebay-api,ebay-clone,graphql,javascript,js,ts,typescript,ebay-graphql
2023-07-02T06:41:31Z
2024-02-21T08:28:58Z
null
0
9
30
0
0
2
null
null
TypeScript
eliptik1/todo-list
main
# Todo List This is a fully responsive Todo application built using HTML, CSS (SCSS), and JavaScript, with project bundling and asset management handled by Webpack. The project incorporates the date-fns library for enhanced date handling. ## Technologies Used - HTML - CSS (SCSS) - JavaScript (ES6 modules) - Webpack - Date-fns library - Git ## Features - **Full Responsiveness:** The Todo app is designed to provide a seamless experience across various screen sizes, ensuring it's accessible on desktops, tablets, and mobile devices. - **Project and Task Management:** Users can create, edit, and delete projects and tasks, enabling a structured and organized approach to managing their to-do list. - **Task Display:** The app displays all tasks, as well as daily and weekly tasks, categorized by their respective dates, making it easier to stay organized and on track. - **Task Status:** Outdated tasks are visually indicated in red, helping users quickly identify and prioritize their tasks. ## Demo Check out the live demo: [Todo-list Demo](https://eliptik1.github.io/todo-list/) ## Screenshots ![](./images/todo1.png) ![](./images/todo2.png) ## License This project is open-source and available under the MIT License.
Quick and simple task management app for efficient organization.
css,javascript,todo,webpack
2023-07-08T20:45:13Z
2024-05-19T20:42:46Z
null
1
0
50
0
0
2
null
null
JavaScript
ViktorSvertoka/registration-form
main
# Registration Form ![Creating repo from a template step 1](./public/logo512.png)
My react practice ✍️
css3,gitignore,html5,javascript,json-config,npm-package,prettier,react
2023-07-01T12:16:40Z
2023-07-01T13:00:54Z
null
1
3
7
0
0
2
null
null
JavaScript
FarInHeight/Rechargeable-Prepaid-Cards-Web-App
main
# Rechargeable Prepaid Cards Web App This project is a simple web application to manage the creation, charging and recharging of prepaid cards. There are two roles: Admins and Merchants. Each admin can: - Create a new card; - Unblock or block a card; - Create a merchant user; - Unblock or block a merchant user; - View all transactions. Each merchant can: - Add or subtract credit from a card (i.e., perform a transaction); - View his/her transactions. Anyone can see the credit of a specific card by its number. > In order to run the project properly, it is not mandatory but recommended to read the [images README file](./src/main/resources/static/images/README.md). ## Project Specifications The project is built using Spring Boot + Spring Security for the backend and JS + jQuery + Bootstrap for the frontend. Server-side rendering is done using Thymeleaf. ### Notes To try the project, the file [db-creation.sql](./db-creation.sql) allows you to create a small db containing some cards, users and transactions. The passwords for each user are generated by concatenating the string "password" with the user id. For example, the first user has id equal to 1, so the password is "password1", and so on. ## License [MIT License](LICENSE)
Project for the Web Systems Design and Architecture course 22/23 - Università degli Studi di Palermo
bootstrap,html,java,javascript,jquery,mysql,spring-boot,spring-security,thymeleaf,unipa
2023-07-04T07:12:35Z
2023-07-21T06:48:10Z
null
1
0
6
0
0
2
null
MIT
HTML
ArhamShameem/Weather__Application
master
# Getting Started with Create React App This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). ## Available Scripts In the project directory, you can run: ### `npm start` Runs the app in the development mode.\ Open [http://localhost:3000](http://localhost:3000) to view it in your browser. The page will reload when you make changes.\ You may also see any lint errors in the console. ### `npm test` Launches the test runner in the interactive watch mode.\ See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. ### `npm run build` Builds the app for production to the `build` folder.\ It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes.\ Your app is ready to be deployed! See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. ### `npm run eject` **Note: this is a one-way operation. Once you `eject`, you can't go back!** If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own. You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it. ## Learn More You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). To learn React, check out the [React documentation](https://reactjs.org/). ### Code Splitting This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting) ### Analyzing the Bundle Size This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size) ### Making a Progressive Web App This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app) ### Advanced Configuration This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration) ### Deployment This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment) ### `npm run build` fails to minify This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
A weather app with a simple and user friendly UI where you can get the weather information of any place around the world. The technologies used in this app are Reactjs , Html and open weather API
html,javascript,material-ui,openweather-api,reactjs
2023-07-02T10:19:33Z
2023-07-02T09:55:09Z
null
1
0
2
0
0
2
null
null
JavaScript
pumba-dev/sorting-algorithms-simulator
main
# Análise De Desempenho de Algoritmos de Ordenação ![GitHub repo size](https://img.shields.io/github/repo-size/pumba-dev/sorting-algorithms-comparison?style=for-the-badge) ![GitHub language count](https://img.shields.io/github/languages/count/pumba-dev/sorting-algorithms-comparison?style=for-the-badge) ![GitHub stars](https://img.shields.io/github/stars/pumba-dev/sorting-algorithms-comparison?style=for-the-badge) ![GitHub forks](https://img.shields.io/github/forks/pumba-dev/sorting-algorithms-comparison?style=for-the-badge) ![GitHub issues](https://img.shields.io/github/issues/pumba-dev/sorting-algorithms-comparison?style=for-the-badge) ![Bitbucket open pull requests](https://img.shields.io/github/issues-pr/pumba-dev/sorting-algorithms-comparison?style=for-the-badge) <img src="algorithms-complexity.png" alt="Tabela de complexidade."> > A aplicação tem como objetivo testar o desempenho de diversos algoritmos de ordenação em diferentes cenários, gerando gráficos que facilitam a compreensão dos resultados obtidos. Com isso, será possível realizar uma análise comparativa dos algoritmos e fornecer insights detalhados sobre a eficiência de cada um, os quais serão apresentados em um artigo informativo. ## 💻 Feito Com: ![Git](https://img.shields.io/badge/Git-E34F26?style=for-the-badge&logo=git&logoColor=white) ![JavaScript](https://img.shields.io/badge/JavaScript-F7DF1E?style=for-the-badge&logo=javascript&logoColor=black) ![NodeJS](https://img.shields.io/badge/Node.js-43853D?style=for-the-badge&logo=node.js&logoColor=white) ## 📖 Documentação - [Artigo](/artigo-algoritmos_ordenacao.pdf) ## 💻 Pré-requisitos Antes de começar, verifique se você atendeu aos seguintes requisitos: - [`< Git >`](https://git-scm.com/) - [`< NodeJS 18+ >`](https://nodejs.org/) ## 📥 Baixando o Projeto Para clonar e baixar as dependências do projeto, utilize os comandos: ``` git clone https://github.com/pumba-dev/sorting-algorithms-comparison.git cd sorting-algorithms-comparison npm install ``` ## 📝 Adicionando e Referênciando Novo Algoritmo - ### Adicionando Novo Algoritmo Para adicionar um novo algoritmo, basta colocá-lo na pasta `./algorithms`, que está localizada no diretório raiz do projeto. O algoritmo deve receber apenas uma lista como parâmetro e retornar a lista ordenada. - ### Criando Referência Para criar uma referência ao algoritmo, é necessário adicionar um novo item ao objeto no arquivo [`./algorithms/algorithms-setup.js`](./algorithms/algorithms-setup.js). A chave representa o nome que será utilizado para identificar o algoritmo, enquanto o valor será um objeto contendo os atributos 'label' e 'function', que armazenam o nome e o código do algoritmo, respectivamente. Dessa forma, o arquivo de configuração reconhecerá o algoritmo corretamente. Exemplo: ```javascript // ... import newSortingFn from "./new-sorting.js"; export default { // ... ALGORITHMKEY: { label: "Algorithm Name", function: newSortingFn, }, }; ``` ## ⚙️ Configurando Simulação Para configurar os cenários de simulação altere os parametros do arquivo [`simulation-config.json`](/simulation-config.json) no diretório raiz do projeto. | Params | Type | Description | | ----------------- | ------ | -------------------------------------------------------------------------------------------- | | `replications` | Number | Quantidade de replicações da simulação pra se tirar a média dos resultados | | `loadBalances` | Number | Quantidade de entradas diferentes que serão usadas na simulação | | `minBalanceValue` | Number | Tamanho da entrada do primeiro ponto de carga | | `maxBalanceValue` | Number | Tamanho da entrada do último ponto de carga (somente para tipo distribuido de balanceamento) | | `balanceType` | String | Modelo de geração das entradas que serão usadas na simulação (distributed ou exponential) | | `algorithms` | Array | Nome dos algoritmos que serão utilizados na simulação | ### Balance Types O tipo de balanceamento define o modelo de crescimento utilizado para gerar as entradas (pontos de cargas) das simulações. - #### Distribuído No modelo de crescimento distribuído, os algoritmos são testados para valores de entrada com incrementos constantes. Ou seja, o tamanho da entrada varia em progressão aritmética. Exemplo: ``` [100, 200, 300, 400, 500, 600, 700, 800, ...] ``` - #### Exponencial No modelo de crescimento exponencial, os algoritmos são testados para valores de entrada com incrementos exponencialmente maiores que o anterior. Ou seja, o tamanho da entrada varia em progressão geométrica. Exemplo: ``` [128, 256, 512, 1024, 2048, 4096, 8192, 16384, ...] ``` ## 🚀 Iniciando Simulação Para iniciar a simulação, utilize o comando: ``` npm run start ``` Se a simulação for iniciada com sucesso, uma barra de progresso será exibida para acompanhar seu andamento. Após a conclusão das simulações, os resultados serão processados e convertidos em gráficos, que serão salvos na pasta [`./results`](./results) do projeto. ## 📫 Contribuindo com o Projeto Para contribuir com o projeto, siga estas etapas: 1. Bifurque este repositório. 2. Crie um branch: `git checkout -b <nome_branch>`. 3. Faça suas alterações e confirme-as: `git commit -m '<mensagem_commit>'` 4. Envie para o branch original: `git push origin main` 5. Crie a solicitação de pull. Como alternativa, consulte a documentação do GitHub em [como criar uma solicitação pull](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request). ## 🤝 Colaboradores As seguintes pessoas contribuíram para este projeto: <table> <tr> <!-- Pumba Developer --> <td align="center"> <a href="https://github.com/pumba-dev"> <img src="https://static.wikia.nocookie.net/disneypt/images/c/cf/It_means_no_worries.png/revision/latest?cb=20200128144126&path-prefix=pt" width="100px;" height="100px;" alt="Foto do Pumbadev no GitHub"/><br> <sub> <b>Pumba Developer</b> </sub> </a> </td> <!-- Carlos Menezes --> <td align="center"> <a href="https://github.com/DevUnusual"> <img src="https://avatars.githubusercontent.com/u/48740928?v=4" width="100px;" height="100px;" alt="Foto do Carlos Menezes"/><br> <sub> <b>Carlos Menezes</b> </sub> </a> </td> <!-- Gabriel Reis --> <td align="center"> <a href="https://github.com/usernamegran"> <img src="https://avatars.githubusercontent.com/u/37776927?v=4" width="100px;" height="100px;" alt="Foto do Gabriel Reis"/><br> <sub> <b>Gabriel Reis</b> </sub> </a> </td> </tr> </table> ## 💰 Donate [![PicPay](https://img.shields.io/badge/PicPay-%40PumbaDev%20-brightgreen)](https://picpay.me/pumbadev) ## 📝 Licença Copyright © 2023 Pumba Developer [⬆ Voltar ao topo](#)<br>
Análise de desempenho de algoritmos de ordenação em JavaScript. Compara e avalia o tempo de execução de diferentes algoritmos em conjuntos de dados variados. Ao final, gera visualizações gráficas para facilitar a compreensão e a comparação dos resultados obtidos.
algorithms,javascript,performance-testing,sorting-algorithms
2023-07-01T23:21:30Z
2023-07-14T02:26:23Z
null
2
2
14
0
1
2
null
null
JavaScript
Daviddix/dictionary-redesign
master
## Table of contents - [Overview](#overview) - [Screenshot](#screenshot) - [Link](#link) - [Built with](#built-with) - [Author](#author) ## Overview This is a simple dictionary webapp app that gets the definition, phonetic, pronunciation and part(s) of speech of a given word. The data is gotten from Free Dictionary API. ### Features Users are able to: - See definition(s) of the given word - See phonetic of the given word - Listen to the pronunciation of the given word - See part(s) of speech of the given word(with their definitions) - See link for external definition of the given word ### Screenshot ![screenshot of the result page](/assets/Screenshot%20(209).png) ![screenshot of the result page in dark mode](/assets/Screenshot%20(208).png) ![screenshot of the theming modal](/assets/Screenshot%20(207).png) ### Link - Live Site URL: [Dictionary](https://dictionary-webapp-react.netlify.app/) ### Built with - CSS - CSS custom properties - Mobile-first workflow - ReactJS - Dictionary API - Design : invision Studio ## Author - Twitter - [@daviddixx](https://www.twitter.com/dixx_david)
A dictionary web application that gives you definition to words you search for and allows customization
javascript,react,web-app
2023-07-18T05:27:56Z
2023-07-23T22:53:20Z
null
1
1
27
0
1
2
null
null
JavaScript
Benels/TIW-project-2023-Online-Auctions
main
# TIW project 2023: Online Auctions Project for the TIW [Tecnologie Informatiche per il Web] course at Polimi ## Goal of the Project The project consists in the realization of two web application: the first one implemented with PURE HTML, the second is a RIA version of the first application. Both of the versions share the same database structure and entries and the backend is made of java servlets.
Project for the TIW [Tecnologie Informatiche per il Web] course at Polimi
css,html,java,javascript,polimi,polimi-projects,servlet,sql,tiw,webapp
2023-07-11T08:21:31Z
2023-07-11T08:31:43Z
null
1
0
4
0
0
2
null
null
Java
Vanshika-73/Proshop
main
# Proshop This is basically an E-commerce like platform in Mern Stack Technology. It lacks responsiveness. Tech Satck: MERN STACK Site: [https://proshop-five-beta.vercel.app/](https://proshop-eta.vercel.app/) Frontend Repo: https://github.com/Vanshika-73/Proshop Backend Repo : https://github.com/Vanshika-73/Proshop_backend ### License The Proshop project is available as open source under the terms of the [MIT license](https://github.com/Vanshika-73/Proshop/blob/main/LICENSE).
null
api,expressjs,mongodb,nodejs,opensource,react,reactjs,responsive,responsive-web-design,technology
2023-07-05T17:33:47Z
2023-11-06T15:26:28Z
null
7
13
21
4
7
2
null
MIT
JavaScript
subhadeeppaul/movievox
main
# **MOVIEVOX** MovieVox is a web-based platform designed for movie enthusiasts, offering a seamless browsing experience across various movie categories and genres. Users can curate their personalized list of beloved movies and maintain a watchlist of films they aspire to watch, all within an aesthetically pleasing user interface. # Features ✨ * User Authentication 🔐 * Light and Dark mode 💡 * API calls with Axios and Redux ⚙️ * Actors and Movie Details Page 🎥 * Watchlist and List of Favorite Movies ⌚ * Movie Search Functionality 🔎 * Alan AI Voice Functionality and many more 🤖
Movievox- A Cutting-Edge Movie App Powered by AI that harnesses the full potential of creative innovation, leveraging industry-leading technologies such as React.js, Material UI, Alan AI, and more.
alan-ai,javascript,material-ui,reactjs
2023-07-12T10:50:44Z
2023-07-12T11:38:03Z
null
1
0
8
0
0
2
null
null
JavaScript
100Daisy/androidflasher
main
# androidflasher This template should help get you started developing with Vue 3 in Vite. ## Recommended IDE Setup [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin). ## Customize configuration See [Vite Configuration Reference](https://vitejs.dev/config/). ## Project Setup ```sh npm install ``` ### Compile and Hot-Reload for Development ```sh npm run dev ``` ### Compile and Minify for Production ```sh npm run build ``` ### Lint with [ESLint](https://eslint.org/) ```sh npm run lint ```
Web tool for thinkering with Android devices ⚡
android,javascript,vue,fastbootjs
2023-07-06T21:33:02Z
2024-01-07T23:32:13Z
null
2
2
52
2
1
2
null
null
Vue
tomasesquivelgc/Pomodoro-clock
development
<a name="readme-top"></a> <div align="center"> <h3><b>Pomodoro Clock</b></h3> </div> <!-- TABLE OF CONTENTS --> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [Deployment](#deployment) - [👥 Authors](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [📝 License](#license) <!-- PROJECT DESCRIPTION --> # 📖 Pomodoro clock <a name="about-project"></a> **Pomodoro Clock** is a simple project that aims to clone [FreeCodeCamp's version](https://25--5-clock.freecodecamp.rocks). To do this, I have built a page using React (Vite) and added some CSS to resemble the template. You can run the FCC test suite directly from the live demo! ## 🛠 Built With <a name="built-with"></a> ### Tech Stack <a name="tech-stack"></a> <details> <summary>libraries</summary> <ul> <li><a href="https://reactjs.org/">React.js</a></li> <li><a href="https://vitejs.dev">Vite</a></li> </ul> <summary>Languages</summary> <ul> <li><a href="https://lenguajecss.com/css/introduccion/que-es-css/">CSS</a></li> <li><a href="https://www.javascript.com">Javascript</a></li> <li><a href="https://html.com">HTML</a></li> </ul> </details> <!-- Features --> ### Key Features <a name="key-features"></a> - **Stopwatch funtionality with study and break timers** - **changeable times using buttons** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LIVE DEMO --> ## 🚀 Live Demo <a name="live-demo"></a> visit [this link](https://fabulous-sherbet-db83da.netlify.app) for a live demo! <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- GETTING STARTED --> ## 💻 Getting Started <a name="getting-started"></a> To get a local copy up and running, follow these steps. ### Prerequisites In order to run this project you need a browser. ### Setup Clone this repository to your desired folder: Example commands: ```sh cd my-folder git clone git@github.com:myaccount/my-project.git ``` ### Install Install this project with: Example command: ```sh npm install ``` ### Usage To run the project, execute the following command: ```sh npm run dev ``` ### Run tests To run tests, click on the hamburger button and select "Markdown previewer" (note: these are the tests that FreeCodeCamp include.). <!-- AUTHORS --> ## 👥 Authors <a name="authors"></a> 👤 **Tomás Esquivel** - GitHub: [@tomasesquivelgc](https://github.com/tomasesquivelgc) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FUTURE FEATURES --> ## 🔭 Future Features <a name="future-features"></a> - [] **Icons replacing unaesthetic buttons** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- CONTRIBUTING --> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](../../issues/). <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- SUPPORT --> ## ⭐️ Show your support <a name="support"></a> If you like this project give it a star. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ACKNOWLEDGEMENTS --> ## 🙏 Acknowledgments <a name="acknowledgements"></a> I would like to thank Microverse and my friends and family for their support. <p align="right">(<a href="#readme-top">back to top</a>)</p>
⏰📝"Pomodoro Clock" is a simple web app that helps you study using the Pomodoro method, in which you set intervals for study and breaks (25+5). How useful!
freecodecamp-project,javascript,javascript-library,pomodoro-timer,reactjs
2023-07-15T20:44:19Z
2024-03-18T20:11:18Z
null
1
2
14
0
0
2
null
null
JavaScript
kblessmi2001/venomous-sense-8377
main
# venomous-sense-8377
A School Website for under the age of 5 that allows users to learn subjects.This individual project Built on ReactJS for the frontend and the backend is implemented using a JSON server.
chakra-ui,css3,html5,javascript,reactjs,redux
2023-07-17T13:52:17Z
2024-01-18T09:36:24Z
null
2
6
21
0
0
2
null
null
JavaScript
vivekverma4669/boat_project_group_7
main
# Boat E-commerce Website Clone This is a group project to create a clone of the Boat e-commerce website. The project focuses on using local storage to save data and making the website responsive using media queries and Flex Properties . ## Project Overview The project aims to recreate the core functionalities of the Boat e-commerce website. It includes the following pages: - Home Page: Displays the main landing page with a navigation bar. - Product Details Page: Shows detailed information about a specific product. - Product Page: Lists all available products for browsing. - Cart Page: Displays the selected products and enables users to manage their cart. - Footer: Provides additional information and links at the bottom of each page. - Login / Signup Page: Allows users to create an account or log in to an existing account. - Payment Page: Allows users to complete the checkout process. - All pages with nav bar and footer. ## Technologies Used The project utilizes the following technologies: - HTML5: Markup language for creating the website structure. - CSS: Styling language for designing the website layout and appearance. - JavaScript: Programming language for implementing interactive features and functionality. - Local Storage: Used to store and retrieve data locally on the user's device. - Media Queries: Employed to make the website responsive and adaptable to different screen sizes. ## Deployment The project has been deployed using Netlify. You can access the live website by visiting the following link: [Boat E-commerce Clone](https://64b52a5f1165af0f63d1969a--elaborate-paprenjak-06f23e.netlify.app/). ## Installation and Setup To run the project locally, follow these steps: 1. Clone the project repository: `git clone <repository_url>` 2. Open the project directory: `cd boat-ecommerce-clone` 3. Launch the website: Open the `index.html` file in a web browser. ## Project Structure The project structure is organized as follows: - `Index.html`: Entry point of the website, contains the home page. ![image](https://github.com/vivekverma4669/boat_project_group_7/assets/133829592/0a251d72-9bec-426e-a74e-efc6132393ef) ![image](https://github.com/vivekverma4669/boat_project_group_7/assets/133829592/f76f35c2-10be-468f-a5f8-e3d170cb8545) - `Nav.html` : to navigate all the pages with search functionality - `productDetails[number of product].html`: Page displaying the detailed information of a product. ![image](https://github.com/vivekverma4669/boat_project_group_7/assets/133829592/603e4b65-1448-4507-8be9-a2f4400c2631) - `product.html`: Page listing all available products. ![image](https://github.com/vivekverma4669/boat_project_group_7/assets/133829592/21456aee-8c32-48c6-99cd-1c20beb573d0) ![image](https://github.com/vivekverma4669/boat_project_group_7/assets/133829592/96ccdaaf-fd56-41e9-8384-3fba75d6603b) - `payment.html`: Page for completing the checkout process. ![image](https://github.com/vivekverma4669/boat_project_group_7/assets/133829592/b564404d-7277-4c1c-8b9e-497d56e25ce9) ![image](https://github.com/vivekverma4669/boat_project_group_7/assets/133829592/4ba977b8-dce3-43a9-a775-75733233ddc0) ![image](https://github.com/vivekverma4669/boat_project_group_7/assets/133829592/0ddf2167-6e7c-438e-a4a4-7512d2841ac6) - `cart.html`: Page displaying the user's shopping cart. ![image](https://github.com/vivekverma4669/boat_project_group_7/assets/133829592/b4ef51c1-7b24-4a00-bf9a-d9d0aacd4b9d) - `footer.html`: HTML snippet for the footer section included on every page. ![image](https://github.com/vivekverma4669/boat_project_group_7/assets/133829592/05208793-78cc-4716-978c-3e6a30224d1e) ![image](https://github.com/vivekverma4669/boat_project_group_7/assets/133829592/0e00662a-bf73-4c4e-a283-6955d2be5b86) - `login.html` and `signup.html`: Pages for user authentication. ![image](https://github.com/vivekverma4669/boat_project_group_7/assets/133829592/0ea0105c-1da6-40d9-8f4a-e5f00b2db65d) ![image](https://github.com/vivekverma4669/boat_project_group_7/assets/133829592/31ffd8ad-d7a7-4bf0-b1ff-cba2890dee1a) - `css/`: Directory containing CSS stylesheets . - `js/`: Directory containing JavaScript files. - `images/`: Directory storing project images. ## Contributing We welcome contributions to improve the project! If you would like to contribute, please follow these steps: 1. Fork the repository. 2. Create a new branch: `git checkout -b feature/your-feature-name` 3. Make your changes and commit them: `git commit -m 'Add some feature'` 4. Push to the branch: `git push origin feature/your-feature-name` 5. Open a pull request in the original repository. ## License This project is licensed under the [MIT License](LICENSE).
This repository hosts the codebase for a cutting-edge project that aims to revolutionize the world of smart lifestyle gadgets. Inspired by innovation and functionality, our Boat Clone brings a unique blend of style and intelligence to the realm of everyday accessories.
cs,css-grid,css3,html,javascript
2023-07-03T06:09:37Z
2023-12-09T20:27:14Z
null
4
10
37
0
3
2
null
null
HTML
efxlve/vanilla-javascript-projects
main
# Vanilla JavaScript Projects This repo contains different projects made with Vanilla JavaScript. Each project consists of HTML, CSS and JavaScript files and offers different concepts and features. These projects are great resources for those who want to learn or improve JavaScript. ## Installation You can use the following command to download or clone this repo: ```bash git clone https://github.com/efxlve/vanilla-javascript-projects.git ``` This repo does not require any tools, dependencies or packages. ## Usage This repo has a separate folder for each project. Each folder has an index.html file. To see the projects, you just need to open the index.html files in your browser. ## License This repo is published under the MIT license. For more information, please see the [LICENSE](https://github.com/efxlve/vanilla-javascript-projects/blob/main/LICENSE) file.
✨A Collection of Awesome Vanilla JavaScript Projects
api,css,html,html-css-javascript,javascript,vanilla-javascript,beginner-friendly,front-end,learning-resources,projects
2023-06-30T17:39:20Z
2023-12-10T19:41:26Z
null
1
0
81
0
0
2
null
MIT
JavaScript
iam-abin/DSA
master
null
Data Structures and Algorithms
javascript,data-structures,dsa,datastructures-algorithms,dsa-javascript,js
2023-07-09T14:18:42Z
2024-04-15T15:38:06Z
null
1
0
21
0
0
2
null
null
JavaScript
tomasesquivelgc/Markdown-Previewer
development
<a name="readme-top"></a> <div align="center"> <h3><b>Markdown previewer</b></h3> </div> <!-- TABLE OF CONTENTS --> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [Deployment](#deployment) - [👥 Authors](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [📝 License](#license) <!-- PROJECT DESCRIPTION --> # 📖 Markdown previewer <a name="about-project"></a> **Markdown previewer** is a simple project that aims to clone [FreeCodeCamp's version](https://markdown-previewer.freecodecamp.rocks). To do this, I have built a page using React (Vite) and copied the CSS to get the same look. To get the logic done I've used the "marked" library. ## 🛠 Built With <a name="built-with"></a> ### Tech Stack <a name="tech-stack"></a> <details> <summary>libraries</summary> <ul> <li><a href="https://reactjs.org/">React.js</a></li> <li><a href="https://vitejs.dev">Vite</a></li> <li><a href="https://cdnjs.com/libraries/marked">Marked</a></li> </ul> <summary>Languages</summary> <ul> <li><a href="https://lenguajecss.com/css/introduccion/que-es-css/">CSS</a></li> <li><a href="https://www.javascript.com">Javascript</a></li> <li><a href="https://html.com">HTML</a></li> </ul> </details> <!-- Features --> ### Key Features <a name="key-features"></a> - **Textarea where you can input text** - **Preview section that outputs the marked down text** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LIVE DEMO --> ## 🚀 Live Demo <a name="live-demo"></a> visit [this link](https://incandescent-melba-b761fd.netlify.app) for a live demo! <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- GETTING STARTED --> ## 💻 Getting Started <a name="getting-started"></a> To get a local copy up and running, follow these steps. ### Prerequisites In order to run this project you need a browser. ### Setup Clone this repository to your desired folder: Example commands: ```sh cd my-folder git clone git@github.com:myaccount/my-project.git ``` ### Install Install this project with: Example command: ```sh npm install ``` ### Usage To run the project, execute the following command: ```sh npm run dev ``` ### Run tests To run tests, click on the hamburger button and select "Markdown previewer" (note: these are the tests that FreeCodeCamp include.). <!-- AUTHORS --> ## 👥 Authors <a name="authors"></a> 👤 **Tomás Esquivel** - GitHub: [@tomasesquivelgc](https://github.com/tomasesquivelgc) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FUTURE FEATURES --> ## 🔭 Future Features <a name="future-features"></a> - [] **Expand and minimize button on topBar** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- CONTRIBUTING --> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](../../issues/). <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- SUPPORT --> ## ⭐️ Show your support <a name="support"></a> If you like this project give it a star. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ACKNOWLEDGEMENTS --> ## 🙏 Acknowledgments <a name="acknowledgements"></a> I would like to thank Microverse and my friends and family for their support. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LICENSE --> ## 📝 License <a name="license"></a> This project is [MIT](./LICENSE) licensed. <p align="right">(<a href="#readme-top">back to top</a>)</p>
📝📋"Markdown Previewer" transforms any text into Markdown format, on the fly! You can preview how your Readme or any markdown text you are writing will look like.
javascript,markdown,markdownpreview,react,singlepageapplication,freecodecamp-project
2023-07-04T17:26:47Z
2024-03-18T20:58:19Z
null
1
4
20
0
0
2
null
MIT
JavaScript
iamrudhresh/LeetCode
main
# Leetcode-problems
Explore a comprehensive collection of solutions to diverse LeetCode problems in this repository. From algorithms to data structures, each solution is meticulously crafted and thoroughly documented. Perfect for enhancing problem-solving skills and preparing for coding interviews.
java,cpp,javascript,python
2023-07-02T09:36:19Z
2024-05-22T15:05:23Z
null
1
0
852
0
0
2
null
null
Java
ManeeGit/Web-Dev-FullStack-DevOps
main
# The Full Stack Journey along side DevOps & System Design.✨ ## This Repo Consists of my Web Dev Coding updates day-to-day, JavaScript alone Development & especially *✨DevOPS✨* Journey. ## I have started this journey to improvise my existing website to next level and parallelly supporting my own technical skill determination.
This repo contains my Journey into HTML, CSS, JavaScript, React-Framework, SQL, NoSQL & DevOps. This contains my projects using the Frontend Dev along with some System Design concepts which collaborates entirely with the concepts presently I'm working with
html5,javascript,mongodb,sql,ansible,css,docker,git,jenkins,kubernetes
2023-07-10T14:32:36Z
2023-07-18T02:33:52Z
null
2
28
73
0
1
2
null
MIT
HTML
rao-rabi/Budget-finance-tracker-main
main
<h1 align="center" > Budget Tracker </h1> <p>The Budget Tracker and Reminder Manager is a web application that helps users track their budget and manage reminders. It provides a user-friendly interface for setting a budget, tracking expenses, and displaying the remaining balance. Additionally, users can add reminders with descriptions, dates, and times, which are stored and displayed in a list format.</p> <h2> Budget Tracker Features : </h2> 1. Users can enter a total budget amount and save it for tracking their expenses.<br/> 2. Users can add expenses, and the application calculates the total expenditure and remaining balance.<br/> 3. The application displays a list of expenses, including the product name and amount. Users can edit or delete items from the list.<br/> <h3> Live site preview : https://budget-finance-tracker-main.vercel.app/ </h3>
null
bootstrap5,css3,html5,javascript
2023-07-13T04:46:12Z
2023-07-13T04:51:18Z
null
1
0
5
0
0
2
null
null
CSS
raxitamathukiya/PetCare-Online-Appointment-Booking-Website
main
# PetCare Our Team Members 1. Raxita Mathukiya 2. Sambhaji Dhore 3. Pujan Sharma Netlify link = https://petcare-booking.netlify.app/index.html Backend link = https://petcare-oj1q.onrender.com Website detail : The website is a platform where users can book appointments with veterinary doctors for their pets or animals. The system allows registered users to schedule appointments at their convenience and the doctors can confirm or cancel the appointments. You can see the landing page screenshot below ![image](https://github.com/raxitamathukiya/parsimonious-clover-8073/assets/36467733/5fe05e63-0711-4c5d-89fb-b1ac5b0cd8e9) here you can see the Booking-Appointment page screeshot ![image](https://github.com/raxitamathukiya/parsimonious-clover-8073/assets/36467733/d0e9823c-2450-42ec-b441-26c05585c816) here you can see the Doctor information page screeshot ![image](https://github.com/raxitamathukiya/parsimonious-clover-8073/assets/36467733/fa852e97-5f49-4814-8a04-81ca3dd056b5) here you can see the Appointment from page screeshot ![image](https://github.com/raxitamathukiya/parsimonious-clover-8073/assets/36467733/ced871dc-8aed-40e8-b5e9-d8c0f84cdd6a) here you can see the All Appointment page screeshot ![image](https://github.com/raxitamathukiya/parsimonious-clover-8073/assets/36467733/659c438f-3724-4792-9a19-8a0fc24c954b) here you can see the Doctor appointment page screeshot ![image](https://github.com/raxitamathukiya/parsimonious-clover-8073/assets/36467733/a2bc3b03-95f1-4d9d-8208-ae191b36e29d) here you can see the login page screeshot ![image](https://github.com/raxitamathukiya/parsimonious-clover-8073/assets/36467733/e514c07f-181c-40ae-aeff-c1de96440ac8) here you can see the register page screeshot ![image](https://github.com/raxitamathukiya/parsimonious-clover-8073/assets/36467733/f58f8313-fb71-47ba-8a71-72066860dda2)
The website is a platform where users can book appointments with veterinary doctors for their pets or animals. The system allows registered users to schedule appointments at their convenience and the doctors can confirm or cancel the appointments.
css3,expressjs,html,javascript,jwt-authentication,mongodb,nodejs,nodemailer,socket-io
2023-07-18T05:09:47Z
2023-07-29T05:27:14Z
null
5
22
66
0
1
2
null
null
HTML
macielbmo/calc-juros-compostos
main
Site para usar a calculadora: https://meujuroscompostos.netlify.app/ ![Captura de tela de 2023-07-04 14-01-19](https://github.com/macielbmo/calc-juros-compostos/assets/64103984/b40627cb-c8bd-4c5f-819a-60260680dd1e)
Calculadora de Juros Compostos
css,html,javascript
2023-07-04T13:28:15Z
2023-07-10T16:08:15Z
null
1
0
18
0
0
2
null
null
HTML
LakshayD02/The-Library-Zone_LMS
main
# The-Library-Zone_LMS Online Library Management System with Database This LMS manages and stores book information electronically according to student needs. It allows both the admin and student to search for the desired book and helps to keep a constant track of all the books available in the library. The website has been designed using HTML, CSS, JavaScript, PHP, and MySQL Database. Deployed Link: https://libraryzoneproject.000webhostapp.com/
Online Library Management System with Database
api,auth,auth0,authentication,css,css3,html,html5,javascript,localhost
2023-07-02T13:51:51Z
2023-07-02T13:56:49Z
null
1
0
3
0
0
2
null
null
PHP
nanopay/nano-wallet-js
main
# nano-wallet-js SDK for developers to create and interact with Nanocurrency wallets easily with Typescript or Javascript ## Why to use it ? - 🎉 Easy to use, no need to configure RPC calls - 🧑‍💻 Allows you to configure multiple RPC and Work Servers separately. - 👷 Automatic fallback when a request fails - 🌐 Runtime agnostic: Compatible with Node.js, Browser, EDGE, Bun, Deno and others. - ⚡️ Efficient and agnostic state management allows you to store the wallet state with your favorite tool and start the instance with the previous state. - 🔒️ Safe and non-custodial: Your privateKey is never shared with RPC or any server, all signatures and key derivation is made on client side by [nanocurrency.js library](https://github.com/marvinroger/nanocurrency-js) ## How to use it #### Install nano-wallet-js package ``` npm install nano-wallet-js ``` #### Init the Wallet instance and sync: ```js import NanoWallet from 'nano-wallet-js'; const config = { privateKey: '000AAFF...', // The privateKey (secret) of your wallet (not the SEED, neither the MNEMONIC) rpcUrls: ['http://[::1]:7076'], // A string or an array of RPC addresses workerUrls: ['http://[::1]:7076'], // A string or an array of RPC Worker Server. Can be the same as rpcUrls representative: 'nano_3kc8wwut3u8g1kwa6x4drkzu346bdbyqzsn14tmabrpeobn8igksfqkzajbb', // representative account debug: true, // show console log message (optional) }; const wallet = new NanoWallet(config); await wallet.sync(); ``` #### Optionally, init with a state: ```js // It is only needed at wallet initialization. // You can use a Database, Filesystem, KV, Redux or whatever... const state = await getFromMyStorage(); const wallet = new NanoWallet(config, state); // Subscribe to state changes to persist in your storage wallet.subscribe(async state => { await saveIntoMyStorage(state); }); ``` ### Properties: - `wallet.account`: Your wallet account / address - `wallet.balance`: Your wallet balance in raws - `wallet.receivable`: Total amount to be received - `wallet.receivableBlocks`: Array of pending blocks to receive with blockHash and amount - `wallet.frontier`: Previous block hash (your last transaction) - `wallet.representative`: The representative you set when initing the instance - `wallet.currentRepresentative`: Your current representative. Make a transaction or call `.setRepresentative()` to update. ### Methods: **Sync**: Force wallet synchronization, updating frontier, balance, receivable and representative. ```js await wallet.sync(); console.log(wallet.frontier, wallet.balance, ...) ``` **Get Receivables**: Returns an array containing the blocks that have not been received yet by this account. Each block contains the `hash` property which you need to receive it using **Receive**. ```js await wallet.getReceivable(); console.log(wallet.receivable, wallet.receivableBlocks); ``` **Receive**: Receive amount manually. This process will be automated in next releases. ```js for (const receivable of wallet.receivableBlocks) { const { hash } = await wallet.receive(receivables.blockHash); } ``` **Send**: Send amount in raws to another wallet. ```js const to = 'nano_1abcd...'; const amount = '1000000000000000000000000000'; // 0.001 Nano const { hash } = await wallet.send(to, amount); // print the updated balance console.log('Balance:', wallet.balance); ``` **Sweep**: Send all balance to another wallet (Careful!) ```js const to = 'nano_3efgh...'; const { hash } = await wallet.sweep(to); ``` **Set Representative**: Set a new representative ```js const rep = 'nano_4ijk1mno...'; await wallet.setRepresentative(rep); // print console.log(wallet.representative, wallet.currentRepresentative); ``` More methods soon... ## 🚧 Work in progress! This is a initial release, not recommended for production use yet. ## Donate Ӿ If you find this library useful and want to support its development please consider donating: **nano_3dqh8z8ncswmf7151gryu7mqpwbw4f68hi7d8g433omtuabfi438etyyp9ik** <kbd><img src="https://i.ibb.co/Gs6yhv2/nano-wallet-js-qr-code.png" width="200px" height="200px" /></kbd>
SDK for developers to create and interact with Nanocurrency wallets easily
javascript,js,lib,nano,nanocurrency,rpc,sdk,typescript,wallet
2023-07-03T03:41:57Z
2023-10-10T08:39:58Z
2023-09-20T01:29:47Z
1
0
61
0
0
2
null
MIT
TypeScript
RileyManda/scimovies-capstone-project
dev
<a name="readme-top"></a> <div align="center"> <img src="project-logo.png" alt="logo" width="140" height="auto" /> <br/> <h3><b>SciMovies</b></h3> </div> <!-- TABLE OF CONTENTS --> # <b>Table of Contents 📋 - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [🚀 Live Demo](#live-demo) - [🚀 Project Demo](#project-demo) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [Deployment](#deployment) - [👥 Authors](#authors) - [👥 Attribution](#attribution) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [❓ FAQ (OPTIONAL)](#faq) - [📝 License](#license) </b> <hr><hr> <!-- PROJECT DESCRIPTION --> # <b>SciMovies 📖</b><a name="about-project"></a> **SciMovies** SciMovies is a single page application that display a list of epic scifi movies. <br><hr> <!-- BUILT WITH --> ## <b>Built With 🛠</b><a name="built-with"></a><br> <!-- TECH STACK --> ### <b>Tech Stack 🗜️</b><a name="tech-stack"></a> <details> <summary>Client</summary> <ul> <li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML5</a> markup to build raw structure of this web page</li><br> <li><a href="https://developer.mozilla.org/en-US/docs/Web/CSS">CSS3</a> custom properties, <a href="https://css-tricks.com/snippets/css/a-guide-to-flexbox/">FlexBox</a>, <a href="">Grid</a> to make the website visually attractive</li><br> <li><a href="https://reactjs.org/">Javascript</a></li><br> <li><a href="https://mozilla.github.io/addons-linter/">Linters</a> for coding convention and coding formating</li> </ul> </details> <details> <summary>Javascript runtime environment</summary> <ul> <li><a href="">Node JS</a> as a javascript runtime machine [git], a free and open source distributed version control system</li> </ul> </details> <details> <summary>Deployment</summary> <ul> <li><a href="#deployment">GitHub Pages</a></li> </ul> </details> <details> <summary>Bundler</summary> <ul> <li><a href="https://webpack.js.org/">Webpack</a></li> </ul> </details> <details> <summary>Version Control</summary> <ul> <li><a href="https://datasift.github.io/gitflow/IntroducingGitFlow.html">Gitflow</a></li> </ul> </details> <details> <summary>Backend</summary> <ul> <li><a href="https://microverse.notion.site/Leaderboard-API-service-24c0c3c116974ac49488d4eb0267ade3">Leaderboard APi</a></li> </ul> </details> <br><hr> <!-- KEY FEATURES --> ### <b>Key Features 🏷️</b> <a name="key-features"></a> - **List of Movies** - **Like a movie** - **Display movie likes** - **Add comments on movies** <p align="right">(<a href="#readme-top">back to top</a>)</p> <br><hr> <!-- LIVE DEMO --> ## <b>Live Demo 🚀</b><a name="live-demo"></a> [Live Demo Link](https://rileymanda.github.io/scimovies-capstone-project/) <p align="right">(<a href="#readme-top">back to top</a>)</p> <hr> <!-- PROJECT DEMO --> ## <b>Project Demo 🏁</b><a name="project-demo"></a> [Project Demo](https://www.loom.com/share/2add16b8c7144cc6a3e35997e3504ae9?sid=2048ac9d-9109-4f02-ad4c-74fbac642c38) <p align="right">(<a href="#readme-top">back to top</a>)</p> <hr> <!-- GET STARTED --> ## <b>Getting Started 💻</b><a name="getting-started"></a> To get a local copy up and running, follow these steps. <!-- PREREQUISITIES --> ### <b>Prerequisites 🧱</b><a name="prerequisites"></a> In order to run this project you need: - A Github account - Node JS - A web browser to view output e.g [Chrome](https://www.google.com/chrome/). - An IDE e.g [Visual studio code](https://code.visualstudio.com/). - [A terminal](https://code.visualstudio.com/docs/terminal/basics). <br><hr> <!-- SETUP --> ### <b>Setup ⚙️</b><a name="setup"></a> Clone this repository to your desired folder:<br> ```sh cd my-folder git clone https://github.com/RileyManda/SciMovies.git ``` - Navigate to the folder ``` cd my-folder ``` - Checkout the branch ``` git checkout main ``` <br><hr> <!-- INSTALL --> ### <b>Install 🏗️</b><a name="install"></a> Install all dependencies: ```sh npm install ``` <br><hr> <!-- USAGE --> ### <b>Usage 📂</b><a name="usage"></a> To run the project, follow these instructions: - You have to clone this repo to your local machine. ``` git clone https://github.com/RileyManda/SciMovies.git ``` <!-- TESTS --> <br><hr> ### <b>Run tests 🧪</b><a name="run-tests"></a> How should it be tested? To run tests, run the following command: - HTML linter errors run: ``` npx hint . --fix ``` - CSS linter errors run: ``` npx stylelint "**/*.{css,scss}" --fix ``` - JavaScript linter errors run: ``` npx eslint . --fix ``` - For unit testing, run: ``` npm test ``` <br><hr> <!-- DEPLOYEMENT --> ### <b>Deployment</b> <a name="deployment"></a> <!-- You can deploy this project using: GitHub Pages, [Vercel](https://vercel.com/) or [Netlify](https://www.netlify.com/). --> This project was deployed using GitHub Pages. For more information about how to use GitHub pages [read here](https://www.w3schools.com/git/git_remote_pages.asp?remote=github) 🤩. If you want to watch a video about how to use GitHub pages instead of reading [click here](https://www.youtube.com/watch?v=QyFcl_Fba-k&t=251s) ☺️. <p align="right">(<a href="#readme-top">back to top</a>)</p> <br><hr> <!-- AUTHORS --> ## 👥 Authors <a name="authors"></a> 👤 **Riley Manda** - GitHub: [@RileyManda](https://github.com/RileyManda) - Twitter: [@rilecodez](https://twitter.com/rilecodez) - LinkedIn: [rileymanda](https://www.linkedin.com/in/rileymanda/) Much appreciation to Evelyne Celyne Birungi for Implementing the header: 👤 **Evelyne Celyne Birungi** - GitHub: [@Evelyne](https://github.com/CELYNEBIRUNGI) - LinkedIn: [Evelyne](https://www.linkedin.com/in/evelyne-celyne-birungi-7b3178164/) <p align="right">(<a href="#readme-top">back to top</a>)</p> <br><hr> <!-- FUTURE FEATURES --> ## <b>Future Features 🔭</b><a name="future-features"></a> - [ ] **Improve the UI with animations** - [ ] **Project UI Styling** - [ ] **Testing with test** <p align="right">(<a href="#readme-top">back to top</a>)</p> <br><hr> <!-- ATTRIBUTION --> ## 👥 Attribution <a name="attribution"></a> - ProjectIcon: [Svgrepo](https://www.svgrepo.com/) <!-- CONTRIBUTING --> ## <b>Contributing 🤝</b><a name="contributing"></a> If you have suggestions 📝, ideas 🤔, or bug reports 🐛, please feel free to open an [issue](https://github.com/RileyManda/SciMovies/issues) on GitHub. Remember, every contribution, no matter how big or small, makes a difference. <p align="right">(<a href="#readme-top">back to top</a>)</p> <br><hr> <!-- SUPPORT --> ## <b>Show your support 🌟</b><a name="support"></a> Thank you for taking the time to explore this project! Your support means a lot to me. If you find my project valuable and would like to contribute, here is one way you can support me: - <b>Star the project ⭐️</b>: Show your appreciation by starring this GitHub repository. It helps increase visibility and lets others know that the project is well-received. - <b>Fork the project 🍴 🎣</b>: If you're interested in making improvements or adding new features, feel free to fork the project. You can work on your own version and even submit pull requests to suggest changes. - <b>Share with others 🗺️</b>: Spread the word about this project. Share it on social media, mention it in relevant forums or communities, or recommend it to colleagues and friends who might find it useful. <p align="right">(<a href="#readme-top">back to top</a>)</p> <br><hr> <!-- ACKNOWLEDGEMENTS --> ## <b>Acknowledgments 🙏</b><a name="acknowledgements"></a> I would like to express my sincere gratitude to [Microverse](https://github.com/microverseinc), the dedicated reviewers, and collaborators. Your unwavering support, feedback, and collaborative efforts have played an immense role in making this journey a resounding success. I am truly grateful for your contributions and for being an integral part of my achievements. Thank you for your continued support. <p align="right">(<a href="#readme-top">back to top</a>)</p> <br><hr> <!-- FAQ (optional) --> ## <b>FAQ ❓</b><a name="faq"></a> - **Question_1** Do I have to use the vs code specifically? - Answer_1 You can use any code editor of your choice. <br> - **Question_2** Where can I download node JS for installation? - Answer_2 Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. It can be downloaded here: https://nodejs.org/en/download/Node.jsNode.js <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LICENCE --> ## <b>License 📝</b><a name="license"></a> This project is [MIT](./LICENSE) licensed. _NOTE: we recommend using the [MIT license](https://choosealicense.com/licenses/mit/) - you can set it up quickly by [using templates available on GitHub](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). You can also use [any other license](https://choosealicense.com/licenses/) if you wish._ <p align="right">(<a href="#readme-top">back to top</a>)</p>
SciMovies is a Full Stack dynamic single page application dedicated to showcasing a vast collection of scifi tv shows and movies. The website consumes its data from TvMaze API and Posts the user interaction likes on each tv show to the involvement API
css3,es6-modules,flexbox,grid,html5,javascript,jest,lodash,webpack-cli,webpack5
2023-07-03T05:03:31Z
2023-08-18T14:24:42Z
null
2
25
112
5
0
2
null
MIT
JavaScript
sid760/blogging-website
main
# MyBlog - Blogging-website ### Mern stack based blogging website It is simple blogging website where one can browse blogs. Users can aslo post and edit their own blogs, after signing in. Blogs can contain images and it also supports different text formatting options. ## Code Organisation - api contains the server and connection to atlas mongodb database - client contains client side code
MyBlog - Blogging Website using MERN Stack
blog,full-stack,javascript,mern,mern-stack,mongodb,software-development,webdev,website
2023-07-12T09:53:52Z
2023-12-03T09:06:56Z
null
3
1
5
0
1
2
null
null
JavaScript
Muhammad-Rebaal/Weather-App
main
# Weather App This is a simple weather app that fetches weather data from the OpenWeatherMap API. ## Requirements - Node.js - NPM ## Installation 1. Clone the repo: git clone https://github.com/Muhammad-Rebaal/Weather-App.git 2. Install the dependencies: npm install 1. Run the app: npm start - Live link: https://nimble-flan-32bbf4.netlify.app/
The Weather React App is a user-friendly web application that provides real-time weather information for locations around the world. Designed with simplicity and usability in mind, this app allows users to quickly check the current weather conditions, forecasts, and more with just a few clicks.
javascript,reactjs,weather-api,weather-app
2023-07-10T10:35:00Z
2023-08-29T14:26:25Z
null
1
0
4
0
0
2
null
null
JavaScript
luanaxcardoso/lista-de-tarefas
main
<div align="center"> <h1>✏️Lista de tarefas✏️</h1> Acesse o projeto aqui: https://lista-de-tarefas-zeta-umber.vercel.app/ <h2>Lista dinâmica feita com React</h2> <h2>Clique no item para riscá-lo quando completar.</h2> <h2>Delete individualmente ou todas.</h2> ![giphy](https://github.com/luanaxcardoso/lista-de-tarefas/assets/112970416/2189c0b3-8d24-4d2a-a623-0dac377ac1ce)
✏️Lista de tarefas✏️
javascript,listadetarefas,listas,react,reactjs
2023-07-18T13:51:06Z
2023-07-19T18:03:20Z
null
1
2
10
0
0
2
null
GPL-3.0
CSS
Marquez-David/SpotifyClone
main
# Spotify Clone - [Description](#description) - [Structure](#structure) - [Installation](#installation) ## Description This project aims to replicate the popular music streaming service, Spotify, with both a mobile app and a web page. 🚀 Please note that this project is under development and may undergo changes in the future! 🚀 ## Structure This project includes a mobile app and a website, both Spotify clones, built with React Native and NextJS, respectively, in addition to other technologies. The structure of the project can be summarized as follows: 1. `mobile` #Spotify mobile application. 2. `web` #Spotify web application. ## Installation Please note that this will clone the entire repository. If you only need a specific directory, make sure to delete the other one. ```bash git clone https://github.com/Marquez-David/SpotifyClone.git ``` ## [![License](https://img.shields.io/static/v1?label=License&message=MIT&color=blue&?style=plastic&logo=appveyor)](https://github.com/Marquez-David/SpotifyClone/blob/main/LICENSE)
A clone of the popular music streaming application.
clone-coding,javascript,react-native,spotify,spotify-clone,rest-api,react,nextjs
2023-07-03T14:02:09Z
2024-02-02T11:46:46Z
null
1
4
278
0
0
2
null
MIT
JavaScript
osohyun0224/CodingTest_Practice_Javascript
master
# CodingTest_Practice_Javascript ### 👩🏻‍💻 Description Javascript만으로 코딩테스트를 준비하며 공부하는 레포입니다.
Javascript으로 코딩테스트를 준비하며 공부하는 저장소입니다.
coding-test,javascript,programmers
2023-07-08T05:09:33Z
2024-04-14T08:35:59Z
null
1
0
99
2
0
2
null
null
JavaScript
faanid/open-ai-apps
main
# Powered by AI🤖 AI Apps with ChatGPT, Dall-E, and GPT-4 ## Screenshots ![moviePith](https://github.com/faanid/open-ai-apps/assets/73032767/5db0ac52-fecd-483a-9db9-2039e4e61243) ![advertify](https://github.com/faanid/open-ai-apps/assets/73032767/3eab7351-ccb6-4fba-967f-820c5bfb7076) ![artmatch](https://github.com/faanid/open-ai-apps/assets/73032767/043b908c-f4c0-4d61-b309-abf31f834e35) ## Run Locally Clone the project ```bash git clone https://link-to-project ``` Go to the project directory ```bash cd my-project ``` Install dependencies ```bash npm install ``` Start the server ```bash npm run start ```
Movie idea generator with ChatGPT and Dall-E
api,api-openapi,chtagpt,css,dall-e,fetch-api,html,javascript,svg,opne-ai
2023-07-18T08:57:35Z
2023-07-21T08:15:06Z
null
1
0
11
0
0
2
null
null
JavaScript
ReddyDivya/rd-interview-preparation
main
# React Interview Questions This repository compiles all my react interview question preparations and their corresponding answers. 💡🔥 Top REACT Interview questions - Part 2 💼🎯 DO NOT go to Interview without preparing for them !! 0. What is Lifting State Up in React? 1. What is React context? 2. What are different ways to add CSS in your app? 3. What is Hot Module Replacement? 4. What is the use of Parcel, Vite, Webpack? 5. How does create-react-app work? 6. What is Tree Shaking? 7. Difference b/w dependency and devDependency 8. What is npx and npm? 9. Difference b/w package .json and package-lock .json 10. Difference between console .log(<HeaderComponent/>) and console .log(HeaderComponent()); 11. What is React.Fragment? 12. What is the purpose of dependency array in useEffect? What is the difference when it is used and when it is not used? 13. What if 2 components are given will the state change in one component will effect the other component’s state (child)? 14. What is the use of return in useEffect ? 15. Difference b/w client-side routing and server-side routing? 16. Explain the concept of code splitting and its benefits in React. 17. How does React handle routing and navigation? 18. What are higher-order components (HOC) in React? 19. What are controlled and uncontrolled components? 20. Explain the concept of reconciliation in React. Top 20 REACT Interview Questions 💼🎯 --- 1. How does React Fiber improve performance in React applications? 2. Explain the concept of code splitting and its benefits in React. 3. What are the key differences between server-side rendering (SSR) and client-side rendering (CSR) in React? 4. Describe the concept of render props and their use cases in React. 5. How can you optimize the rendering of large lists in React? 6. Explain the concept of memoization and its importance in React. 7. What is the purpose of the useEffect() hook in React and how does it work? 8. How does React handle routing and navigation? 9. How can you handle asynchronous operations in React using async/await? 10. Explain the concept of the Context API in React and its benefits. 11. What is the role of higher-order components (HOC) in React and how can you implement them? 12. Describe the concept of controlled and uncontrolled components in React forms. 13. How does React handle state management in large-scale applications? 14. Explain the concept of suspense in React and its use cases. 15. What are the different ways to handle side effects in React using hooks? 16. Explain the concept of reconciliation in React. 17. How can you prevent unnecessary re-renders in React? 18. What are the different ways to style components in React? 19. What are the key considerations when implementing a scalable React application? 20. Describe the concept of reusability, modularity, testability in React components. ---
This repository compiles all my JavaScript, React, Redux interview question preparations along with their corresponding answers.
javascript,react,redux-toolkit
2023-07-09T09:35:46Z
2024-03-01T12:49:48Z
null
1
0
68
0
0
2
null
null
null
The-Parth-Choudhary/ToDo-List
main
null
Learning to create a to do list using node.js and mongoose
database,javascript,mongoose,mongooseatlas,nodejs,render,todolist
2023-07-13T10:51:21Z
2023-07-19T13:08:39Z
null
1
0
5
0
0
2
null
null
JavaScript
Aditya020224/Myntra_clone
main
# Myntra_clone Created a Myntra Clone that is only a front page. I created this clone to check my quick HTML,CSS & JavaScript knowledge and to get a hands-on coding check. ![FrontPage](https://github.com/Aditya020224/Myntra_clone/assets/96903392/a7a07cee-8feb-4d01-84e8-2100be454373) ##### "If you use this code for practice purpose or resume project purpose do use latest images" .
Created a Myntra Clone.
css3,html5,javascript
2023-06-30T04:18:03Z
2023-06-30T04:49:04Z
null
1
0
9
0
0
2
null
null
JavaScript
audacity07/travello
master
# Travello <div align="center" width="55" height="55"> <img src="https://github.com/audacity07/wonderful-sound-2096/blob/master/images/LandingPage/logo_with_name.png?raw=true" alt="html" width="120" height="120"/> </div> Embark on a journey of a lifetime with Travello - your go-to travel website equipped with seamless login, signup, search, and filtering functionalities. Discover your dream destination, connect with fellow travelers, and share your experiences within a vibrant community. Let Travello be your guide to endless adventures and unforgettable memories. Join us now and unleash your wanderlust! 🌍✈️ ## Tech Stacks Used <p align = "center"> <img src="https://github.com/audacity07/screeching-wax-837/blob/master/images/HTML5_logo_and_wordmark.svg.png?raw=true" alt="html" width="60" height="55"/> <img src="https://github.com/audacity07/screeching-wax-837/blob/master/images/CSS3_logo_and_wordmark.svg.png?raw=true" alt="CSS" width="45" height="55"/> <img src="https://github.com/audacity07/screeching-wax-837/blob/master/images/1200px-Javascript-shield.svg.png?raw=true" alt="js" width="45" height="55"/> </p> <hr> ## Features - Responsive - Search Functionality (Debouncing) - Filter Functionality - Sort Functionality - Features Carousel - Dynamic Add and Remove Functionality - Dynamic addition of Cards, Rating and Total Calculation - Admin Panel - Login and Sign up functionality - Checkout - Delete Account functionality - Credit/Debit & UPI Payment Functionality ## Run Locally ### Clone this Project ``` https://github.com/audacity07/wonderful-sound-2096.git ``` | `Project Highlights` | | :------------------: | <div align = "center"> <img src="https://github.com/audacity07/wonderful-sound-2096/blob/master/images/github%20page/pic1.PNG?raw=true" width="946" height="384" /> <img src="https://github.com/audacity07/wonderful-sound-2096/blob/master/images/github%20page/pic2.PNG?raw=true" width="942" height="446"/> <img src="https://github.com/audacity07/wonderful-sound-2096/blob/master/images/github%20page/pic3.PNG?raw=true" width="942" height="478"/> <img src="https://github.com/audacity07/wonderful-sound-2096/blob/master/images/github%20page/pic7.PNG?raw=true" width="942" height="480"/> <img src="https://github.com/audacity07/wonderful-sound-2096/blob/master/images/github%20page/pic6.PNG?raw=true" width="942" height="480"/> <div/> | `Demo` | | :----: | [https://sensational-starship-6bc092.netlify.app/](https://sensational-starship-6bc092.netlify.app/) `url` https://sensational-starship-6bc092.netlify.app/ | `Authors` | | :-------: | [@audacity07](https://github.com/audacity07) [@maniRhombuz](https://github.com/maniRhombuz) [@hemanthkammara](https://github.com/hemanthkammara) [@mohdaamil120](https://github.com/mohdaamil120)
Travello is your ultimate travel companion, offering seamless login, signup, search, and filtering options. Discover dream destinations, connect with like-minded travelers, and share experiences in a vibrant community. Unleash your wanderlust and embark on unforgettable adventures with Travello.
css,html,javascript
2023-07-17T18:05:53Z
2023-10-06T21:24:09Z
null
6
27
66
0
3
2
null
null
CSS
RashadAnsari/wallet-core
master
# Wallet Core [![Build](https://github.com/RashadAnsari/wallet-core/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/RashadAnsari/wallet-core/actions/workflows/main.yml) An all-in-one cryptocurrency service that enables users to effortlessly generate HD wallets, access wallet information, retrieve transaction details, broadcast transactions, and offers various other cutting-edge features for seamless cryptocurrency management. ## API Documentation - [Swagger Documentation](./docs/swagger.yml) ## Environment Variables The application relies on the following environment variables for configuration: - `PORT`: The port number on which the application will listen. If not provided, the default value is set to `3000`. - `MNEMONIC`: The mnemonic phrase used for generating cryptographic keys or addresses. This variable is required and must be provided. - `PASSPHRASE`: An optional passphrase or password associated with the mnemonic phrase. If not provided, the default value is set to an empty string. - `BLOCKCHAIR_API_KEY`: An optional secret key that you get from [Blockchair](https://blockchair.com/api/docs#link_M05) when you sign up for their API. This key is used to authenticate your requests to the Blockchair API. If not provided, you can only send 1440 requests per day. Make sure to set these environment variables accordingly when running the application. You can either export them in your shell environment or provide them in a `.env` file in the root directory of your project. ## Run using Docker To run the application using Docker, run the command below: ```bash docker run -p 3000:3000 -e MNEMONIC="remember relief wool then dad equip team guard provide clever mom kiss" ghcr.io/rashadansari/wallet-core ``` ## Supported Cryptocurrencies - Bitcoin (BTC) - Litecoin (LTC) - Ethereum (ETH) - Dogecoin (DOGE) - Cardano (ADA)
An all-in-one cryptocurrency service that enables users to effortlessly generate HD wallets, access wallet information, retrieve transaction details, broadcast transactions, and offers various other cutting-edge features for seamless cryptocurrency management
bitcoin,blockchain,crypto,cryptocurrency,ethereum,wallet-core,javascript,node-js,typescript,all-in-one
2023-07-08T12:39:09Z
2023-07-20T12:12:20Z
2023-07-20T12:12:20Z
1
0
49
2
0
2
null
Apache-2.0
JavaScript
ahtisham774/Quizi
main
Quizi App ========= Quizi App is a web-based quiz application that allows users to test their knowledge on various subjects and topics. This README provides an overview of the Quizi App, its features, installation instructions, and usage guidelines. Features -------- - User-friendly interface for an intuitive quiz-taking experience. - Multiple choice questions with options for each question. - Instant feedback on the selected answers (correct/incorrect). - Dynamic scoring system to track the user's performance. - Ability to review and analyze quiz results. - Progress tracking to monitor the number of quizzes attempted. - Responsive design for seamless usage on different devices. - Customizable quiz content and categories. Screenshot -------- ![66565627-b6dd-4b1f-879a-8a5b7820f36e](https://github.com/ahtisham774/Quizi/assets/77314350/a4ebf5fd-920d-420a-9256-0ca6807dcb67) Installation ------------ 1. Clone the repository: `git clone https://github.com/ahtisham774/quizi.git` 2. Navigate to the project directory: `cd quizi` 3. Open the `index.html` file in your preferred web browser. Usage ----- 1. Upon opening the application, you will be presented with the home page. 2. Browse through the available quiz categories or select a specific quiz from the list. 3. Start the quiz by clicking on the "Start Quiz" button. 4. Read each question carefully and select the appropriate answer from the given options. 5. After answering all the questions, click on the "Submit" button to view your results. 6. The app will display your score, highlight correct and incorrect answers, and provide an overall assessment. 7. Optionally, you can review your quiz results and retake quizzes to improve your performance. 8. Navigate back to the home page or select another quiz category to explore different topics. Customization ------------- You can customize the Quizi App according to your preferences: - Modify the quiz content by editing the `script.js` file, which contains the quiz questions, options, and correct answers. - Customize the styling by modifying the CSS files located in the `styles` folder. - Add or remove quiz categories as needed by updating the category list in the `index.html` file. Contributing ------------ Contributions to the Quizi App project are welcome! If you encounter any bugs, have suggestions for improvements, or would like to add new features, feel free to submit a pull request. Please ensure that your contributions align with the project's coding standards and guidelines. License ------- The Quizi App is open-source software licensed under the [EPL 2.0 license](https://opensource.org/license/epl-2-0/). Acknowledgements ---------------- - [OpenTriviaDB](https://opentdb.com/) for providing the trivia API used in the app. - [Tailwind CSS](https://tailwindcss.com/) for the utility-first CSS framework used in the app's styling. - [FontAwesome](https://fontawesome.com/) for the icons used in the user interface. Contact ------- For any inquiries or support, please contact the project maintainer: <ahtishamrajpoot774@gmail.com>.
null
css,frontend,html,javascript,quiz,quiz-app,quizi,tailwindcss
2023-07-09T13:22:05Z
2023-07-24T05:06:28Z
null
1
0
19
0
0
2
null
EPL-2.0
HTML
CobbyElsonfx/To-Do-List-App
master
<a name="readme-top"></a> <div align="center"> <h3><b>To Do List</b></h3> </div> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [🚀 Live Demo](#live-demo) - [💻 Getting Started](#getting-started) - [Prerequisites](#prerequisites) - [Setup](#setup) - [Deployment](#deployment) - [👥 Authors](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [❓ FAQ (OPTIONAL)](#faq) - [📝 License](#license) # 📖 About the Project <a name="about-project"></a> **To Do List** is a web app that helps you in tracking your daily activities . ## 🛠 Built With <a name="built-with"></a> ### Tech Stack <a name="tech-stack"></a> <details> <summary>Client</summary> <ul> <li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a></li> <li><a href="https://developer.mozilla.org/en-US/docs/Web/CSS">CSS</a></li> <li><a href="https://developer.mozilla.org/en-US/docs/Web/javascript">JavaScript</a></li> </ul> </details> ### Key Features <a name="key-features"></a> - **Displays Added Activities** - **Ability to add a new activity** - **Remove completed activities** <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🚀 Live Demo <a name="live-demo"></a> - [Live Link](https://cobbyelsonfx.github.io/To-Do-List-App/dist) <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 💻 Getting Started <a name="getting-started"></a> To get a local copy up and running, follow these steps. ### Prerequisites In order to run this project you need: - An IDE (ex: VS Code) - Github account ### Setup Clone this repository to your desired folder: ```sh cd project-folder git clone https://github.com/CobbyElsonfx/To-Do-List-App.git ``` ### Deployment You can deploy this project using: - Go to github.com - Create a new repository - Add all website files in the new repository - Go to Settings/Pages - Go to branch and change from 'none' to 'main' - Click Save <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 👥 Authors <a name="authors"></a> 👤 **Francis Andoh** - GitHub: [@CobbyElsonfx](https://github.com/CobbyElsonfx) - LinkedIn: [@FrancisAndoh](https://www.linkedin.com/in/francis-andoh-133aa7245/) <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🔭 Future Features <a name="future-features"></a> - [ ] **More animation** <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](../../issues/). <p align="right">(<a href="#readme-top">back to top</a>)</p> ## ⭐️ Show your support <a name="support"></a> If you like this project and wish to collaborate. Please contact me. <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🙏 Acknowledgments <a name="acknowledgements"></a> - Inspired by the [Minimalist by @mshwery](https://web.archive.org/web/20180320194056/http://www.getminimalist.com:80/). - Checkout [Icons8](https://icons8.com) <p align="right">(<a href="#readme-top">back to top</a>)</p> ## ❓ FAQ <a name="faq"></a> - **Is it responsive?** - Yes,it works both on mobile and desktop screens. <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 📝 License <a name="license"></a> This project is [MIT](./MIT.md) licensed. <p align="right">(<a href="#readme-top">back to top</a>)</p>
To Do List is a web app that helps you in tracking your daily activities , it uses webpack for optimization and linters for quality code
css,html,javascript,linters,webpack
2023-07-13T23:02:31Z
2023-07-27T17:06:21Z
null
2
6
26
2
0
2
null
null
HTML
umohpyro/NutriSense
master
# Project Name Nutrisense - Your friendly intelligent pidgin diet assistant <img src="nutrisense-landing.PNG" width="100%"/> ## Introduction An AI project that utilizes the ChatGPT API but is fully customized to only respond to health and diet-related prompts. NutriSense is a web application that generates personalized diet plans based on user preferences and dietary restrictions. It uses the GPT-3 language model to generate meal plans and recipes that meet users' needs. The application is built with Next.js, Tailwind CSS, OpenAI, NextAuth and Prisma ORM. NutriSense was inspired by a personal need for quick and healthy meal ideas. As busy professionals with busy schedules, we found it difficult to consistently make nutritious meals for ourselves and our families. We wanted a solution that was convenient, accessible, and tailored to our specific dietary needs and preferences. This project was developed as a Portfolio Project for ALX SE Program, as part of our training to become full-stack software engineers. We are proud to have developed a solution that addresses a common problem for many people, and We hope this chatbot will help others eat healthier and save time in the kitchen. ## Installation ### 1. Clone the repository ```bash git clone https://github.com/umohpyro/nutrisense.git ``` ### 2. Navigate to the project directory ```bash cd nutrisense ``` ### 3. Install dependencies ```bash npm install ``` ### 4. Create a copy of the .env.local file in the root directory and fill the configuration variables: ```bash # ------------------------ # NextAuth.js Configuration # ------------------------ NEXTAUTH_SECRET=secret NEXTAUTH_URL=http://localhost:3000 # ------------------------ # OAuth Providers # ------------------------ GOOGLE_CLIENT_ID= GOOGLE_CLIENT_SECRET= # ------------------------ # Database # ------------------------ DATABASE_URL= # ------------------------ # OpenAI # ------------------------ OPENAI_API_KEY= # ------------------------ # Redis # ------------------------ REDIS_URL= REDIS_SECRET= ``` ### 5. Start the development server ```bash npm run dev # or yarn dev # or pnpm dev ``` Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. Click on signIn to open the page below <img src="SignInPage.PNG" width="100%"/> Now log in using either Github or Google. ## Usage - Create an account or log in with an existing account - Enter your dietary preferences and restrictions - Click the button - View your personalized diet plan and recipes ## Contributing Contributions are welcome! To contribute, follow these steps: - Fork the repository - Create a new branch ```bash git checkout -b feature/<feature-name> ``` - Commit your changes ```bash git commit -m "Add some feature" ``` - Push to the branch ```bash git push origin feature/<feature-name> ``` - Open a pull request ## Features <img src="banner.PNG" width="100%"/> - Rate Limited API routes - Protection of sensitive routes - Google Authentication - Typescript - A complete API key system to create & revoke user keys - Radix UI Primitives - Tailwind CSS - Fonts with next/font - Icons from Lucide - Beautiful dark mode with next-themes - Class merging with taiwind-merge - Animation with tailwindcss-animate - Conditional classes with clsx - Variants with class-variance-authority ## Authors Umoh Andem (andemumoh@gmail.com) Nyong Mercy (nyongmercy@gmail.com) ## Related Projects ChatGPT ## Feedback If you have any feedback, please reach out to me at andemumoh@gmail.com or my partner at mercynyong@gmail.com ## License [MIT](https://choosealicense.com/licenses/mit/)
An AI project that utilizes the ChatGPT API but fully customized to only respond to health and diet related prompts. nutrisense is a web application that generates personalized diet plans based on user preferences and dietary restrictions. It uses the GPT-3 language model to generate meal plans and recipes that meet the user's needs.
ai,alx,alx-africa,api,api-rest,chatbot,chatgpt,javascript,next-auth,nextjs
2023-07-07T16:56:54Z
2023-07-13T07:29:23Z
null
2
0
9
0
0
2
null
MIT
TypeScript
ChavinduShirantha/JS_2D_Game
master
# Simple_2D_Game ### Simple 2D Game using JavaScript, HTML and CSS ### - Live For Speed * HTML * Javascript * CSS ### -Simple_2D_Game * 🔗 <a href="https://github.com/ChavinduShirantha/JS_2D_Game" target="_blank">GitHub Project Link</a> * 🔗 <a href="https://chavindushirantha.github.io/JS_2D_Game/" target="_blank">GitHub Page</a> * 🔗 <a href="https://www.linkedin.com/in/chavindu-shirantha-b5b857264/" target="_blank">Linked-In</a> <br> <p align="center" style="font-size: 24px;font-weight: bold">Screenshots</p> <br> <p align="center"><img align="center" alt="" src="assets/img/screenshots/view01.png" width="" height="" /></p><br> <p align="center"><img align="center" alt="" src="assets/img/screenshots/view02.png" width="" height="" /></p><br> <p align="center"><img align="center" alt="" src="assets/img/screenshots/view03.png" width="" height="" /></p><br> <p align="center"><img align="center" alt="" src="assets/img/screenshots/view04.png" width="" height="" /></p><br> <p align="center"><img align="center" alt="" src="assets/img/screenshots/view05.png" width="" height="" /></p><br> <p align="center"><img align="center" alt="" src="assets/img/screenshots/view06.png" width="" height="" /></p><br> <p align="center"><img align="center" alt="" src="assets/img/screenshots/view07.png" width="" height="" /></p><br> <p align="center"><img align="center" alt="" src="assets/img/screenshots/view08.png" width="" height="" /></p><br> <p align="center"><img align="center" alt="" src="assets/img/screenshots/view09.png" width="" height="" /></p><br> <p align="center"><img align="center" alt="" src="assets/img/screenshots/view10.png" width="" height="" /></p><br> <p align="center"><img align="center" alt="" src="assets/img/screenshots/view11.png" width="" height="" /></p><br> <p align="center"><img align="center" alt="" src="assets/img/screenshots/view12.png" width="" height="" /></p><br> <p align="center"><img align="center" alt="" src="assets/img/screenshots/view13.png" width="" height="" /></p><br> <p align="center"><img align="center" alt="" src="assets/img/screenshots/view14.png" width="" height="" /></p><br> <div align="center"> ### ### Clone this repository ✅ ```md https://github.com/ChavinduShirantha/JS_2D_Game ``` ## Connect with me #### If you have any bugs or issues , If you want to explain my code please contact me on : </div> ## <p align="center"> <a href="https://twitter.com/Chavindu62"><img align="center" src="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/twitter.svg" alt="__ChavinduShirantha__" height="30" width="40" /></a> <a href="https://www.linkedin.com/in/chavindu-shirantha-b5b857264/" target="blank"><img align="center" src="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/linked-in-alt.svg" alt="https://www.linkedin.com/public-profile/settings?trk=d_flagship3_profile_self_view_public_profile" height="30" width="40" /></a> </p> ## <div align="center"> ![repo license](https://img.shields.io/github/license/ChavinduShirantha/JS_2D_Game?&labelColor=black&color=3867d6&style=for-the-badge) ![repo size](https://img.shields.io/github/repo-size/ChavinduShirantha/JS_2D_Game?label=Repo%20Size&style=for-the-badge&labelColor=black&color=20bf6b) ![GitHub forks](https://img.shields.io/github/forks/ChavinduShirantha/JS_2D_Game?&labelColor=black&color=0fb9b1&style=for-the-badge) ![GitHub stars](https://img.shields.io/github/stars/ChavinduShirantha/JS_2D_Game?&labelColor=black&color=f7b731&style=for-the-badge) ![GitHub LastCommit](https://img.shields.io/github/last-commit/ChavinduShirantha/JS_2D_Game?logo=github&labelColor=black&color=d1d8e0&style=for-the-badge) </div> <div align="center"> #### @2023 [Chavindu Shirantha](https://github.com/ChavinduShirantha), Inc.All rights reserved </div>
Simple 2D Game using Java Script, HTML and CSS
css,html,javascript
2023-07-12T03:33:28Z
2023-11-18T07:14:18Z
null
1
0
43
0
0
2
null
MIT
CSS
papilo-cloud/word-coach
main
# English Dictionary + WordCoach App ### The user should be able to * Search for a word using the search bar * Listen to the pronunciation of words * Click the drop down button for more definitions if available * See similar and dissimilar words * Click the drop down button for more similar and dissimilar words if available * Click on each similar/dissimilar word for a modal of short definition or see full deinition * Listen to the pronunciation * Learn new words by playing the word coach game * after the first five rounds of the game, you get to see your score and meanings of each word * Click on the next round button to go to the next round
A word coaching app + dictionary
animation-css,css3,javascript,reactjs
2023-07-01T22:37:23Z
2023-12-09T22:49:20Z
null
1
53
111
0
1
2
null
null
JavaScript
JayachandranRamu/Connect
main
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z3of5c4tx1e5akdpzixq.png) # Connect It is basically a Student Relationship Management Website. It use to connect people over a Masai Community.We have built some features by taking inspiration for Masai LMS. It was a collabarative project built by a team of four members in a span of 5 days. We basically built this website in three Sections. * Student Page * Manager Page * Admin Section **Netlify :** [Connect Website](https://connect-lms01.netlify.app/) ## Tech Stack **Front-End:** HTML | CSS | JavaScript **Back-End [API] :** Node Modules | Mock API ## Features **Student & Manager Page** - Login & SignUp - OTP Verification for SignUp [Via Email Using Smtpjs.com] - To-Do List - Group & Group Announcement - Discussion [ Chat with everyone in the website ] - Edit Profile - Light/Dark Mode Toggle - Fullscreen Mode - Cross Platform - Fully Responsive **Admin Page** - Add & Update & Delete Manager Data - Add & Update & Delete Student Data ## Website - Screenshots ### Login and Signup Page:- #### Login Part :- You can just give your proper credential and login. ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fig80ob0908cl5ezwt24.png) #### Signup Part :- You have to give your proper working email and proper details, Then OTP will be send to the email. If you verify the OTP means the account will be created. ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nflmmtz945jwpscudss8.png) ### Student And Manager Page:- #### Dashboard :- It shows you the active students stats, total students stats. And your top 5 task of your todo list. Light Mode : ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zcf91ien48nbon0p0m18.png) Dark Mode : ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ot29pdjr99xcotvkmcxr.png) #### Search :- You can search all students, who are all present in the website. Light Mode : ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4cbigwlmrw8sby9cjawh.png) Dark Mode : ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yzj0e8xp36fxfz30wt5e.png) #### Groups [ Manager ] :- You can create the group and send notification. Light Mode : ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3t5xx3hyrbpqxao5i7ry.png) Dark Mode : ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/amd915mtg4doqoo5be05.png) #### Groups [ Students ] :- You can see the group name nand announcements of the groups. Light Mode : ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8tqzt5zgt8oniww40wld.png) Dark Mode : ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/51etlfeei4wxddxtd6jy.png) #### Tasks :- To make a note of your daily task. Ligth Mode : ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t0hanefc7fz55lo88w4l.png) Dark Mode : ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ivaqvnrho97i4uma5a37.png) #### Discussion :- You can discuss or chat with anyone in the website. Light Mode : ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jx2lqpxnugwz7cx9fgnv.png) Dark Mode : ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/maf3iwj91tlimjiatfiq.png) #### User Account :- You can see and edit your profile anytime. Light Mode - ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p8mu2cc43dgdtb3wa75r.png) Dark Mode - ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8c0s1p4v24rl0qzvz7uf.png) ### Admin Page:- #### Dashboard :- It shows you the active students stats, total students stats. Light Mode : ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9r309sf4umlc5t8dr95i.png) Dark Mode : ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p9fjbews8m5bm4jdinif.png) #### Add An Manager / Student :- Use to add a data of Student or Manager. Light Mode : ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s8nf60m72bnb85b6auvj.png) Dark Mode : ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/apet1w5c912tpg95ku6h.png) #### Search :- Search and update the data of Student or Manager. Light Mode : ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vigv04c9b0n3kkvt8sy2.png) Dark Mode : ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gbf9kv0mg1f51jan2rxg.png) #### Students List :- You can see all the Students data and able have the option to delete their data. Light Mode : ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qxzc75bjmeaxjx5wubj4.png) Dark Mode : ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k37reaa32ytpiy8tsy5f.png) #### Employee List :- You can see all the Managers data and able have the option to delete their data. Light Mode : ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8pyz1nyz843faqc150g2.png) Dark Mode : ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1c97t8kh951oluq41p8s.png) ## API Reference #### Student Data ```http GET https://64b63253df0839c97e151a61.mockapi.io/api/admin/Students ``` #### Manager Data ```http GET https://64b63253df0839c97e151a61.mockapi.io/api/admin/users ``` ## Feedback If you have any Feedback, Please reach out to us at jayachandran9629040900@gmail.com ## Authors **Team Lead :** - [Jayachandran Ramu](https://github.com/JayachandranRamu) **Team Members :** - [Paras Kamaliya](https://github.com/paraskamaliya) - [Shubham Jayswal](https://github.com/shubham-masai) - [Venkatesh Gangoji](https://github.com/Venky8073)
It is basically a Student Relationship Management Website. It use to connect people over a Masai Community.We have built some features by taking inspiration for Masai LMS. It was a collabarative project built by a team of four members in a span of 5 days. We basically built this website in three Sections.
css,html,javascript
2023-07-18T04:25:31Z
2023-11-18T16:10:09Z
null
5
21
92
0
1
2
null
null
HTML
mariateodorapopescu/VanillaTODO
main
# VanillaTODO Web - Cisco CCNA Webacademy Project Revamped! Welcome to VanillaTODO - where the Cisco CCNA Webacademy project gets a remake! After a summer of dedicated enhancements in 2023, I present to you a Todo list web app with a touch of girly girl aesthetic and a powerhouse of additional features. ## What's New? - **Girly Girl Aesthetic:** Prepare to be dazzled by a visually stunning and feminine design. VanillaTODO isn't just functional; it's a delight for the eyes! - **Enhanced Functionality:** This isn't your ordinary Todo list. VanillaTODO comes with a plethora of new functions, turning your task management into a seamless and enjoyable experience. ## Getting Started 1. **Enter the link below:** ```bash curl https://fabulous-travesseiro-d534ed.netlify.app ``` 2. **Enjoy!** =) ## Features - **Aesthetic Design:** Experience a Todo list that's as visually captivating as it is functional. - **Extended Functionality:** Beyond the basics, VanillaTODO brings additional features to elevate your task management game. - **User-Friendly Interface:** Intuitive and seamless, VanillaTODO ensures you stay productive without any fuss. ## Help! Contribute, share your ideas, and let's make VanillaTODO the go-to Todo list web app for those who appreciate a touch of beauty and simplicity in their productivity. Together, we redefine elegance in the world of web applications.
WEB101 Cisco CCNA webacademy project, but improved, after some further work from summer 2023. Some girly girl aesthetic TODO list webapp with more functions then todo list
aesthetic,css,cute,html,javascript,js,todolist,women-in-tech,girlygirl
2023-07-20T13:48:58Z
2024-02-12T20:37:24Z
null
1
0
33
0
0
2
null
GPL-3.0
CSS
ibanezfr/preguntas-de-javascript
main
<div align="center"> # Preguntas de JavaScript </div> ##### [Crédito: Idea original](https://rb.gy/1xtk4) ## Índice 1. [Comportamiento de variables `var` y `let` en JavaScript: Ejemplo de "hoisting" y "zona muerta temporal".](https://shorturl.at/inFPX) 2. [Alcance de variables y setTimeout en JavaScript.](https://bit.ly/3rJQqIa) 3. [Funciones regulares y flecha con el uso del this en JavaScript. ](https://bit.ly/3KhodyP) 4. [Conversiones booleanas y evaluación de expresiones en JavaScript. ](https://bit.ly/3Kh0XRI) 5. [Acceso a propiedades de objetos en JavaScript: Notación de corchetes y notación de puntos](https://shorturl.at/sJOT8) 6. [Manejo de objetos por referencia en JavaScript](https://bit.ly/3QeGtMY) 7. [Comparación entre operadores == y === en JavaScript: Valor vs. Valor y Tipo ](https://bit.ly/3q5jmd6) 8. [TypeError: Acceso incorrecto al método estático en una instanciaespecífica ](https://shorturl.at/tx369) 9. [Depuración de errores y el uso estricto en JavaScript ](https://shorturl.at/aqC15) 10. [Las funciones en JavaScript: objetos invocables](https://shorturl.at/dgw56) 11. [Optimización de memoria en JavaScript mediante el uso de prototipos ](https://shorturl.at/cimR9) 12. [Creación de instancias: Uso de 'new' vs. in 'new': Impacto en la asignación de propiedades](https://bit.ly/3DwUiij) 13. [Fases de propagación de eventos en la programación de la interfaz de usuario](https://bit.ly/456Ghnp) 14. [Herencia de prototipos y acceso a métodos en JavaScript ](https://rebrand.ly/k0snynl) 15. [Tipado dinámico y coerción implícita de tipos](https://rebrand.ly/sysug0c) 16. [Operadores unarios de incremento y sus resultados. ](https://shorturl.at/quzR8) 17. [Plantillas etiquetadas en JavaScript: Personaliza y modifica las salidas de las plantillas literales](https://shorturl.at/dimxW) 18. [Comparación de objetos en JavaScript](https://bit.ly/43Jq2LF) 19. [El operador de propagación (spread operator) en JavaScript"](https://rebrand.ly/rwnsrwu) 20. [La importancia de utilizar 'use strict' para evitar variables globales accidentales](https://shorturl.at/kmGIT) 21. [Evaluación de una cadena: el uso de eval()](https://shorturl.at/ghmxY) 22. [Persistencia de datos: Impacto al cerrar la pestaña o el navegador. ](https://shorturl.at/dFHIY) 23. [Diferencias de alcance entre `var`, `let` y `const` en JavaScript ](https://rb.gy/5fpee) 24. [Diferencias en el manejo de claves entre objeto y conjuntos ](https://rb.gy/tygcp) 25. [Sustitución de claves en objetos: un ejemplo de actualización de valores en duplicados](https://shorturl.at/wDSUX) 26. [El contexto de ejecución en JavaScript: Creación el objeto global y la palabra reservada "this"](https://shorturl.at/xRTWX) 27. ["La palabra reservada `continue` en JavaScript: Omitiendo iteraciones con condiciones específicas"](https://shorturl.at/pEQRS) 28. [Ampliando funcionalidades: Añadiendo un método al prototipo del constructor String](https://rb.gy/zbj46) 29. [La conversión automática de claves en objetos y el misterio de '[object Object]'](https://shorturl.at/hvxQX) 30. [Event Loop: Función SetTimeout](https://shorturl.at/wzBJ4) 31. [Valores falsos](https://shorturl.at/sLTW9) 32. [Palabra reservada typeof](https://shorturl.at/iopBW) 33. [Explorando los Arreglos en JavaScript: Ranuras Vacías y Valores `undefined` ](https://shorturl.at/kyKU1) 34. [Técnica de Reducción en JavaScript: Concatenando Arrays en un Solo Valor ](https://shorturl.at/gmsuE) 35. [Lógica de Negación y Valores Booleanos](https://shorturl.at/adrBQ) 36. [Sintaxis Extendida o Spread Syntax](https://shorturl.at/BLTX6) 37. [Interacción por referencia en JavaScript: Cómo afecta a los objetos dentro de un array](https://shorturl.at/dlTV0) 38. [Asociatividad de operadores](https://shorturl.at/abES7) 39. [El método parseInt()](https://shorturl.at/alqJQ) 40. [JSON.stringify: Serialización de Objetos en Formato JSON ](https://shorturl.at/jop05) 41. [Importaciones y Modificaciones de Variables en Módulos JavaScript ](https://shorturl.at/ADIUY) 42. [Uso del Operador 'Delete' en JavaScript: Eliminación de Propiedades y Variables](https://shorturl.at/qEOT9) 43. [Desestructuración en JavaScript: Extracción de Valores de Arrays y Objetos](https://shorturl.at/uzADU) 44. [Operadores Unarios en JavaScript](https://shorturl.at/mqzX6) 45. [Inicialización de Parámetros y Valores Predeterminados en ES6](https://shorturl.at/FKQX4) 46. [Distinguiendo la Unicidad y Equivalencia de Symbols en JavaScript ](https://shorturl.at/xBGP9) 47. [Método padStart en JavaScript para Manipular Cadenas de Texto ](https://shorturl.at/dsAQY) 48. [Entendiendo el Comportamiento de la Función push() en JavaScript ](https://shorturl.at/ewFMO) 49. [El uso de String.raw para Ignorar Escapes en JavaScript](https://shorturl.at/acoQS) 50. [Congelando Objetos en JavaScript: Entendiendo el Uso de Object.freeze() ](https://shorturl.at/hxAU5) 51. [https://shorturl.at/dhtx3](¿Se trata de una función pura?) --- <!-- 1 a 10 --> # 1. ¿Qué devuelve la función saluda? ###### [ÍNDICE](https://bit.ly/44AIBmF) <!-- El link del índice pensado para ser clickeado desde el navegador --> ```javascript function saluda(){ console.log(nombre) console.log(edad) var nombre = "Franco" let edad = 27 } ``` - A: `ReferenceError` y `27` - B: `undefined` y `ReferenceError` - C: `Franco` y `undefined` - D: `Franco` y `ReferenceError` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `B`. <div align="left"> 1. Para las variables declaradas con `var`, durante la fase de creación del contexto de ejecución, se reserva un espacio en memoria y se asigna el valor predeterminado `undefined`. Esto se conoce como "[hoisting](https://developer.mozilla.org/es/docs/Glossary/Hoisting)" o elevación. En el ejemplo, la variable "nombre" se declara con `var`, por lo que se eleva y se inicializa con el valor `undefined` antes de que se alcance la línea de código donde se define. 2. Sin embargo, las variables declaradas con `let` o `const` también se elevan, pero no se inicializan. Éstas tienen una "[zona muerta temporal](https://wesbos.com/temporal-dead-zone)" en la que no son accesibles antes de la línea de código en la que se declaran (se inicializan). Si intentamos acceder a una variable `let` o `const` antes de su declaración, se lanzará un `ReferenceError` . En el ejemplo, la variable `edad` de declara con `let`, y como intentamos acceder a ella antes de su declaración, se produce un `ReferenceError`. </div> <img src="./assets/images/1.webp" alt="Captura del output en la terminal del ejercicio" width="555" height="300" style="border: 1px solid black; text-align: center;"> </p> </details> </div> --- # 2. ¿Qué devuelve esta serie de bucles? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript for (var i = 5; i < 8; i++){ setTimeout(() => console.log(i), 1); } for(let i = 5; i < 8; i++){ setTimeout(() => console.log(i), 1); } ``` - A: `5 6 7` y `5 6 7` - B: `5 6 7` y `7 7 7` - C: `7 7 7` y `5 6 7` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `C`. <div align="left"> En JavaScript, las funciones [`setTimeout`](https://developer.mozilla.org/es/docs/Web/API/setTimeout) se ejecutan de forma asíncrona. Esto significa que se colocan en la cola de eventos y se ejecutan después de que se hayan completado todas las tareas sincrónicas. En el primer bucle, se utiliza la palabra reservada `var` para declarar la variable `i`. Al usar `var`, el alcance de la variable se vuelve global. Esto significa que todas las iteraciones del bucle comparten la misma variable `i`. Durante cada iteración, el valor de `i` se incrementa en 1. Sin embargo, debido a que las funciones `setTimeout` se ejecutan de forma asíncrona después de que el bucle haya terminado, todas las funciones `setTimeout` ven el mismo valor de `i`, que es 3 al final del bucle. Por lo tanto, cuando se ejecutan las funciones `setTimeout`, todas imprimen el valor 3. En el segundo bucle, se utiliza la palabra reservada `let` para declarar la variable `i`. Al usar `let`, se crea una nueva variable `i` en cada iteración del bucle. Cada variable `i` tiene su propio alcance de bloque y se conserva dentro del bloque del bucle. Cuando se llama a la función `setTimeout` en cada iteración, se captura el valor actual de `i` dentro de ese alcance de bloque específico. Como resultado, cada función `setTimeout` ve un valor de `i` distinto correspondiente a su respectiva iteración del bucle. En resumen, la diferencia en el comportamiento se debe al alcance de las variables `i`. Con `var`, se comparte una sola variable `i` en todo el bucle, lo que provoca que todas las funciones `setTimeout` vean el mismo valor al final del bucle. Con `let`, se crea una nueva variable `i` en cada iteración del bucle, lo que permite que cada función `setTimeout` capture el valor correspondiente a su propia iteración. </div> <img src="./assets/images/2a.webp" alt="Captura del output en la terminal del ejercicio" width="500" height="150" style="border: 1px solid black; text-align: center;"> <img src="./assets/images/2b.webp" alt="Captura del output en la terminal del ejercicio" width="490" height="90" style="border: 1px solid black; text-align: center;"> <img src="./assets/images/2c.webp" alt="Captura del output en la terminal del ejercicio" width="500" height="100" style="border: 1px solid black; text-align: center;"> <img src="./assets/images/2d.webp" alt="Captura del output en la terminal del ejercicio" width="490" height="90" style="border: 1px solid black; text-align: center;"> </p> </details> </div> --- # 3. ¿Qué imprimirían estos console.log( ) ? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript const forma = { radio: 10, diametro(){ return this.radio * 2; }, perimetro: () => 2 * Math.PI * this.radio, }; console.log(forma.diametro()); console.log(forma.perimetro()); ``` - A: `20` y `62.83185307179586` - B: `20` y `NaN` - C: `20` y `63` - D: `NaN` y `63` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `B`. <div align="left"> Porque `forma.diametro()` es una función regular que accede correctamente a la propiedad `radio` del objeto `forma` utilizando la palabra clave `this`. Por lo tanto, al llamar a `console.log(forma.diametro())`, se imprimirá el valor de 20. Por otro lado, `forma.perimetro` es una función flecha que hereda el ámbito circundante, que en este caso sería el ámbito global o del archivo. La palabra clave `this` dentro de `perimetro` no se refiere al objeto `forma`, sino a su ámbito circundante. Dado que no hay una propiedad `radio` en el ámbito circundante, se devuelve `undefined`, y al realizar el cálculo, el resultado es NaN (Not a Number). Por lo tanto, al llamar a `console.log(forma.perimetro())`, se imprimirá NaN. </div> <img src="./assets/images/3.webp" alt="Captura del output en la terminal del ejercicio" width="500" height="250" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 4. ¿Qué devolvería el siguiente código? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript +true; !"Franco"; ``` - A: `1` y `false` - B: `false` y `NaN` - C: `false` y `false` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `A`. <div align="left"> En el primer caso `+true` se trata de convertir el valor booleano `true` en un número. Cuando se convierte un valor booleano a número, `true` se convierte en 1 y `false` se convierte en 0. Por lo tanto, `+true` devuelve el número 1. En el segundo caso, `!"Franco"` es una expresión de negación lógica(`!`) que se aplica a la cadena de texto "Franco". En JavaScript, cualquier cadena de texto vacía se considera verdadera en un contexto booleano. Al negarla, estamos preguntando si este valor verdader es falso. Por lo tanto, `!"Franco"` devuelve el valor booleano false. </div> <img src="./assets/images/4.webp" alt="Captura del output en la terminal del ejercicio" width="500" height="200" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 5. ¿Cuál de éstas opciones es incorrecta? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript const pajarito = { tamanio : "pequenio" }; const raton = { nombre : "Perez", pequenio : true }; ``` - A: `raton.pajarito.tamanio` - B: `raton[pajarito.tamanio]` - C: `raton[pajarito["tamanio"]]` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La incorrecta sería la A. <div align="left"> En JavaScript, todas las claves de un objeto se interpretan como [`cadenas`](https://shorturl.at/csLO4) , a menos que sean de tipo "símbolo". Aunque no las escribamos explícitamente como cadenas, se comportan internombrente como cadenas. Cuando utilizamos la [`notación de corchetes`](https://shorturl.at/ikuR1) para acceder a las propiedades de un objeto, JavaScript interpreta la declaración. Comienza evaluando lo que está dentro de los corchetes, desde el corchete de apertura `"["` hasta el corchete de cierre `"]"`. Solo de esta manera se evaluará correctamente la expersión. Por ejemplo, en el caso de `raton[pajarito.tamanio]`, primero se evalúa `pajarito.tamanio`, que tiene un valor de "pequenio". Luego, JavaScript interpreta `raton["pequenio"]`, lo cual devuelve `true`. Sin embargo, con la [`notación de puntos`](https://shorturl.at/bxCEX), esto no ocurre de la misma manera. Si intentamos acceder a una propiedad utilizando la notación de puntos, como `raton.pajarito.tamanio`, JavaScript busca una propiedad llamada `"pajarito"` dentro del objeto `raton`. Como `raton.pajarito` es `undefined`, en realidad estamos intentando acceder a `undefined.tamanio`. Esto no es válido y generará un error similar a "Cannot read property `'tamanio'` of undefined". </div> <img src="./assets/images/5.webp" alt="Captura del output en la terminal del ejercicio" width="500" height="200" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 6. ¿Qué devuelve este código? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript let a = { saludo: "¿Qué tal?" }; let b; b = a; a.saludo = "¡Hola!"; console.log(b.saludo); ``` - A: `¡Hola!` - B: `undefined` - C: `ReferenceError` - D: `TypeError` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `A`. <div align="center"> En `JavaScript`, los objetos se manejan por referencia. Cuando se asignan a variables o se pasan como argumentos a funciones, todos apuntan a la misma ubicación en memoria. Por lo tanto, cuando se cambia un objeto, ésto se verá reflejado en todas las otras referencias que apunten a ese objeto. Primero se crea un objeto `a` con un valor determinado. Se asigna la referencia `a` a la variable `b`, es por eso que ambas variables apuntan al mismo objeto en la memoria. Cuando se modifica el objeto a través de la variable `a`, el cambio se refleja también en la variable `b` porque ambas apuntan al mismo objeto. En `JavaScript`, cuando se cambia un objeto, todos los objetos que compartan la misma referencia se verán afectados por ese cambio. </div> <img src="./assets/images/6.webp" alt="Captura del output en la terminal del ejercicio" width="500" height="200" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 7. ¿Qué imprimirían estos console.log( )? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript let a = 3; let b = new Number(3); let c = 3; console.log(a == b); console.log(a === b); console.log(b === c); ``` - A. `true` `false` `true` - B. `false` `false` `true` - C. `true` `false` `false` - D. `false` `true` `true` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `C`. <div align="left"> "`new Number( )`" es un constructor de funciones integrado en JavaScript. Aunque parece representar un número, en realidad es un objeto con características adicionales. Cuando utilizamos el operador `"=="`, se verifica si dos valores son iguales, sin tener en cuenta el tipo de dato. En este caso, ambos tienen el valor de 3, por lo que se devuelve `"true"`. sin embargo, cuando utilizamos el operador `"==="`, se verifica tanto el valor como el tipo de dato. Dado que "`new Number( )`" no es un número, sino un objeto , los dos valores no son iguales y se devuelve `"false"`. </div> <img src="./assets/images/7.webp" alt="Captura del output en la terminal del ejercicio" width="350" height="200" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 8. ¿Qué devolvería este código? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript class camaleon { static cambiarColor (colorNuevo){ this.color = colorNuevo; return this.color; } constructor({color = "verde"} = {}){ this.color = color; } } const manchita = new camaleon({color : "azul"}); manchita.cambiarColor("naranja"); ``` - A. `verde` - B. `naranja` - C. `azul` - D. `TypeError` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `D`. <div align="left"> El método cambiarColor es estático y no se puede acceder a través de una instancia como `manchita.cambiarColor("naranja")`. Debería ser llamado directamente en la clase camaleon, como `camaleon.cambiarColor("naranja")`. Esto causa un TypeError. </div> <img src="./assets/images/8.webp" alt="Captura del output en la terminal del ejercicio" width="500" height="340" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 9. ¿Qué imprimiría este console.log( )? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript let saludo; asludo = {}; // Error de tipeo console.log(asludo); ``` - A. `{}` - B. `ReferenceError: asludo is not defined` - C. `undefined` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `A`. <div align="left"> En este caso, JavaScript registra el objeto porque acabamos de crear un objeto vacío en el objeto global. Cuando escribimos erróneamente `saludo` como `asludo` , el intérprete de JavaScript lo interpreta como `global.asludo = {}` (o window.asludo = {} en un navegador). Para evitar este tipo de errores, podemos utilizar el `"modo estricto"` (["use strict"](https://shorturl.at/hqP03)). Esto garantiza que una variable se declare antes de asignarle cualquier valor. </div> <img src="./assets/images/9a.webp" alt="Captura del output en la terminal del ejercicio" width="350" height="200" style="border: 1px solid black; text-align: center;"> <img src="./assets/images/9b.webp" alt="Captura del output en la terminal del ejercicio" width="350" height="200" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 10. ¿Qué sucede en este caso? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript function ladrar( ){ console.log("Guau!"); } ladrar.animal = "perro"; ``` - A. No pasa nada, es válido - B. `SyntaxError`. No es posible agregar propiedades a una función así. - C. `undefined` - D. `ReferenceError` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `A`. <div align="left"> En JavaScript las funciones son `objetos`.(Excepto los tipos primitivos, `todo` es un objeto en JavaScript). Una función se considera un objeto. El código que escribas no es en realidad la función en sí, sino que la función es un objeto que posee propiedades. Una de esas propiedades es la capacidad de ser invocada. </div> <img src="./assets/images/10.webp" alt="Captura del output en la terminal del ejercicio" width="350" height="200" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- <!-- 10 a 20 --> # 11. ¿Qué devuelve esta función? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript function Persona(nombre, apellido){ this.nombre = nombre; this.apellido = apellido; } const asociado = new Persona("Franco", "Ibañez"); Persona.obtenerNombreCompleto = function(){ return `${this.nombre} ${this.apellido}`; } console.log(asociado.obtenerNombreCompleto()); ``` - A. `TypeError` - B. `SyntaxError` - C. `Franco Ibañez` - D. `undefined` `undefined` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `A`. <div align="left"> En JavaScript, no es posible añadir propiedades a un constructor como se hace con los objetos. Para agregar una característica a todos los objetos al mismo tiempo, se debe utilizar el prototipo en su lugar. Se debería haber hecho algo así: ```javascript Persona.prototype.obtenerNombreCompleto = function(){ return `${this.nombre} ${this.apellido}` } ``` de esta forma, "asociado.obtenerNombreCompleto" hubiese funcionado correctamente. La ventaja de utilizar el prototipo radica en la optimización del uso de memoria . Si se agregara este método directamente al constructor, todas las instancias de "Persona" tendrían esta propiedad, lo que consumiría más memoria. Sin embargo , al añadirlo al prototipo, solo se guarda una copia en la memoria y todas las instancias pueden acceder a él. Esto evita el desperdicio innecesario de espacio de espacio en memoria. </div> <img src="./assets/images/11a.webp" alt="Captura del output en la terminal del ejercicio" width="350" height="200" style="border: 1px solid black; text-align: center;"> <img src="./assets/images/11b.webp" alt="Captura del output en la terminal del ejercicio" width="350" height="200" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 12. ¿Qué devuelve esta función? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript function Persona(nombre, apellido){ this.nombre = nombre; this.apellido = apellido; } const franco = new Persona("Franco", "Ibañez"); const juan = Persona("Juan", "Sabato"); console.log(franco); console.log(sarah); ``` - A: `Persona {nombre: "Franco", apellido: "Ibañez"}` y `undefined` - B: `Persona {nombre: "Franco", apellido: "Ibañez"}` y `Persona {nombre: "Juan", apellido: "Sabato"}` - C: `Persona {nombre: "Franco", apellido: "Ibañez"}` y `{}` - D: `Persona {nombre: "Franco", apellido: "Ibañez"}` y `ReferenceError` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `A`. <div align="left"> Cuando se crean las 2 instancias de la clase Persona, la instancia `franco` se crea utilizando la palabra reservada `new`, lo que significa que se crea un nuevo objeto vacío y se asigna a `this` dentro la función `Persona`. Al crear la instancia `juan`, no se utiliza la palabra reservada `this`. Dentro de la función Persona, el `this` se refiere al objeto global en lugar de crear un nuevo objeto. Las propiedades `nombre` y `apellido` se asignan al objeto global en lugar de a un nuevo objeto. </div> <img src="./assets/images/12.webp" alt="Captura del output en la terminal del ejercicio" width="350" height="200" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 13. ¿Cuáles son las 3 fases de la propagación de eventos? ###### [ÍNDICE](https://bit.ly/44AIBmF) - A: `Target` > `Capturing` > `Bubbling` - B: `Bubbling` > `Target` > `Capturing` - C: `Target` > `Bubbling` > `Capturing` - D: `Capturing` > `Target` > `Bubbling` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `D`. <div align="left"> Estas fases son importantes en la programación de eventos en el ámbito de la interfaz de usuario y se refieren al orden en que los eventos se propagan a través de los elementos del DOM (Modelo de Objetos del Documento). La respuesta correcta es D: Capturing > Target > Bubbling. Esto significa que el evento primero pasa por la fase de Capturing, luego alcanza el elemento objetivo (Target) y finalmente se propaga en la fase de Bubbling. Durante la fase de Capturing, el evento se propaga desde el elemento raíz del DOM hacia el elemento objetivo. A medida que se propaga, atraviesa los elementos ancestros en el camino hacia el elemento objetivo. Una vez que el evento alcanza el elemento objetivo, comienza la fase de Bubbling. En esta fase, el evento se propaga desde el elemento objetivo hacia el elemento raíz del DOM. Al igual que en la fase de Capturing, atraviesa los elementos ancestros en su camino hacia el elemento raíz. Es importante comprender estas fases de propagación de eventos para manejar adecuadamente los eventos en la programación de la interfaz de usuario. Dependiendo del caso de uso, se puede aprovechar la fase de Capturing o la fase de Bubbling para capturar o manejar eventos en elementos específicos del DOM. </div> <img src="https://rb.gy/a3d6m" alt="Captura del output en la terminal del ejercicio" width="350" height="200" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 14. Todos los objetos tienen un prototipo. ###### [ÍNDICE](https://bit.ly/44AIBmF) - A: `Verdadero` - B: `Falso` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `B`. <div align="left"> En JavaScript, todos los objetos tienen un prototipo, excepto el [objeto base ](https://rebrand.ly/19h7y4k). El objeto base es el punto final de la cadena de prototipos y no tiene ningún prototipo al que acceder. Esta es la razón por la que el objeto base no tiene métodos o propiedades específicas disponibles para su uso. Sin embargo, cuando creamos objetos a partir de constructores o clases, esos objetos heredan el prototipo de su constructor o clase. El prototipo actúa como un "modelo" para los objetos y contiene métodos y propiedades compartidos que pueden ser utilizados por los objetos creados a partir de él. Por ejemplo, el componente en cuestión tiene acceso a algunos métodos y propiedades, como el método `.toString()`. Esto se debe a que el objeto del componente hereda el prototipo que contiene ese método. Cuando se accede a un método o propiedad en un objeto, JavaScript busca primero en el objeto en sí. Si no se encuentra allí, continúa buscando en la cadena de prototipos del objeto hasta encontrarlo. Esto se conoce como herencia de prototipos. Entonces, aunque no podemos encontrar directamente un método o propiedad en un objeto, JavaScript desciende por la cadena de prototipos y lo encuentra allí, lo que lo hace accesible para su uso posterior. Este mecanismo de herencia de prototipos en JavaScript permite el uso de los métodos y propiedades incorporados del lenguaje, ya que están disponibles en los prototipos de los objetos. </div> </p></details> </div> --- # 15. ¿Qué devuelve esta función? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript function sumar(a,b){ return a + b; } sumar(2, "5"); ``` - A. `NaN` - B. `7` - C. `TypeError` - D. `"25"` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `D`. <div align="left"> En JavaScript, no es necesario declarar explícitamente el tipo de una variable, ya que se determina automáticamente durante la ejecución del programa. Esto se debe a que JavaScript es un lenguaje de tipado dinámico o de tipado débil. La [coerción implícita de tipos](https://developer.mozilla.org/es/docs/Glossary/Type_coercion) es un concepto en JavaScript donde los valores pueden convertirse automáticamente en otro tipo sin necesidad de ser declarado. Esto permite que los valores se ajusten y se utilicen de manera flexible en diferentes operaciones. Un ejemplo de coerción implícita ocurre cuando se realiza una suma entre un número y una cadena. En este caso, JavaScript convierte el número en una cadena para que la operación tenga sentido y pueda devolver un resultado. Por ejemplo, al sumar el número 2 con la cadena "5", JavaScript trata al número como una cadena y realiza una concatenación de cadenas, resultando en el valor "25". La coerción en JavaScript implica la conversión de un tipo de dato a otro de forma automática según el contexto de la operación o expresión. Esto proporciona flexibilidad en la manipulación de valores, pero también requiere cuidado al realizar operaciones para evitar resultados inesperados. </div> <img src="./assets/images/15.webp" alt="Captura del output en la terminal del ejercicio" width="350" height="200" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 16. ¿Qué devuelve esta función? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript let numero = 0; console.log(numero++); console.log(++numero); console.log(numero); ``` - A. `1` `1` `1` - B. `1` `2` `2` - C. `0` `2` `2` - D. `0` `1` `2` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `C`. <div align="left"> Aquí debemos tener en cuenta el comportamiento del operador unario ++ : <br> Si lo aplicamos `postfix`...(algo++) 1. Devuelve el valor actual. 2. Incrementa el valor en 1. Si lo aplicamos `prefix`...(++algo) 1. Incrementa el valor en 1 2. Devuelve el valor actual </div> <img src="./assets/images/16.webp" alt="Captura del output en la terminal del ejercicio" width="350" height="200" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 17. ¿Qué devuelve esta función? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript function obtenerInfoPersona(uno, dos, tres){ console.log(uno); console.log(dos); console.log(tres); } const persona = "Franco"; const edad = 27; obtenerInfoPersona`${persona} tiene ${edad} años` ``` - A. `"Franco"` `27` `[""," tiene ", " años"]` - B. `[""," tiene ", " años"]` `"Franco"` `27` - C. `"Franco"` `[""," tiene ", " años"]` `27` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `B`. <div align="left"> Las [`plantillas etiquetadas`](https://rebrand.ly/3urlx7d) son una funcionalidad avanzada de las `plantillas literales` en JavaScript. Al utilizar las plantillas etiquetadas, podemos modificar la salida de las plantillas utilizando una función personalizada (la `función etiquetada`). [Más info](https://rebrand.ly/jcz707n) Cuando se utiliza una `plantilla etiquetada`, la llamada se convierte en una invocación de función, donde la plantilla literal se pasa como argumento. El primer argumento de la función es siempre un array que contiene las cadenas de caracteres de la plantilla. Los argumentos restantes se asocian con las expresiones de la plantilla. La `función etiquetada` puede realizar cualquier operación deseada con estos argumentos. Puede manipular las cadenas de la plantilla, combinarlas con los valores de las expresiones, realizar cálculos o cualquier otro procesamiento necesario. Luego la función devuelve la cadena final manipulada o puede incluso un resultado completamente diferente, dependiendo de la lógica implementada dentro de la función. Es importante destacar que el nombre de la función utilizada como etiqueta no tiene nada de especial, puede ser cualquier nombre de función válido en JavaScript. </div> <img src="./assets/images/17.webp" alt="Captura del output en la terminal del ejercicio" width="350" height="200" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 18. ¿Qué devuelve esta función? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript function verificarEdad(data){ if(data === {edad: 18}){ console.log("¡Eres mayor de edad!"); }else if(data == {edad: 18}){ console.log("Aún eres mayor de edad."); }else{ console.log("Hmm...Supongo que no tienes una edad.") } } verificarEdad({edad: 18}); ``` - A. `¡Eres mayor de edad!` - B. `Aún eres mayor de edad.` - C. `Hmm...Sunpongo que no tienes una edad.` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `C`. <div align="left"> La función `verificarEdad` verifica la edad de una persona según los datos proporcionados. Al llamar a `verificarEdad({ edad: 18 })`, el resultado sería la opción C: `"Hmm..Sunpong que no tienes edad"`. El código compara el parámetro data con objetos que contienen la propiedad edad establecida en 18. Sin embargo, la comparación de objetos en `JavaScript` se basa en la `referencia de memoria`, no en los valores de las propiedades. En la primera condición, `data === { edad: 18 }`, se utiliza el operador de igualdad estricta ( `===` ), pero como los objetos no apuntan a la misma ubicación en la memoria, la comparación devuelve false. En la segunda condición, `data == { edad: 18 }`, se utiliza el operador de igualdad no estricta ( `==` ), que realiza una conversión de tipos. Sin embargo, la comparación de objetos sigue siendo basada en la referencia de memoria, por lo que también devuelve false. Como ninguna de las condiciones anteriores se cumple, se ejecuta el bloque else y se imprime `"Hmm..Sunpong que no tienes edad"`. </div> <img src="./assets/images/18.webp" alt="Captura del output en la terminal del ejercicio" width="520" height="350" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 19. ¿Qué devuelve esta función? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript function obtenLaEdad(...args){ console.log(typeof args); } obtenLaEdad(27); ``` - A. `number` - B. `array` - C. `object` - D. `NaN` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `C`. <div align="left"> El [operador de propagación (spread operator) (...)](https://rebrand.ly/u3lsrme) se utiliza para convertir los argumentos de una función en un array. Al usar el operador spread, los argumentos se colocan dentro de corchetes [], lo que crea un nuevo array con esos elementos. Dado que un array es un tipo de objeto en JavaScript, el operador typeof devuelve `"object"` cuando se aplica a un array. Esto se debe a que, desde el punto de vista de JavaScript, un array es un objeto especializado que contiene una colección ordenada de elementos. En resumen, el operador de propagación ( `...` ) se utiliza para convertir los argumentos en un array, y `typeof args` devolverá "object" debido a que un array es considerado un tipo especial de objeto en JavaScript. </div> <img src="./assets/images/19.webp" alt="Captura del output en la terminal del ejercicio" width="400" height="200" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 20. ¿Qué devuelve esta función? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript function obtenerEdad(){ "use strict"; edad = 27; console.log(edad); } obtenerEdad(); ``` - A. `27` - B. `undefined` - C. `ReferenceError` - D. `TypeError` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la C. <div align="left"> Al utilizar `"use strict"`, se garantiza que no se declaren variables globales de manera accidental. En este caso, no declaramos la variable `edad`, y debido a la inclusión de `"use strict"`, se generará un error de referencia. Si no hubiéramos utilizado `"use strict"`, la operación habría funcionado correctamente, ya que la propiedad `edad` se habría agregado al objeto global. </div> <img src="./assets/images/20.webp" alt="Captura del output en la terminal del ejercicio" width="450" height="250" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- <!-- 21 a 30 --> # 21. ¿Cuál es el valor de `suma`? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript const suma = eval("10*10+5"); ``` - A. `105` - B. `"105"` - C. `TypeError` - D. `"10*10+5"` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la A. <div align="left"> El código proporcionado declara una constante llamada `"sum"` y le asigna el resultado de evaluar la expresión `"10*10+5"`. La evaluación de esta expresión resulta en el número `105`. La función `eval()` se utiliza para evaluar códigos proporcionados como una cadena. En este caso, la cadena contiene una expresión aritmética que se evalúa y devuelve el resultado numérico. </div> <img src="./assets/images/21.webp" alt="Captura del output en la terminal del ejercicio" width="400" height="170" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 22. ¿Por cuánto tiempo accesible `sabroso_secreto`? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript sessionStorage.setItem("sabroso_secreto", 123); ``` - A. `Para siempre, los datos no se pierden.` - B. `Cuando el usuario cierra todo el navegador, no sólo la pestaña.` - C. `Cuando el usuario cierra la pestaña.` - D. `Cuando el usuario apaga la computadora.` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `C`. <div align="left"> Los datos que se guardan en `sessionStorage` se eliminan al cerrar la pestaña del navegador. De haberse usado `localStorage`, los datos habrían estado allí siempre, a menos que se invoque `localStorage.clear()`. </div> </p></details> </div> --- # 23. ¿Qué imprime `console.log( )`? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript var numero = 5; var numero = 15; console.log(numero); ``` - A. `5` - B. `15` - C. `SyntaxError` - D. `ReferenceError` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la B. <div align="left"> Mediante la palabra reservada `var` se puden declarar múltiples variables con el mismo nombre. Pero tomará el último valor que le asigne. No sucede lo mismo con `let` y `const` porque tienen un alcance de bloque. </div> <img src="./assets/images/23.webp" alt="Captura del output en la terminal del ejercicio" width="400" height="150" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 24. ¿Qué devuelve esta función? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript const objeto = { 1: "a", 2: "b", 3: "c" }; const conjunto = new Set([1, 2, 3, 4, 5]); objeto.hasOwnProperty("1"); objeto.hasOwnProperty(1); conjunto.has("1"); conjunto.has(1); ``` - A. `false` `true` `false` `true` - B. `false` `true` `true` `true` - C. `true` `true` `false` `true` - D. `true` `true` `true` `true` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la C. <div align="left"> Todas las claves de un objeto (excepto las que utilizan símbolos como clave) actúan como cadenas, incluso si no son escritas como una cadena. Es por eso que `obj.hasOwnProperty("1")` también devuelve verdadero. En cambio en el caso de un conjunto no funciona así. Como no hay un "1" en nuestro set, `set.has("1")` devuelve `falso`. Tiene el tipo numérico `1`, `set.has(1)` devuelve `true`. </div> <img src="./assets/images/24.webp" alt="Captura del output en la terminal del ejercicio" width="400" height="300" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 25. ¿Qué devuelve esta función? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript const objeto = { a: "uno", b: "dos", a: "tres" }; console.log(objeto); ``` - A. `{ a: "uno", b: "dos"}` - B. `{ b: "dos", a: "tres"}` - C. `{ a: "tres", b: "dos"}` - D. `SyntaxError` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la C. <div align="left"> Si el objeto tiene dos claves con el mismo nombre, la clave será reemplazada. Su posición seguirá siendo la primera, pero con el valor actualizado al último especeficado. </div> <img src="./assets/images/25.webp" alt="Captura del output en la terminal del ejercicio" width="400" height="150" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 26. El contexto de ejecución de JavaScript crea dos cosas: el objeto global y la palabra reservada `"this"`. ###### [ÍNDICE](https://bit.ly/44AIBmF) - A. `Verdadero` - B. `Falso` - C. `Depende` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `A`. <div align="left"> En el contexto de ejecución de JavaScript, se crean dos cosas: el objeto global y la palabra reservada `"this"`. Por lo tanto, la respuesta correcta es `A`: Verdadero. El contexto de ejecución global es accesible en todo el código y proporciona acceso al objeto global (como `window` en un navegador o `global` en Node.js) y a la palabra reservada `"this"`. </div> </p></details> </div> --- # 27. ¿Qué imprime este bucle? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript for(let i = 1; i < 5; i++){ if (i === 3) continue; console.log(i); } ``` - A. `1` `2` - B. `1` `2` `3` - C. `1` `2` `4` - D. `1` `3` `4` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la C. <div align="left"> La palabra reservada `continue` omite una iteración si una cierta condición, en este caso `(i === 3)`, retorna `verdadero`. </div> <img src="./assets/images/27.webp" alt="Captura del output en la terminal del ejercicio" width="400" height="150" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 28. ¿Qué se imprime en la consola? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript String.prototype.darleUnHeladoAFulano = () => { return "¡Denle un helado a Fulano!" } const nombre = "Fulano"; console.log(nombre.darleUnHeladoAFulano()) ``` - A. `"¡Denle un helado a Fulano!"` - B. `TypeError: not a function` - C. `SyntaxError` - D. `undefined` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la C. <div align="left"> `String` es un constructor que viene incorporado en JavaScript, al que podemos añadir propiedades. En este caso concreto, añadimos un método a su prototipo. Las cadenas primitivas se convierten automáticamente en un objeto de cadena, generado por la función de prototipo de cadena. Por lo tanto, todas las cadenas (objetos de cadenas) tienen acceso a ese método. </div> <img src="./assets/images/28.webp" alt="Captura del output en la terminal del ejercicio" width="400" height="150" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 29. ¿Qué se imprime en la consola? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript const a = {}; const b = { clave: 'b' }; const c = { clave: 'c' }; a[b] = 123; a[c] = 456; console.log(a[b]); ``` - A. `123` - B. `456` - C. `undefined` - D. `ReferenceError` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la B. <div align="left"> Las claves de los objetos se convierten automáticamente en cadenas. Aquí estamos tratando de establecer un objeto como clave del objeto `'a'`, con el valor de `123`. Sin embargo, cuando convertimos un objeto a cadena, se convierte en `"[object Object]"`. Así que lo que estamos haciendo aquí es lo siguiente: `a["[object Object]"] = 123`. Luego, intentamos hacer lo mismo nuevamente. `'c'` es otro objeto que se convierte implícitamente en una cadena. Entonces, `a["[object Object]"] = 456`. Luego, registramos en la consola a[b], que es en realidad a["[object Object]"]. Acabamos de establecer ese valor en 456, por lo que devuelve 456. </div> <img src="./assets/images/28.webp" alt="Captura del output en la terminal del ejercicio" width="400" height="150" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 30. ¿Qué se imprime en la consola? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript const foo = () => console.log("Primero"); const bar = () => setTimeout(() => console.log("Segundo")); const baz = () => console.log("Tercero"); bar(); foo(); baz(); ``` - A. `Primero` `Segundo` `Tercero` - B. `Primero` `Tercero` `Segundo` - C. `Segundo` `Primero` `Tercero` - D. `Segundo` `Tercero` `Primero` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `B`. <div align="left"> A pesar de que invocamos la función setTimeout primero, su mensaje se registró al final. Esto se debe a que en los navegadores no solo tenemos el motor de tiempo de ejecución, sino también algo llamado WebAPI. El WebAPI nos proporciona la función setTimeout para empezar, así como otras funcionalidades como el DOM. Después de que el callback de setTimeout se agrega al WebAPI, la propia función setTimeout (pero no el callback) se saca de la pila de ejecución. Ahora, se invoca foo, y se imprime "Primero". Luego foo se saca de la pila y se invoca baz, imprimiendo "Tercero". baz se saca de la pila. Aquí es donde comienza a funcionar el bucle de eventos (event loop). El bucle de eventos revisa la pila de ejecución y la cola de tareas. Si la pila está vacía, toma el primer elemento de la cola de tareas y lo coloca en la pila. Se invoca bar, se imprime "Segundo" y luego se saca de la pila. </div> <img src="./assets/images/30.webp" alt="Captura del output en la terminal del ejercicio" width="400" height="150" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 31. ¿Cuál de estos valores de evalúa FALSE? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript 0; new Number(0); (""); (" "); new Boolean(false); undefined; ``` - A. `0`, `""`, `undefined` - B. `0`, `new Number(0)`, `""`, `new Boolean(false)`, `undefined` - C. `0`, `""`, `new Boolean(false)`, `undefined` - D. `Todas las de arriba` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `A`. <div align="left"> Los [valores falsos](https://shorturl.at/tyzSZ) son aquellos que se evalúan como FALSE. En JavaScript hay 6: - `undefined` - `null` - `NaN` - `0` - `""` (cadena vacía) - `false` </div> <img src="./assets/images/30.webp" alt="Captura del output en la terminal del ejercicio" width="400" height="150" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 32. ¿Qué se imprime en la consola? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript console.log(typeof typeof 1); ``` - A. `"number"` - B. `"string"` - C. `"object"` - D. `"undefined"` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `B`. <div align="left"> `typeof 1` devuelve `"number"` y `typeof "number"` devuelve `"string"`. </div> <img src="./assets/images/32.webp" alt="Captura del output en la terminal del ejercicio" width="400" height="150" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 33. ¿Qué se imprime en la consola? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript const numeros = [1, 2, 3]; numeros[10] = 11; console.log(numeros); ``` - A. `[1, 2, 3, 7 x null, 11]` - B. `[1, 2, 3, 11]` - C. `[1, 2, 3, 7 x empty, 11]` - D. `SyntaxError` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `C`. <div align="left"> Cuando queremos agregar un valor dentro de un arreglo, en una posición que excede la longitud del mismo, JavaScript emplea algo llamado "ranuras vacías". Estas posiciones vacías, en realidad tienen el valor de `undefined`. El modo en que se visualizan estas posiciones vacías varía según el dónde se ejecute el código (navegador, node, etc.). </div> <img src="./assets/images/33.webp" alt="Captura del output en la terminal del ejercicio" width="400" height="120" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 34. ¿Qué devuelve esta función? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript [[0, 1], [2, 3]].reduce( (acc, cur) => { return acc.concat(cur); }, [1, 2] ); ``` - A. `[0, 1, 2, 3, 1, 2]` - B. `[6, 1, 2]` - C. `[1, 2, 0, 1, 2, 3]` - D. `[1, 2, 6]` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `C`. <div align="left"> Esta es una operación de reducción utilizando el método `reduce()` en un array de arrays. La función `reduce()` se utiliza para combinar los elementos de un array en un único valor, aplicando una función acumuladora de izquierda a derecha. La operación de reducción se realiza de la siguiente manera: El valor inicial `(seed)` para la acumulación es `[1, 2]`. En cada iteración, la función acumuladora toma dos argumentos: el acumulador `(acc)` y el valor actual `(cur)`.La función acumuladora concatena los elementos del array actual `(cur)` al acumulador `(acc)`. Al finalizar las iteraciones, el resultado final es el acumulador modificado con los elementos concatenados. Aquí está la explicación paso a paso: *Paso 1:* acc = `[1, 2]` cur = `[0, 1]` Resultado de concatenación: `[1, 2, 0, 1]` *Paso 2:* acc = `[1, 2, 0, 1]` cur = `[2, 3]` Resultado de concatenación: `[1, 2, 0, 1, 2, 3]` El resultado final de la operación `reduce()` es `[1, 2, 0, 1, 2, 3]`. </div> <img src="./assets/images/34.webp" alt="Captura del output en la terminal del ejercicio" width="400" height="120" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 35. ¿A qué valores booleanos se resuelven? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript !!null; !!""; !!1; ``` - A. `false` `true` `false` - B. `false` `false` `true` - C. `false` `true` `true` - D. `true` `true` `false` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `B`. <div align="left"> `null` es falso. `! null` devuelve `true`. `! true` devuelve `false`. `""` es false. `! ""` devuelve `true`. `! ""` devuelve `false`. `1` es verdadero. `! 1` devuelve `false`. `! false` devuelve `true`. </div> <img src="./assets/images/35.webp" alt="Captura del output en la terminal del ejercicio" width="220" height="260" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 36. ¿Qué devuelve el siguiente código? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript [..."Franco"]; ``` - A. `["F", "r", "a", "n", "c", "o"]` - B. `"Franco"` - C. `[[],"Franco"]` - D. `[["F", "r", "a", "n", "c", "o"]]` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `A`. <div align="left"> Una cadena es un elemento iterable. La [`sintaxis extendida o spread sintax` ](https://shorturl.at/rDES6) permite a un elemento iterable ser expandido en lugares donde cero o más elementos (para [`Array literales`](https://shorturl.at/jpCSZ)) son esperados. </div> <img src="./assets/images/36.webp" alt="Captura del output en la terminal del ejercicio" width="600" height="150" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 37. ¿Qué devuelve el siguiente código? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript let persona = {nombre: "Franco"} const miembros = [persona] persona = null; console.log(miembros) ``` - A. `null` - B. `[null]` - C. `[{nombre: "Franco"}]` - D. `[{}]` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `C`. <div align="left"> Primero, creamos una variable llamada `"persona"` y le asignamos un objeto con una propiedad "`nombre`". Luego, declaramos una variable llamada `"miembros"` y la inicializamos como un array. Asignamos el primer elemento de ese array con el valor de la variable `"persona"`. Es importante destacar que en JavaScript, los objetos se pasan por referencia, lo que significa que cuando asignamos un objeto a otra variable, ambas variables apuntan al mismo objeto en memoria. Al hacer esto, no se crea una copia independiente del objeto, sino que se copia la referencia a ese objeto. A continuación, establecemos que la variable `"persona"` sea igual a "null". Esto solo afecta a la variable `"persona"`, pero no altera el primer elemento del array `"miembros"`. Esto se debe a que el primer elemento del array tiene una referencia independiente (copiada) al objeto original. Por lo tanto, aunque `"persona"` se haya establecido como "null", el primer elemento en `"miembros"` sigue manteniendo su referencia hacia el objeto original. En resumen, la modificación de la variable `"persona"` no afecta al primer elemento del array "`miembros`", ya que este último mantiene su referencia al objeto original. Cuando mostramos el contenido del array "`miembros`" por consola, el primer elemento aún contiene el valor del objeto, el cual se mostrará en la consola. </div> <img src="./assets/images/36.webp" alt="Captura del output en la terminal del ejercicio" width="600" height="150" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 38. ¿Cuál es el resultado? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript console.log(5 + 7 + "10"); ``` - A. `"5710"` - B. `"1210"` - C. `22` - D. `"22"` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `B`. <div align="left"> La asociatividad de operadores determina el orden en el que el compilador evalúa las expresiones que contienen operadores. Este orden puede ser de izquierda a derecha o de derecha a izquierda, dependiendo de la configuración de los operadores y su precedencia. En nuestro caso, solo contamos con un tipo de operador, que es la suma representada por el símbolo "+". Para la suma, la asociatividad es de izquierda a derecha, lo que significa que se evalúan primero los operandos situados más a la izquierda y luego los de la derecha. `5 + 7` se evalúa primero, dando el número `12`. `12 + "10"` da `"1210"` por la coerción. JavaScript convierte el número `12` a string. </div> <img src="./assets/images/38.webp" alt="Captura del output en la terminal del ejercicio" width="600" height="140" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 39. ¿Cuál es el valor de `numero`? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript const numero = parseInt("4*2", 10); ``` - A. `8` - B. `"8"` - C. `4` - D. `NaN` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `C`. <div align="left"> El método `parseInt` recibe dos argumentos, el segundo corresponde a la base a la cual queremos transformar el primer argumento, si los caracteres del string son válidos. Una vez encuetra un caracter que no es un número válido en la base seleccionada, deja de recorrer el string e ignora los siguientes caracteres. `*` no es un número válido. Solo convierte "4" el decimal `4`. Por eso la variable `numero` tiene el valor `4`. </div> <img src="./assets/images/39.webp" alt="Captura del output en la terminal del ejercicio" width="600" height="140" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 40. ¿Qué queda guardado en la variable `data`? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript const settings = { username: "paco82", level: 59, health: 85 }; const data = JSON.stringify(settings, ["level", "health"]); console.log(data); ``` - A. `"{"level":59, "health":85}"` - B. `"{"username": "paco82"}"` - C. `"["level", "health"]"` - D. `"{"username":"paco82", "level":59, "health":85}"` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `A`. <div align="left"> El segundo argumento de JSON.stringify es el reemplazador (replacer). El reemplazador puede ser una función o un arreglo, y te permite tener control sobre qué propiedades se convertirán en cadenas de texto y cómo se realizará dicha conversión. Si utilizas un arreglo como reemplazador, solo las propiedades cuyos nombres estén incluidos en el arreglo serán agregadas al string JSON resultante. En este caso, únicamente las propiedades con nombres "level" y "health" serán incluidas, mientras que la propiedad "username" será excluida. Por lo tanto, la variable 'data' quedaría como sigue: `{"level": 59, "health": 85}`. Por otro lado, si optas por utilizar una función como reemplazador, esta será llamada por cada propiedad del objeto mientras se convierte a una cadena de texto. El valor retornado por esta función será el valor que tomará la propiedad cuando sea añadida al string JSON. Si la función devuelve undefined, la propiedad será excluida del string JSON. Es importante tener en cuenta estas opciones al utilizar JSON.stringify para personalizar la serialización de objetos en formato JSON. </div> <img src="./assets/images/40.webp" alt="Captura del output en la terminal del ejercicio" width="600" height="140" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 41. ¿Qué sucede en este caso? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript // contador.js let contador = 10; export default contador; // index.js import miContador from "./contador.js"; miContador += 1; console.log(miContador) ``` - A. `10` - B. `11` - C. `Error` - D. `NaN` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `C`. <div align="left"> En el código proporcionado, hay dos archivos: `contador.js` y `index.js`. En `contador.js`, se ha declarado una variable llamada `contador` con un valor inicial de 10 utilizando la palabra clave `let`. Luego, esta variable se exporta como un valor por defecto utilizando `export default contador;`. En `index.js`, se importa el valor exportado `miContador` desde `contador.js`. Sin embargo, en el intento de modificar `miContador` aumentando su valor en 1 (`miContador += 1;`), se produce un error durante la ejecución. Esto se debe a que `miContador` se importa como una variable de solo lectura, y no se puede modificar directamente. Debido a esta operación inválida, se generará un error en tiempo de ejecución y se mostrará en la consola. </div> </p></details> </div> --- # 42. ¿Qué sucede en este caso? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript const nombre = "Franco"; edad = 27; console.log(delete nombre); console.log(delete edad); ``` - A. `false, true` - B. `"Franco", 27` - C. `true, true` - D. `undefined, undefined` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `A`. <div align="left"> El operador "delete" arroja un valor booleano: devuelve "true" si la eliminación tiene éxito, mientras que devuelve "false" si no. No obstante, es esencial tener en cuenta que no es posible emplear el operador "delete" para eliminar variables que han sido declaradas utilizando "var", "const" o "let". Dentro de este contexto, consideremos la variable "nombre" que ha sido declarada utilizando "const". Debido a esta declaración, no es posible eliminarla con éxito y, por lo tanto, el operador "delete" devuelve "false" en este caso. Por otro lado, cuando asignamos el valor 27 a la variable "edad", en realidad estamos añadiendo una propiedad llamada "edad" al objeto global. Es importante destacar que es posible eliminar propiedades de objetos de esta manera, tanto de objetos generales como del objeto global. Por lo tanto, al utilizar "delete edad", obtenemos un valor de "true", indicando una eliminación exitosa. </div> <img src="./assets/images/42.webp" alt="Captura del output en la terminal del ejercicio" width="600" height="200" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 43. ¿Cuál es el resultado? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript const numeros = [75, 15, 28, 83, 71]; const [F] = numeros; console.log(F); ``` - A. `[[75, 15, 28, 83, 71]]` - B. `[75, 15, 28, 83, 71]` - C. `75` - D. `[75]` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `C`. <div align="left"> Imagina que podemos extraer los valores almacenados en arrays o propiedades de objetos utilizando la técnica de desestructuración. Veamos un ejemplo: ```js [a, b] = [1, 2]; ``` Después de esta asignación, "a" contendrá el valor 1 y "b" contendrá el valor 2. Otro truco interesante es el siguiente: ```js [F] = [75, 15, 28, 83, 71]; ``` Este código nos indica que "y" tomará el valor del primer elemento en el array, en este caso, el número 75. Al inspeccionar el valor de "y" en la consola, obtendremos como resultado 75. ¡Así de sencillo es este proceso! </div> <img src="./assets/images/43.webp" alt="Captura del output en la terminal del ejercicio" width="600" height="140" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 44. ¿Cuál es el resultado? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript let num = 50; const incrementarNumero = () => num++; const incrementarNumeroPasado = numero => numero++; const num1 = incrementarNumero(); const num2 = incrementarNumeroPasado(num1); console.log(num1); console.log(num2); ``` - A. `50`, `50` - B. `50`, `51` - C. `51`, `51` - D. `51`, `52` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `A`. <div align="left"> Se inicializa una variable llamada num con el valor 50. La función incrementarNumero es definida como una función de flecha (() =>). Cuando esta función se llama, primero devuelve el valor actual de num (que es 50), y luego incrementa num en 1. La función incrementarNumeroPasado toma un parámetro llamado numero. Cuando esta función se llama, devuelve el valor de numero (sin cambiarlo) y luego intenta incrementar el valor de numero, pero este incremento no afecta a num1 o num2. Se crea una variable num1 y se le asigna el resultado de llamar a la función incrementarNumero. En este punto, num1 obtiene el valor inicial de num (50) y luego num se incrementa en 1. Se crea una variable num2 y se le asigna el resultado de llamar a la función incrementarNumeroPasado con num1 como argumento. Como mencioné antes, esta función devuelve el valor de num1 (que es 50) y luego intenta incrementar el valor, pero nuevamente, este incremento no afecta a num2. Finalmente, se muestra en la consola el valor de num1 y num2. Como resultado, verás que num1 es 50 (ya que es el valor original de num), y num2 también es 50 (ya que es el valor que obtiene de num1). </div> <img src="./assets/images/44.webp" alt="Captura del output en la terminal del ejercicio" width="600" height="290" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 45. ¿Qué se imprime en la consola? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript const valor = { numero: 25}; const multiplicar = (x = {...valor}) => { console.log((x.numero *= 2)); }; multiplicar(); multiplicar(); multiplicar(valor); multiplicar(valor); ``` - A. `50`, `100`, `200`, `400` - B. `50`, `100`, `50`, `100` - C. `50`, `50`, `50`, `100` - D. `NaN`, `NaN`, `50`, `100` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `A`. <div align="left"> En ES6, se nos permite establecer valores predeterminados para los parámetros. Si no se proporciona un valor distinto al llamar a la función, o si el valor del parámetro es "undefined", este tomará el valor predeterminado. En este caso, estamos extendiendo las características del objeto "valor" hacia un objeto nuevo, de manera que "x" adquiere el valor por defecto de { número: 25 }. Es importante mencionar que ¡el argumento predeterminado se evalúa en el momento de la llamada! Cada vez que invocamos la función, se crea un objeto nuevo. Las dos primeras veces que llamamos a la función "multiplicar" sin proporcionar un valor, "x" toma el valor predeterminado de { número: 25 }. Luego, mostramos el resultado de multiplicar este número en la consola, lo que nos da 50. En la tercera ocasión en que llamamos a "multiplicar", pasamos un argumento: el objeto denominado "valor". El operador "*=" es básicamente una forma abreviada de escribir "x.numero = x.numero * 2": estamos modificando el valor de "x.numero" y mostrando en la consola el resultado de multiplicarlo por 2. En el cuarto caso, volvemos a pasar el objeto "valor". Dado que "x.numero" había sido previamente modificado a 50, la expresión "x.numero *= 2" nos devuelve 100. </div> <img src="./assets/images/45.webp" alt="Captura del output en la terminal del ejercicio" width="600" height="380" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 46. ¿Qué se imprime en la consola? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript console.log(Number(2) === Number(2)) console.log(Boolean(false) === Boolean(false)) console.log(Symbol('foo') === Symbol('foo')) ``` - A. `true`, `true`, `false` - B. `false`, `true`, `false` - C. `true`, `false`, `true` - D. `true`, `true`, `true` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `A`. <div align="left"> Cada Symbol es totalmente especial y único. Cuando le pasas una descripción como argumento a la función Symbol, es solo para identificarlo. El valor real del Symbol no está ligado a ese argumento. Debido a esta característica, cuando los comparamos, como en el caso de crear dos Symbols usando Symbol('foo'), obtenemos dos Symbols completamente distintos. Así que, aunque parezcan similares, Symbol('foo') y Symbol('foo') son únicos y no son iguales; de hecho, Symbol('foo') === Symbol('foo') arroja false. </div> <img src="./assets/images/46.webp" alt="Captura del output en la terminal del ejercicio" width="600" height="220" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 47. ¿Qué se imprime en la consola? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript const nombre = "Franco Ibañez"; console.log(nombre.padStart(15,"*")); console.log(nombre.padStart(3,"*")); ``` - A. `"Franco Ibañez"`, `"Franco Ibañez"` - B. `"***************Franco Ibañez"`, `"***Franco Ibañez"` - C. `"**Franco Ibañez"`, `"Franco Ibañez"` - D. `"**Franco Ibañez"`, `"***"` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `C`. <div align="left"> [Artículo mdn web docs sobre el método padStart().](https://shorturl.at/aLWY7) El método padStart en JavaScript es una herramienta útil para manipular cadenas de texto. Permite agregar caracteres específicos al principio de una cadena hasta alcanzar una longitud deseada. Veamos cómo funciona con un ejemplo: ```javascript const nombre = "Franco Ibañez"; // Rellenar al principio con asteriscos hasta tener 15 caracteres console.log(nombre.padStart(15, "*")); // Resultado: "**Franco Ibañez" // Rellenar al principio con asteriscos hasta tener 3 caracteres console.log(nombre.padStart(3, "*")); // Resultado: "Franco Ibañez" ``` En el primer caso, hemos especificado que la cadena debe tener una longitud de 15 caracteres y, si es necesario, se rellenará con asteriscos al principio. En el segundo caso, hemos especificado una longitud mínima de 3 caracteres, pero como la cadena original ya es más larga, no se realiza ningún cambio. El método padStart puede ser útil en diversas situaciones, como formatear cadenas para su presentación o alinear texto en tablas. ¡Es una herramienta versátil que puedes incorporar a tus proyectos de programación! </div> </p></details> </div> --- # 48. ¿Qué se imprime en la consola? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript function agregarALaLista(elemento, lista){ return lista.push(elemento); } const resultado = agregarALaLista("naranja", ["mandarina"]); console.log(resultado); ``` - A. `["naranja", "mandarina"]` - B. `2` - C. `true` - D. `undefined` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `B`. <div align="left"> Tenemos una función llamada `agregarALaLista` que toma dos parámetros: `elemento` y `lista`. La función intenta agregar el `elemento` a la `lista` utilizando el método `push()` que tienen los arrays en JavaScript. La función `agregarALaLista` se llama con los argumentos `"naranja"` y `["mandarina"]`. Esto significa que estamos tratando de agregar `"naranja"` a la lista que inicialmente contiene solo `"mandarina"`. Cuando utilizamos `push()` para agregar un `elemento` a un array en JavaScript, este método no devuelve el array modificado. En cambio, devuelve la longitud actual del array después de agregar el `elemento`. Dado que hemos agregado `"naranja"` a la lista que tenía un `elemento`, la longitud del array resultante será 2. Por lo tanto, la función `agregarALaLista` devuelve 2. Por lo tanto, la opción correcta es `B: 2`, ya que es el valor que se asigna a la variable resultado y se imprime en la consola. </div> <img src="./assets/images/48.webp" alt="Captura del output en la terminal del ejercicio" width="600" height="210" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 49. ¿Qué se imprime en la consola? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript console.log(String.raw`Hello\nworld`); ``` - A. `Hello world!` - B. `Hello`<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`world` - C. `Hello\nworld` - D. `Hello\n`<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`world` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `C`. <div align="left"> La función String.raw devuelve una cadena en la que se ignoran los escapes (\n, \v, \t, etc.). Las barras invertidas pueden ser un problema, ya que podrías terminar con algo como: ```javascript const path = `C:\Documents\Projects\table.html` ``` Lo que resultaría en: ```javascript "C:DocumentsProjects able.html" ``` Con String.raw, simplemente ignoraría el escape y mostraría: ```javascript C:\Documents\Projects\table.html ``` En este caso, la cadena es "Hello\nworld", que se registra tal cual. </div> <img src="./assets/images/49.webp" alt="Captura del output en la terminal del ejercicio" width="600" height="150" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 50. ¿Qué sucede con este objeto? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript const miObjeto = {x: 50, y: 100}; Object.freeze(miObjeto); const otroObjeto = miObjeto; otroObjeto.x = 250; console.log(otroObjeto); ``` - A. `{x: 250 , y: 100}` - B. `{x: 50 , y: 100}` - C. `{x: 250}` - D. `ReferenceError` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `B`. <div align="left"> La opción correcta es la B, {x: 50, y: 100}. Esto se debe a que en el código se está utilizando Object.freeze(miObjeto) para congelar el objeto miObjeto. Cuando un objeto está congelado en JavaScript, no se pueden realizar cambios en sus propiedades existentes. Luego, se crea un nuevo objeto llamado otroObjeto y se le asigna la referencia del objeto miObjeto. Esto significa que ambos objetos apuntan al mismo lugar en la memoria. Por lo tanto, cuando intentas cambiar la propiedad x de otroObjeto a 250, no se permite debido a que miObjeto está congelado. El valor de x seguirá siendo 50 y el valor de y se mantendrá en 100. </div> <img src="./assets/images/50.webp" alt="Captura del output en la terminal del ejercicio" width="600" height="290" style="border: 1px solid black; text-align: center;"> </p></details> </div> --- # 51. ¿Se trata de una función pura? ###### [ÍNDICE](https://bit.ly/44AIBmF) ```javascript function suma(a, b){ return a + b; } ``` - A. `SI` - B. `NO` <div align="center"> <details><summary><b>RESPUESTA</b></summary> <p> ## La correcta es la `A`. <div align="left"> Una función pura se caracteriza por ofrecer un resultado constante cuando se le proporcionan los mismos argumentos. Tomemos como ejemplo la función de suma: sin importar cuántas veces le pasemos los números 1 y 2, siempre obtendremos 3 como resultado. Lo mismo ocurre al sumar 5 y 10; el resultado será 15, sin efectos secundarios. Esta estabilidad en los resultados es lo que define a una función como pura. </div> </div> ---
A curated compilation of challenging JavaScript questions and their detailed explanations.
javascript
2023-07-05T20:27:39Z
2023-10-20T12:18:15Z
null
1
0
186
0
0
2
null
GPL-3.0
null
daneus/vanish
main
# Vanish **Vanish** is a web browser extension that allows you to remove the end screen elements on YouTube videos. Activate the extension with a simple toggle and you are good to go!
Web browser extension that grants the user the option to remove a YouTube's video end screen elements.
chrome,chrome-extension,javascript,youtube
2023-07-13T23:16:46Z
2023-07-20T23:59:08Z
null
1
0
12
0
0
2
null
null
JavaScript
catto-labs/website
master
# catto-labs/website catto labs' official website, hosted on Cloudflare pages. ## 🚀 Tech Stack The website uses our new, front-end tech stack: CATS. * Cloudflare (Pages), * Astro * Tailwind CSS * SolidJS The colour palette used is called Catppuccin, and can be found in the licenses page of our website. Other packages that we have used can also be found in the licenses page. ## 🧞 Commands All commands are run from the root of the project, from a terminal: | Command | Action | | :------------------------ | :----------------------------------------------- | | `pnpm install` | Installs dependencies | | `pnpm run dev` | Starts local dev server at `localhost:3000` | | `pnpm run build` | Build your production site to `./dist/` | | `pnpm run preview` | Preview your build locally, before deploying |
The catto-labs website! 😼
astro,css,html,javascript
2023-07-12T20:32:00Z
2024-01-11T15:11:18Z
null
3
2
95
2
0
2
null
null
Astro
MoyasiGinko/Aniverse-AnimeList-Site
development
<a name="readme-top"></a> ![av](https://github.com/MoyasiGinko/React-Capstone/assets/108092696/73947f16-b861-4699-becf-11022c25b0b8) <h1><b>Aniverse Studio</b></h1> </div> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [🚀 Live Demo](#live-demo) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [Deployment](#deployment) - [👥 Authors](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [❓ FAQ (OPTIONAL)](#faq) - [📝 License](#license) # 📖 <a name="about-project"></a> > We built an app for a group of people, we call anime enthusiasts to watch animes information, details and many more using MAL API. The application allows the users to "add to list" anime and explore anime world with informations and queries. ## 🛠 Built With <a name="built-with"></a> ### Tech Stack <a name="tech-stack"></a> > Describe the tech stack and include only the relevant sections that apply to your project. <details> <summary>Client</summary> <ul> <li><a href="https://reactjs.org/">React.js</a></li> </ul> </details> <details> <summary>Server</summary> <ul> <li><a href="https://expressjs.com/">Express.js</a></li> </ul> </details> <details> <summary>Database</summary> <ul> <li><a href="https://www.postgresql.org/">PostgreSQL</a></li> </ul> </details> ### Key Features <a name="key-features"></a> - Anime Information: Explore a vast collection of anime titles, including popular and trending shows. Get detailed information about each anime, such as synopsis, genres, episode count, airing status, and more. - Anime Details: Dive deeper into your favorite anime series. Access episode lists, character profiles, voice actors, ratings, and reviews. Stay up-to-date with the latest news and announcements related to your favorite shows. - Add to List: Create your personal anime watchlist by adding shows to your list. Keep track of the anime you plan to watch, are currently watching, or have completed. Mark episodes as watched to keep your progress updated. - Genre Exploration: Discover anime based on specific genres of your interest. Browse through various genres such as action, romance, comedy, fantasy, and more. Find hidden gems and explore new genres to broaden your anime horizons. - Search Functionality: Easily search for anime titles, characters, or specific episodes. Use keywords, filters, or advanced search options to quickly find what you're looking for. Save your favorite searches for future reference. - User Profiles: Create a personalized user profile to showcase your anime preferences and watch history. Connect with other anime enthusiasts, share recommendations, and discuss your favorite shows in a vibrant community <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🚀 Live Demo <a name="live-demo"></a> - [Live Preview](https://moyasiginko-aniverse.netlify.app/) - [Project Overview](https://www.loom.com/share/2e7d691f881744bab849be3ebe232223) <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 💻 Getting Started <a name="getting-started"></a> To get a local copy up and running, follow these steps. ### Prerequisites In order to run this project you need: - Node.js - A browser - A Text Editor ### Setup Clone this repository to your desired folder: ```sh cd my-folder git clone https://github.com/MoyasiGinko/React-Capstone.git ``` ### Install Install this project with: cd my-project ```sh npm install ``` ### Usage To run the project, execute the following command: ```sh npm start ``` ### Run tests To run tests, run the following command: ```sh npm test ``` <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 👥 Authors <a name="authors"></a> 👤 **Moyasi** - GitHub: [@MoyasiGinko](https://github.com/MoyasiGinko) - Twitter: [@MoyasiGinko](https://twitter.com/moyasi_ginko) - LinkedIn: [@MoyasiGinko](https://www.linkedin.com/in/mahmudur-rahman-a8a151257) <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🔭 Future Features <a name="future-features"></a> - Notifications and Reminders: Stay informed about new episodes, upcoming releases, and important anime-related events. Receive personalized recommendations based on your watch history and preferences. - Community Interaction: Enhance the app by introducing community features that allow users to connect, interact, and share their love for anime. Implement features such as user forums, discussion boards, and the ability to follow and interact with other users. This will foster a vibrant anime community within the app, enabling users to engage in conversations, exchange recommendations, and form connections based on shared interests. - Personalized Recommendations: Implement a recommendation engine that utilizes machine learning algorithms to provide personalized anime recommendations based on the user's watching history, genre preferences, ratings, and community interactions. By analyzing user behavior and patterns, the app can suggest relevant anime titles that match the user's interests, helping them discover new shows and expand their anime repertoire. <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](https://github.com/MoyasiGinko/React-Capstone/issues) <p align="right">(<a href="#readme-top">back to top</a>)</p> ## ⭐️ Show your support <a name="support"></a> If you like this project, don't forget to give it a star on GitHub! Your support helps us to continue improving the app and bringing anime universe closer to everyone. Please share Aniverse Studio with your friends, family, and fellow anime enthusiasts. Together, we can push the boundaries of aniverse exploration! <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🙏 Acknowledgments <a name="acknowledgements"></a> At first, I would like to thank Nelson Sakwa on Behance for the [Original design idea.](https://www.behance.net/gallery/31579789/Ballhead-App-(Free-PSDs)) We would like to express our sincere gratitude to MyAnimeList (MAL) for providing us with access to their comprehensive anime API. Their API has been instrumental in powering our application, allowing us to retrieve and display anime information, details, and much more. The extensive collection of data available through the MAL API has greatly enriched the user experience of our app and enabled us to deliver a robust platform for anime enthusiasts. We are thankful for the efforts and dedication of the MyAnimeList team in maintaining and providing access to this valuable resource. Their commitment to supporting the anime community and sharing anime-related data has been invaluable to our project's success. <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 📝 License <a name="license"></a> This project is [MIT](./LICENSE) licensed. <p align="right">(<a href="#readme-top">back to top</a>)</p>
Aniverse is a sleek web application for anime enthusiasts. Discover a vast collection of anime titles, from popular to trending shows and access detailed information like synopses, genres, episode counts, and airing status. Explore genres, search with ease, and save favorite searches to your list.
babel,css,javascript,reactjs,redux,testing-library
2023-07-03T18:25:13Z
2024-02-03T22:35:07Z
null
1
1
66
0
0
2
null
MIT
JavaScript
juanmaescudero/base-64
master
# Base64 Encoder/Decoder This repository contains a utility tool built with React.js and Next.js that allows you to perform various encoding and decoding tasks, along with a string to MD5 converter. <p align="center"> <img src="https://github.com/juanmaescudero/base-64/blob/master/public/screenshots/main-screenshot.png?raw=true" alt="decode 64 base"> </p> ## Features - Convert Base64 to Image: Decode Base64-encoded data and display it as an image. - Convert Base64 to String: Decode Base64-encoded data and display it as a string. - Convert String to Base64: Encode plain text strings to Base64. - String to MD5 Conversion: Generate MD5 hash from input string. ## Demo https://decode64base.com/ ## Installation 1. Clone the repository: ```bash git clone https://github.com/your-username/base64-encoder-decoder.git cd base-64 2. Install dependencies: ```bash npm install ## Usage 1. Open the project in your preferred code editor. 2. Run the application: ```bash npm run dev 3. Access the tool through your web browser by visiting http://localhost:3000 ## Contributing Contributions are welcome! Please feel free to submit issues and pull requests. ## License This project is licensed under the MIT License.
Base64 Encoder / Decoder Website using React.js and Next.js
base64,base64-decoding,base64-encoding,base64-image,javascript,nextjs,nextjs13,react,reactjs,typescript
2023-07-03T18:02:12Z
2023-08-10T15:55:40Z
null
1
0
8
0
1
2
null
null
TypeScript
quasicodo42/HTMW
main
null
The HTMW Frontend Solution
framework,javascript
2023-07-07T15:57:21Z
2024-05-23T14:26:22Z
null
3
0
31
0
1
2
null
null
JavaScript
NICK-FURY-6023/Chat-GPT-4-Bot
main
# GPT 4 Chat Bot This is a simple Discord chat bot built using discord.js and the gpt - 4 model from Open AI. This is the same model used for the popular chatbot Chat GPT. ## How to setup 1. Clone the repository to the current directory ```powershell https://github.com/NICK-FURY-6023/Chat-GPT-4-Bot.git ``` 2. Install all the dependencies - Using npm ```powershell npm install ``` - Using yarn ```powershell yarn ``` 3. fill your bot token or openai_api 5. Start your bot - Using npm ```powershell npm run start ``` - Using yarn ```powershell yarn start ``` ___ # Config file for my profile # <h2 align="left">Hi 👋! My name is ₦ł₵₭ ₣ɄⱤɎ and I'm from INDIA </h2> ### <div align="left"> <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/javascript/javascript-original.svg" height="30" alt="javascript logo" /> <img width="12" /> <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/typescript/typescript-original.svg" height="30" alt="typescript logo" /> <img width="12" /> <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/react/react-original.svg" height="30" alt="react logo" /> <img width="12" /> <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/html5/html5-original.svg" height="30" alt="html5 logo" /> <img width="12" /> <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/css3/css3-original.svg" height="30" alt="css3 logo" /> <img width="12" /> <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/csharp/csharp-original.svg" height="30" alt="csharp logo" /> </div> ### ___ <div align="left"> <img src="https://img.shields.io/static/v1?message=Youtube&logo=youtube&label=&color=FF0000&logoColor=white&labelColor=&style=for-the-badge" height="35" alt="youtube logo" /> <img src="https://img.shields.io/static/v1?message=Instagram&logo=instagram&label=&color=E4405F&logoColor=white&labelColor=&style=for-the-badge" height="35" alt="instagram logo" /> <img src="https://img.shields.io/static/v1?message=Twitch&logo=twitch&label=&color=9146FF&logoColor=white&labelColor=&style=for-the-badge" height="35" alt="twitch logo" /> <img src="https://img.shields.io/static/v1?message=Discord&logo=discord&label=&color=7289DA&logoColor=white&labelColor=&style=for-the-badge" height="35" alt="discord logo" /> <img src="https://img.shields.io/static/v1?message=Gmail&logo=gmail&label=&color=D14836&logoColor=white&labelColor=&style=for-the-badge" height="35" alt="gmail logo" /> <img src="https://img.shields.io/static/v1?message=LinkedIn&logo=linkedin&label=&color=0077B5&logoColor=white&labelColor=&style=for-the-badge" height="35" alt="linkedin logo" /> </div> ### I'm a self-taught passionate BackEnd developer from India 🇮🇳 **About me** - 💼 Backend Developer - ❤️ I love writing Javascript, and building fun experiments on type-level - 💬 Ask me about anything - [![DiscordBanner](https://invidget.switchblade.xyz/fz8QMYdVDq)](https://discord.gg/CdCfgSC3qy)<br /> <code><img height="20" alt="javascript" src="https://raw.githubusercontent.com/github/explore/80688e429a7d4ef2fca1e82350fe8e3517d3494d/topics/javascript/javascript.png"></code> <code><img height="20" alt="typescript" src="https://raw.githubusercontent.com/github/explore/80688e429a7d4ef2fca1e82350fe8e3517d3494d/topics/typescript/typescript.png"></code> <code><img height="20" alt="react" src="https://raw.githubusercontent.com/github/explore/80688e429a7d4ef2fca1e82350fe8e3517d3494d/topics/react/react.png"></code> <code><img height="20" alt="graphql" src="https://raw.githubusercontent.com/github/explore/5c058a388828bb5fde0bcafd4bc867b5bb3f26f3/topics/graphql/graphql.png"></code> <code><img height="20" alt="nodejs" src="https://raw.githubusercontent.com/github/explore/80688e429a7d4ef2fca1e82350fe8e3517d3494d/topics/nodejs/nodejs.png"></code> ___ # 📊 GitHub Stats <img width="48.1%" src="https://github-readme-stats.vercel.app/api?username=NICK-FURY-6023&count_private=true&show_icons=true&theme=react" /> <img width="51%" src="https://streak-stats.demolab.com/?user=abhijivani3001&theme=react" /> ___ <img width="99.5%" src="https://github-readme-activity-graph.vercel.app/graph?username=NICK-FURY-6023&bg_color=21232a&color=a8eeff&line=61dafb&point=f0fcff&area=true&hide_border=false" /> ____ <img width="35%" src="https://github-readme-stats.vercel.app/api/top-langs/?username=NICK-FURY-6023&theme=react&show_icons=true&hide_border=false&layout=compact" />
Discord Bot ChatGpt-4
chatgpt,chatgpt-bot,discord,discord-bot,javascript,nodejs,openai,gpt,gpt-3,gpt4
2023-07-09T13:32:32Z
2024-05-23T12:00:07Z
null
1
44
74
0
0
2
null
Apache-2.0
JavaScript
sinatayebati/ecommerce-website-clothing
main
# Responsive Ecommerce Clothing Website A minimal responsive ecommerce website for clothing, built with HTML CSS JavaScript ## <a href="https://sinatayebati.github.io/ecommerce-website-clothing/">Demo</a> <p align="center"> <img src="assets/demo-img/Screenshot 2023-07-11 at 11.51.01 PM.png" width = 265px > <img src="assets/demo-img/Screenshot 2023-07-11 at 11.52.32 PM.png" width = 230px > </p> ## Deploying to Github Pages - Clone this repo - Rename the repo to your desired github pages url (E.g yourname.github.io) - Customize the HTML and CSS as desired - Push code to a `gh-pages` branch - Visit your website at the github pages url you specified in the second step Learn more about Github pages <a href="https://pages.github.com/">here</a> # Usage - Update `index.html` with information about your bussiness - Update `assets/css/styles.css` and customize the style of the theme as desired ## License MIT
Responsive ecommerce clothing website built with HTML CSS JavaScript
css,ecommerce-website,html,javascript,responsive-design,responsive-website
2023-07-01T16:49:36Z
2023-07-31T02:50:20Z
null
1
0
58
0
1
2
null
MIT
HTML
baskerbyte/ulbragram
dev
<h1 align="center"> <img src="https://cdn-icons-png.flaticon.com/512/174/174855.png" alt="ulbragram logo" width="27" height="27"> Ulbragram </h1> <p> Ulbragram is a web application that aims to replicate the core features of Instagram. This project was developed as a part of the Ulbra course, utilizing the Bootstrap framework for responsive and modern UI design. </p> <h2>🎮 Demo</h2> <p align="center"> <a href="https://imgur.com/EPW87Mj.png"> <img src="https://i.imgur.com/EPW87Mj.png" alt="Screenshot 1" title="Click to view larger image" width="500" height="300"/> </a> <a href="https://imgur.com/F5ctbSg.png"> <img src="https://i.imgur.com/F5ctbSg.png" alt="Screenshot 2" title="Click to view larger image" width="500" height="300"/> </a> </p> ## 💻 Technologies Used - HTML - CSS - JavaScript - Bootstrap ## 👾 Installation First, clone the repository: ``` git clone https://github.com/baskerbyte/ulbragram.git ``` Then, navigate to the project directory and run the following command: ``` ./index.html ``` ## 🎖️ Credits This project was developed as a part of the Ulbra course. Special thanks to the instructors and fellow students for their contributions and support. This project is a clone of Instagram and is intended for educational purposes only.
An Instagram clone made in ulbra course
bootstrap,css,html,instagram,javascript
2023-07-10T17:36:35Z
2023-07-17T19:03:04Z
null
1
0
8
0
0
2
null
null
HTML
YuriXbr/LoLConfigManager
main
# BEM VINDO AO CONFIGMANAGER Olá invocador, conheça o **configManager**, um aplicativo rodando em node.js com o objetivo de te ajudar a corrigir **problemas de interface e salvar tempo**. (Precisa do node.js instalado, exclusivo para Windows) ![image](https://github.com/YuriXbr/LoLConfigManager/assets/56856513/31c8a545-77ee-42da-9cba-c1371e5c67c0) <br> # FUNCIONALIDADES: **Trava de configurações:** Trava a configuração do lol para quando você trocar entre as contas, o lol não resete ou altere suas configurações. **Reset de Ui e Ux:** Sabe quando você não consegue abrir suas runas, ou acessar alguma parte do client ou então quando suas pastas de amigos ficam abrindo e fechando? use essa opção e o interface será reiniciada sem dar dodge ou sair do grupo. **Ult Charm:** Gosta de mostrar maestria quando ulta? que tal mostrar um emoji especifico? Aqui você pode escolher exatamente o que quer, e até mesmo tirar caso canse. **Abaixar prioridade:** Altere a prioridade do client para cima ou para baixo, não sei por que, mas isso melhora FPS para certos pc's. **Reiniciar Explorer:** Sabe quando sua barra de taréfas trava por cima dos aplicativos em tela cheia? use essa opção (Ainda não implementado) ## INSTALAÇÃO: 1. Caso você não tenha o node.js instalado, acesse [aqui](https://nodejs.org/pt-br) e instale a versão LTS 2. Clique na ultima versão, na aba de Releases a direita ![image](https://github.com/YuriXbr/LoLConfigManager/assets/56856513/fc15bc01-27ad-4c4c-b961-be0291625e54) 2.1. então baixe o asset que diz LolConfigManagerVX.X.X.zip ![image](https://github.com/YuriXbr/LoLConfigManager/assets/56856513/c62d4931-c948-48ec-b128-9790811077b5) <br> 3. Extraia em uma pasta, **fora do Downloads ou de qualquer pasta do sistema de preferencia.** <br> ⚜ Agora tente executar o arquivo dependencies.bat, e então abrir o programa pelo start.bat, se tudo funcionar, perfeito. Caso não funcione, siga os passos a baixo: <br> <br> 1. Abra o CMD como administrador 2. Abra a pasta onde você instalou o programa, e pegue o caminho para ela no cabeçalho, como se fosse o link do navegador ![image](https://github.com/YuriXbr/LoLConfigManager/assets/56856513/5f451f6c-eb86-4a4c-8ac5-0a109a35bb6f) 3. Escreva no CMD "cd (cole o caminho da pasta)". 4. Escreva "npm i" e espere as dependencias serem baixadas. ![image](https://github.com/YuriXbr/LoLConfigManager/assets/56856513/170cf6c4-30a6-49d9-897d-0c0e2e3ba7d5) <br> <br> ✔ Pronto, basta executar pelo start.bat. <br> ## REPORTAR PROBLEMAS: 1. Abra a pasta de logs, e envie o conteudo dele para mim pelo issues no aqui mesmo, ou pelo twitter/discord a baixo. <br> ## CAUSA BAN? **Não!** Esse programa não interage diretamente com o processo do league of legends nem gera nenhum tipo de vantagem, todas informações que o programa usa são de fácil acesso ao usuário de forma manual e estão disponíveis sem nenhum tipo engenharia reversa. <br> ## OBSERVAÇÔES: **Duvidas ou problemas?** Me contate via discord (*yuri.js*), twitter (Caso você tenha vindo por lá) ou diretamente pelo GitHub no issues. ***Este aplicativo é exclusivo para Windows*** <br> ## LICENÇA & DIREITOS AUTORAIS: Este programa pode ser modificado livremente, mas solicito humildemente para que mantenham os créditos originais. Não me responsabilizo por versões modificadas. <br> <br> ## SOLUÇÃO DE PROBLEMAS: # Caso o aplcativo abra e feche instantaneamente, siga o seguinte: 1. Vá na pasta do programa, e procure pela pasta log. 2. Crie um ticket na aba de Issues do Github, ou envie por outro meio, o arquivo ou tudo que tiver dentro do arquivo com a data mais recente. 3. Espere pela analise.
Config manager and troubleshooter for LoL. focused in timesave and LowSpec Pcs
games,javascript,league-of-legends,lol
2023-07-07T23:26:16Z
2023-07-19T06:10:01Z
2023-07-18T21:57:55Z
1
0
39
0
1
2
null
null
JavaScript
ViktorSvertoka/goit-markup-hw-05
main
# Домашнє завдання № 5 - Cтвори репозиторій `goit-markup-hw-05`. - Склонуй створений репозиторій і скопіюй в нього файли попередньої роботи. - Додай розмітку і оформлення форм для сторінок макета [**домашнього завдання #5**](<https://www.figma.com/file/Kr5Q4EVrEAqpOWko4QeEJb/Web-Studio-(Version-4.0)?type=design&node-id=297035-1582&mode=design&t=4zRpCRfzqjWcl8Ok-0>): - Налаштуй `GitHub Pages` і додай посилання на живу сторінку в шапку GitHub-репозиторія. ## Критерії приймання роботи наставником ### Проект **`«A1»`** Всі стилі написані в одному файлі `styles.css`, який знаходиться в папці `css`. **`«A2»`** Вихідний код відформатований за допомогою `Prettier`. **`«A3»`** Всі зображення та текстовий контент взяті з макета. **`«A4»`** На всіх HTML-сторінках підключений нормалізатор стилів [`modern-nomalize`](https://github.com/sindresorhus/modern-normalize). **`«A5»`** Код написаний з дотриманням [**настанови**](https://codeguide.co/). ### Розмітка **`«B1»`** Виконана HTML-розмітка всіх елементів макета. **`«B2»`** Теги використані відповідно до їх семантичного змісту. **`«B3»`** Виконана розмітка форми підписки на розсилання і всіх її елементів у футері. **`«B4»`** Виконана розмітка форми заявки та всіх її елементів в модальному вікні. **`«B5»`** У всіх інпутів у формах заданий атрибут `name`. **`«B6»`** Значення атрибута `name` описові, що точно характеризує, для чого це поле форми. **`«B7»`** У всіх інпутів є пов'язаний елемент `<label>`. **`«B8»`** Інпутам заданий атрибут `placeholder`, якщо для нього в макеті є текст-підказка. **`«B9»`** Кнопкам «відправлення» форм заданий атрибут `type="submit"`. **`«B10»`** Всі нові іконки з форм додані в SVG-спрайт `icons.svg`. ### Оформлення **`«C1»`** Виконано оформлення елементів форми підписки на розсилання у футері. **`«C2»`** Виконано оформлення елементів форми заявки у модальному вікні. **`«C3»`** При отриманні інпутом фокусу, його рамка та іконка змінюють колір (як показано на макеті). **`«C4»`** Оригінальний чекбокс про прийняття ліцензійної угоди у формі заявки прихований. **`«C5»`** Оформлення «чекбокса» про прийняття ліцензійної угоди зроблено вручну, за допомогою векторного зображення галочки з SVG-спрайту. **`«C6»`** Для всіх ефектів ховера і фокуса (колір, фон, тінь) зроблені переходи. час - `250ms`, функція розподілу часу - `cubic-bezier(0.4, 0, 0.2, 1)`. # Web Studio ![Web Page](./images/screencapture1.png) --- ![Web Page](./images/screencapture2.png) ---
HTML5 & CSS3 Homework📕 📘
css3,gitignore,goit,goit-markup-hw-05,html5,javascript,prettier
2023-07-19T19:18:52Z
2023-07-31T18:30:59Z
null
1
0
15
0
0
2
null
null
HTML
merndev1101/nextjs_click-paly-game
main
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). ## Getting Started First, run the development server: ```bash npm run dev # or yarn dev # or pnpm dev ``` Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file. [API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`. The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. ## Learn More To learn more about Next.js, take a look at the following resources: - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! ## Deploy on Vercel The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
This is a simple click-play game web application which test typing spped, click speed, spacebar counter and scroll speed.
css,javascript,nextjs,reactjs
2023-07-11T15:35:26Z
2023-07-11T15:38:53Z
null
1
0
1
0
0
2
null
null
JavaScript
JoelDeonDsouza/3D-VR-LandingPage
main
# 3D-VR-LandingPage #### 3D landing page inspired by apple landing page ## Tech Stack **Client:** React, JavaScript, Node.js ## Screenshots ![App Screenshot](https://i.ibb.co/gPfLngy/Screenshot-2023-07-08-at-17-23-28.png) ![App Screenshot](https://i.ibb.co/xfYybB5/Screenshot-2023-07-08-at-17-23-35.png) ![App Screenshot](https://i.ibb.co/QDNqZJq/Screenshot-2023-07-08-at-17-24-56.png) ## Run Locally Clone the project ```bash git clone https://github.com/JoelDeonDsouza/3D-VR-LandingPage.git ``` Go to the project directory ```bash cd my-project ``` Install dependencies ```bash npm install ``` Start the server ```bash npm run start ```
3D landing page inspired by apple landing page
3d-models,javascript,reactjs
2023-07-08T15:28:01Z
2023-07-12T09:41:34Z
null
1
1
12
0
1
2
null
MIT
CSS
vaibhav-panwar/Health-Junction
main
# Health Junction Welcome to the README for the Health Junction project! This document provides an overview of the project, the technology stack used, deployment links, and includes screenshots to help you understand the project better. ## Introduction Health Junction is a web-based healthcare appointment booking platform. Leveraging a tech stack that includes HTML, CSS, JavaScript, Node.js, Express.js, MongoDB, and bcrypt for security, I designed a user-friendly interface that facilitates seamless appointment scheduling between patients and doctors. The platform features user authentication, appointment management, doctor ,dashboards, and robust security measures ## Technology Stack The project is built using a variety of technologies to ensure smooth functionality and an intuitive user experience: - **Frontend**: The frontend is developed using **HTML**,**CSS** and **Javascript** . - **Backend**: The backend is powered by **Node.js** and **Express.js**, providing a robust server structure. - **Database**: The game's data, user profiles, and game history are stored in a **MongoDB** database. This allows for efficient data management and retrieval. ## Deployment Links - **Frontend Deployment**: The frontend of the Multilayer Chess Game is deployed on **Netlify**. You can access it [here](https://health-junction07.netlify.app/index.html). - **Backend Deployment**: The backend is deployed on **Cyclic** to ensure a seamless multiplayer experience. Visit the backend at [https://nice-ruby-goose-fez.cyclic.app]. ## Screenshots Here are some screenshots showcasing the different aspects of the Multilayer Chess Game: 1. **Homepage**: The landing page provides info of the plans and services we provide. ![Homepage](Screenshots/homepage.PNG) 2. **About**:About page gives info about the experts/doctors you can book appointment with. ![About](Screenshots/about.PNG) 3. **Blogs**: Learn more about your problems and health by reading bolgs by our experts. ![Blogs](Screenshots/blogs.PNG) 4. **Signup**: Signup on our website to experience our services. ![Signup](Screenshots/signup.PNG) 5. **Book Appointment**: Book your appointment with experts by selecting your prefferable date , service ,expert and time slots. ![Book Appointment](Screenshots/bookappointment.PNG) 6. **User Dashboard**: See your appointments and their status by clicking on your username present in the nav bar . ![User Dashboard](Screenshots/userdashboard.png) 7.**My Appointments**: See your appointments and their status . ![User Dashboard](Screenshots/myappointments.PNG) 8. **Expert Login**: Click on this link in footer to login as expert and access expert dashboard . ![Expert Login](Screenshots/expertlogin.png) 9. **Expert dashboard**: This is how expert dashboard looks lik ![Expert Dashboard](Screenshots/expertdashboard.PNG) Feel free to explore the deployed links . ## Get Started To run the project locally, follow these steps: 1. Clone the repository: `git clone https://github.com/vaibhav-panwar/Health-Junction` 2. Open the Backend Folder to get your backend running 3. Install dependencies: `npm install` 4. Start the development server: `npm start` Make sure to configure the backend URL in the frontend code for local development.
Health Junction is a web-based healthcare appointment booking platform. Designed with a user-friendly interface that facilitates seamless appointment scheduling between patients and doctors
bcrypt,css,expressjs-framework,html5,javascript,jwt,mongo,mongoose,nodejs
2023-07-17T12:06:28Z
2023-09-17T12:07:31Z
null
5
5
41
0
1
2
null
null
JavaScript