Skip to content

C Coding is a fully responsive React.js-based learning platform designed to help beginners and intermediate learners practice, revise, and master C programming.

License

Notifications You must be signed in to change notification settings

TonyStark-19/C-Coding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

95 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌐 C Coding β€” Learn & Practice C Programming (React.js)

Repo Size Stars Last Commit

React JavaScript CSS3 AOS Router C-Language


πŸš€ About the Project

C Coding is a fully responsive React.js-based learning platform designed to help beginners and intermediate learners practice, revise, and master C programming.

Originally started as a simple C programs repository, this project has now evolved into a structured web platform that categorizes 79 C programs into three difficulty levels with clean UI, animations, and smooth navigation.


πŸ“Έ Screenshot

🏠 Home Page βš™οΈ Level Category Page
Screenshot 1 Screenshot 2
🟒 Easy Level Page 🟑 Medium Level Page
Screenshot 3 Screenshot 4
πŸ”΄ Hard Level Page Code Page
Screenshot 3 Screenshot 4

🌐 Live Demo

The project is live and can be viewed here: C-Coding


πŸ—οΈ Website Structure

  • 🏠 Home Page

    • Welcome screen with intro and animations.
  • 🧱 Levels Page

    • Displays three level boxes – Beginner, Intermediate, and Advanced.
    • Each box lists topics under that level.
  • πŸ“„ Level-Wise Code Pages

    • Each level box navigates to its its own detailed page.
    • Every topic is displayed in a card/box with a "View Code" button.
    • Clicking the button opens the respective program/code page.
  • πŸ’» Program Page

    • Displays the selected program with proper formatting.
    • Code is rendered using Prism React Syntax Highlighter for clean syntax highlighting.
    • Includes a "Copy Code" button for quick copying.
    • Provides a "View Raw on GitHub" button to access the original source file.

πŸ’‘ Features

βœ… Fully responsive UI (desktop + mobile)
βœ… Organized C programs by logic complexity
βœ… Modern look with AOS (Animate on Scroll) effects
βœ… Navigation using React Router
βœ… Lifecycle handling using useEffect
βœ… Easy-to-use and clean interface for beginners


πŸ› οΈ Tech Stack

React ReactRouter CSS3 AOS Hooks Icons Vercel

  • Framework: React.js (CRA - Create React App)
  • Routing: React Router DOM
  • Styling: CSS3
  • Animations: AOS (Animate On Scroll)
  • Logic: React Hooks (useEffect)
  • Icons by React icons
  • Deployment: Vercel

πŸ“ Program Categories

Total Programs Level 1 Level 2 Level 3

🟒 Beginner (22 Programs)

Basic syntax and fundamental logic Examples: arithmetic operations, conditionals, swapping, tables

🟑 Level 2: Intermediate

Moderate logic involving arrays, strings, loops, recursion, and structures

πŸ”΄ Level 3: Advanced

Advanced concepts such as matrices, recursion-heavy problems, quizzes, and number systems

πŸ“Œ All programs were written during my personal C learning journey.


πŸ“ Repository Structure

Level 1: Beginner 🌱

Description: Simple programs to get started with C programming.
Difficulty: Easy

πŸ”Ή Basic Programs

No. Project Description
1 (a+b)^2 Simple (a+b)^2 calculation
2 All arithmetic operations Perform all basic arithmetic operations
3 Area of circle Calculate area of a circle
4 Area of rectangle Calculate area of a rectangle
5 Area of square Calculate area of a square
6 Average (float) Find average using float values
7 Cube of a number Calculate cube using simple logic
8 Cube using pow() Calculate cube using pow() function
9 License eligibility Check eligibility for a driving license
10 Find your age Calculate age from birth year
11 Average (int) Find average using integers
12 Odd or Even Check whether a number is odd or even
13 Pass or Fail Determine pass or fail status
14 Pass or Fail (ternary) Pass/fail using ternary operator
15 Quotient and Remainder Display quotient and remainder
16 Rectangle perimeter Calculate perimeter of a rectangle
17 Remainder only Display only the remainder
18 Smallest number Find the smallest of two numbers
19 Sum calculation Simple addition of numbers
20 Swapping Swap two numbers
21 Multiplication table Print multiplication table of a number
22 Upper or Lower case Check if a character is uppercase/lowercase

Level 2: Intermediate πŸ”„

Description: Programs with moderate logic and complexity.
Difficulty: Medium

πŸ”Ή More Than Basic Programs

No. Project Description
1 2D Array Print multiplication tables using 2D array
2 Array (ascending order) Sort an array in ascending order
3 Matrix operations Basic matrix implementation
4 Combine strings Concatenate two strings
5 Days switch-case Display day using switch case
6 Details input General input handling program
7 Digits sum Sum of digits of a number
8 Discount check 1 First version of discount logic
9 Discount check 2 Second version of discount logic
10 Factorial (loop) Factorial calculation using loops
11 Factorial (recursion) Factorial calculation using recursion
12 Factors of a number Print all factors of a number
13 GCD Find Greatest Common Divisor
14 Grades Grade categorization logic
15 Insert into array Insert an element into an array
16 Is digit or not Check whether input is a digit
17 Language output Output based on selected language
18 Largest in array Find largest element in an array
19 Multiple results Perform multiple calculations
20 Sum of natural numbers Sum natural numbers using loop
21 Sum (recursion) Natural number sum using recursion
22 Odd input stopper Take input until an odd number is entered
23 Palindrome check Check if a number is a palindrome
24 Patterns Print square pattern
25 Petrol price calculator Calculate petrol price
26 Pointer syntax Example demonstrating pointer usage
27 Power function Calculate xⁿ
28 Prime in range Print prime numbers within a range
29 Prime check Check whether a number is prime
30 Remove spaces Remove spaces from a string
31 Reverse array Reverse elements of an array
32 Simple Interest Calculate simple interest
33 Specific operator Use switch case for specific operations
34 Square root Calculate square root
35 Sum of matrices Add two matrices
36 Temperature conversion Convert Celsius to Fahrenheit
37 Total price Calculate total price of items
38 Transpose of matrix Find transpose of a matrix
39 Uppercase conversion Convert string to uppercase
40 Various input (struct) Take input using structures
41 Vowel count Count vowels in a string

Level 3: Advanced πŸ’‘

Description: Challenging programs with advanced logic and longer code.
Difficulty: High

πŸ”Ή Advanced Programs

No. Project Description
1 Armstrong number Check whether a number is an Armstrong number
2 Calculator v1 Calculator implementation using functions
3 Determinant Find determinant of a matrix
4 Fibonacci (recursion) Generate Fibonacci series using recursion
5 Fibonacci (function) Fibonacci series using function calls
6 Highest char frequency Find the most frequent character in a string
7 Inverse of matrix Calculate inverse of a matrix
8 Matrix multiplication (logic) Matrix multiplication using loops
9 Matrix multiplication (arrays) Matrix multiplication using arrays
10 Number system converter Convert decimal to other number systems
11 Quiz v1 Quiz program – version 1 logic
12 Quiz v2 Quiz program – version 2 logic
13 Quiz v3 Quiz program – version 3 logic
14 Specific area calculator Calculate area based on selected shape
15 Specific operations (switch) Menu-driven operations using switch case
16 Upper to lowercase (function)

  • Total programs: 79
  • Level 1: 22 | Level 2: 41 | Level 3: 16
  • All of these were created by me during my journey of learning the C language. 😊

🧰 How to Run Locally

# 1. Clone the repo
git clone https://github.com/TonyStark-19/C-Coding.git

# 2. Move into the project folder
cd C-Coding

# 3. Install dependencies
npm install

# 4. Start the development server
npm start

🀝 Contributing

Pull requests are welcome!

If you're currently learning C programming and have written some C programs that are not already included in this repository, feel free to contribute:

  1. Create an Issue – Briefly describe the program(s) you want to add. Mention the problem statement or logic.
  2. Once the issue is reviewed and approved, you can add your program to the appropriate level on the website via a pull request.
  3. Make sure your code is clean, commented, and placed in the correct category (Beginner / Intermediate / Advanced).

This project is open to learners, so don't hesitate to participate and showcase your contributions!

Please read the CONTRIBUTING.md before you start.


πŸ“œ License

This project is licensed under the MIT License. Feel free to use, modify, and share it – just give proper credit. Check the LICENSE file for more details.


πŸ™Œ Acknowledgments

  • Thanks to the entire coding community. This website is made for C programming learners and enthusiasts.

Made with ❀️ by Aditya chandel

About

C Coding is a fully responsive React.js-based learning platform designed to help beginners and intermediate learners practice, revise, and master C programming.

Topics

Resources

License

Contributing

Stars

Watchers

Forks