GithubHelp home page GithubHelp logo

alireza1083 / anilearn.dev Goto Github PK

View Code? Open in Web Editor NEW
62.0 62.0 17.0 110.15 MB

We offer top-notch content for easy learning, with clear visual development principles.

Home Page: https://anilearn.dev

TypeScript 81.37% JavaScript 1.88% CSS 3.24% Shell 0.12% MDX 13.40%
nextjs open-souce tailwindcss typescript

anilearn.dev's Introduction

IN THE NAME OF ALLAH

I'm Ali Reza! I've got 3+ years of web dev experience, mainly focusing on front-end magic with ReactJS. I'm all about embracing new challenges and learning opportunities. Let's build something awesome together!

My Currect Stacks

anilearn.dev's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

anilearn.dev's Issues

[Bug]: User input image URLs need additional validation

Description

BTW. This applies to all input fields for custom image URLs.

https://www.anilearn.dev/css/filter

Works with image URLs like https://miro.medium.com/v2/format:webp/1*LFSrbkB_nFr65tCSa4vaaw.png, but needs additional validation.

Works
image

Does not work, obviously
image

https://www.anilearn.dev/css/object-fit

Does not work with https://miro.medium.com/v2/resize:fit:1400/format:webp/1*LFSrbkB_nFr65tCSa4vaaw.png and any other valid image URLs and needs additional validation on top of it.

You could use something like the following to determine whether the given URL is an image and display an error message if no valid image was found:

const urlContainsImage = async (url) => {
  const response = await fetch(url, { method: 'GET' })
  if (response && response?.ok) {
      const contentType = response.headers.get('content-type')
      if (contentType) {
          return contentType.startsWith('image/')
      }
  }
  return false
}

To Reproduce

Applies to all custom user input fields for image URLs.

Anything else?

No response

Code of Conduct

improvement in coupon copy button

issue

  • when client get clicked on coupon copy button it does not changing the state.

solution and how it should look there

  • when client get clicked on copy button it should copy the text to clipboard and icon should be change to checked,and copy button should be blocked after operation.

Improve README.md

Description

I have noticed that the README.md appears to be incomplete. There is an error in step 2 of the Contributing section, where it states "Clone t" instead of "Clone the Repository". Additionally, step 3 instructs to navigate to the "4c-site" directory instead of "AniLearn.dev". I would like to propose adding additional steps for staging, committing, and creating a pull request. I am enthusiastic about contributing to this project and would appreciate your assignment. I have attached a screenshot for your reference.

Screenshots

Screenshot (12)

[Other]: CSS: Opacity

Description

CSS opacity property that set transparency of an element
I want to add this into the project

Anything else?

No response

Code of Conduct

[Feat]: CSS Display-Property

Description

On https://www.anilearn.dev/css/display-property, there is no visual change when switching between inline and inline-block.

Solution

Since only the header inline style is being updated, there is no visual change between inline and inline-block. To change that, consider updating the paragraph element underneath the header as well or update the entire example.

image

Anything else?

No response

Code of Conduct

[Docs]: Add pnpm install step

Description

I recommend including a step that guides contributors to confirm they have the pnpm package manager installed separately, as it will not be automatically downloaded when installing node.js.

Anything else?

I believe it would be beneficial to include an additional step for installing pnpm at this location.
Screenshot (20)

Code of Conduct

A Toogle Button for Dark Mode

Description

The website is good with light mode but the code is not more visible in light mode therefore a dark mode toogle button should be there so that users can switch from light to dark mode.

Solution

A toggle button at the right corner to switch between light and dark mode

Code of Conduct

[Feat]: Improve UX on Open Graph demo page

Description

The placeholder URL input shows https:// but the URL from the preview to the right starts with www..
Based on the placeholder, I should use something like https://rschu.me/ which will result into WWW.HTTPS://RSCHU.ME/.

image image

Solution

You might want to make it more clear which URL format is valid to avoid issues like that.

image

Anything else?

No response

Code of Conduct

[Feat]: Improve dropdown user experience

Description

Dropdown elements, such as for the ratio on the https://www.anilearn.dev/css/filter page, do not update on change and do not show the initial option.

Solution

Consider displaying the default option (e.g., landscape instead of ratio) and use ratio as label above or next to the dropdown. It makes it more clear to the user which option is active and to which option the dropdown was changed to.

image

Anything else?

This applies to all pages where dropdown elements are being used.

Code of Conduct

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.