Giter Site home page Giter Site logo

10secondsofcode / 10secondsofcode Goto Github PK

View Code? Open in Web Editor NEW
41.0 2.0 28.0 2.82 MB

The team behind 10-seconds-of-code and official 10-seconds projects.

Home Page: https://www.10secondsofcode.com

License: MIT License

JavaScript 77.83% CSS 21.30% Shell 0.86%
10secondsofcode secondsofcode learn-to-code reactjs javascript snippets-collection education learn-to-code-for-free beginner-friendly fullstack-development

10secondsofcode's Introduction

10secondsofcode

10secondsofcode is a easy way to understand the JavaScript and ReactJS snippets in 10 seconds.
This website idea is inspired from https://javascript.info

Website

https://www.10secondsofcode.com

To add any concepts like reactjs and javascript follow the below steps

  1. Create / Edit the reactjs and javascripts concepts file in src/pages/.
  2. Those files linked into src/components/data.js and create a PR.

To contribute to 10secondsofcode!

Follow these steps to make your first pull request-

  1. Fork this repository.
  2. Clone your forked repository to your local machine.
  3. Take any one of the issue from issues list and make a Pull Request.
  4. Write these commands on your terminal-
git add -A
git commit -m "your name"
git push origin master
  1. Then create a pull request.
  2. Star the official repository of 10secondsofcode.
  3. Congratulations!! You have successfully made a pull request.

10secondsofcode's People

Contributors

10-seconds avatar ag-systems avatar dependabot-preview[bot] avatar djay1407 avatar elangosundar avatar fadhilnurmahardi avatar fossabot avatar germavinsmoke avatar heni-hendaoui avatar jams008 avatar lisacee avatar luizbaldi avatar mandyellow avatar manjeetar avatar pradeepravi-cse avatar

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

Watchers

 avatar  avatar

10secondsofcode's Issues

Pull requests here won’t count toward Hacktoberfest.

Hi there,

Thanks for your interest in Hacktoberfest and helping others learn how to make their first contributions to open source!

That said, high-quality contributions are part of the the core values of Hacktoberfest, so we kindly ask that you do not create repositories which allow users to quickly gain a PR toward completing the challenge.

We encourage you to take a look at our list of Hacktoberfest issues for inspiration and ideas about making meaningful contributions to open source projects.

Due to this, we've added this repository to our list of excluded repositories and pull requests here will not count toward Hacktoberfest 2019.

Please note, you are welcome to keep running this repository as a learning tool for new contributors to open-source, but pull requests won’t count toward Hacktoberfest.

Happy Hacking,
The Hacktoberfest Team

Hacktoberfest is presented by DigitalOcean and DEV.

Read content from markdown file using graphql

Read the content from markdown file in sub pages.

Example : If I am clicking the home page below link like introduction topic , it will redirect topic details page, in this page we have read the introduction markdown file and displaying the content.

  1. Goto this page https://10seconds.netlify.com/javascript-objects
  2. For this page we have content in https://github.com/10secondsofcode/10secondsofcode/blob/master/src/content/javascript-objects.md.
  3. So we have to read the javascript-objects.md file and displaying the content in https://10seconds.netlify.com/javascript-objects.
  4. It should works dynamically for all pages like if we add topic in content folder, it will read and displaying content corresponding page.

Update contributions and participate in Hacktoberfest2019

Welcome to HacktoberFest 2019 event from #10secondsofcode

Follow these steps to make your first pull request-

  1. Fork this repository.
  2. Clone your forked repository to your local machine.
  3. Add your name in Contributors.md file.
  4. Write these command on your terminal-
git add -A
git commit -m "your name"
git push origin master
  1. Then create your pull request.
  2. Star my repository.
  3. Congratulations!! You have successfully created your pull request.
  4. Check your progress here (https://hacktoberfest.digitalocean.com/profile)
    Wait for your shirt.

Read content from markdown file

Read the content from markdown file in sub pages.

Example : If I am clicking the home page below link like introduction topic , it will redirect topic details page, in this page we have read the introduction markdown file and displaying the content.

  1. Goto this page https://10seconds.netlify.com/javascript-objects
  2. For this page we have content in https://github.com/10secondsofcode/10secondsofcode/blob/master/src/content/javascript-objects.md.
  3. So we have to read the javascript-objects.md file and displaying the content in https://10seconds.netlify.com/javascript-objects.
  4. It should works dynamically for all pages like if we add topic in content folder, it will read and displaying content corresponding page.

Login Component

Login Component

A login component with fields of email and password.
Error handling taken care of.

Bug hunt

Bug hunt

  1. Find the bugs and List the issue
  2. Provide suggestions for enhancements / feature.

10secondsofcode PR Welcome

Hi πŸ‘‹

I've created this issue to keep track of things to do for 10secondsofcode. Feel free to pick tasks and create PR if you want. Just add a message below to avoid duplication of work.

Also small PRs that complete one task are easier to review and merge πŸ‘

And if you have any question, feel free to ask :)

  • Website template updation
  • Improvement reactjs fucntionality
  • Add reactjs snippets
  • Listout missing functionlities
  • Fix bugs, typos, ... :)

Add concepts like reactjs and javascript

To add any concepts like reactjs and javascript follow the below steps

  1. Create / Edit the reactjs and javascripts concepts file in src/pages/.
  2. Those files linked into src/components/data.js and create a PR.

Search Component

Search Component

  • Add a search bar and implement the functionality.
  • On search filtered tasks should be shown.

Create LOGO for 10secondsofcode

Create LOGO for 10secondsofcode

  1. Create the logo for 10secondsofcode and and it will bring the meaning of 10seconds understanding the concepts.
  2. Use your creativity and design.

Dark mode/light mode

Dark mode/light mode

Application should enable the dark and light mode options

Gatsby - Production build throwing error as yoga-layout-prebuilt

In our local, production build is working fine, if we deployed into netlify and prod build throwing below error.

11:55:22 AM: ❯ Config file
11:55:22 AM:   No config file was defined: using default values.
11:55:22 AM: ​
11:55:22 AM: ❯ Context
11:55:22 AM:   production
11:55:22 AM: ​
11:55:22 AM: β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
11:55:22 AM: β”‚ 1. Build command from settings β”‚
11:55:22 AM: β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
11:55:22 AM: ​
11:55:22 AM: $ gatsby build
11:55:23 AM: /opt/build/repo/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:53
11:55:23 AM:         throw ex;
11:55:23 AM:         ^
11:55:23 AM: Error: Cannot find module 'acorn'
11:55:23 AM: Require stack:
11:55:23 AM: - /opt/build/repo/node_modules/acorn-jsx/index.js
11:55:23 AM: - /opt/build/repo/node_modules/buble-jsx-only/dist/buble.cjs.js
11:55:23 AM: - /opt/build/repo/node_modules/@mdx-js/runtime/dist/cjs.js
11:55:23 AM: - /opt/build/repo/node_modules/gatsby-recipes/dist/cli.js
11:55:23 AM: - /opt/build/repo/node_modules/gatsby-recipes/dist/index.js
11:55:23 AM: - /opt/build/repo/node_modules/gatsby/node_modules/gatsby-cli/lib/recipes.js
11:55:23 AM: - /opt/build/repo/node_modules/gatsby/node_modules/gatsby-cli/lib/create-cli.js
11:55:23 AM: - /opt/build/repo/node_modules/gatsby/node_modules/gatsby-cli/lib/index.js
11:55:23 AM: - /opt/build/repo/node_modules/gatsby/dist/bin/gatsby.js
11:55:23 AM: - /opt/build/repo/node_modules/gatsby/cli.js

Anyone help this?

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.