diff --git a/docusaurus.config.js b/docusaurus.config.js index 6acf74133..75907c46d 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -187,7 +187,11 @@ const config = { type: "dropdown", html: '🔗 More', position: "left", - items: [ + items: [ + { + html: '🌍 Web Dev', + to: "/web-dev/", + }, { html: ' 📊 Quiz', to: "https://quiz-app-ajay-dhangar.vercel.app/", @@ -502,6 +506,22 @@ const config = { showLastUpdateTime: true, }, ], + + [ + "@docusaurus/plugin-content-docs", + /** @type {import('@docusaurus/plugin-content-docs').Options} */ + { + id: "web-dev", + path: "web-dev", + routeBasePath: "web-dev", + // editUrl: "#", + sidebarPath: require.resolve("./sidebarsWebDev.js"), + remarkPlugins: [[npm2yarn, { sync: true }], remarkMath, rehypeKatex], + showLastUpdateAuthor: true, + showLastUpdateTime: true, + }, + ], + [ "@docusaurus/plugin-content-docs", /** @type {import('@docusaurus/plugin-content-docs').Options} */ diff --git a/sidebarsWebDev.js b/sidebarsWebDev.js index 944309b9d..b2892ea13 100644 --- a/sidebarsWebDev.js +++ b/sidebarsWebDev.js @@ -1,48 +1,8 @@ module.exports = { - sidebarsWebDev: [ + codeharborhub: [ { - type: "category", - label: "Web Dev", - link: { - type: "doc", - id: "all-web-dev", - }, - collapsible: true, - collapsed: false, - items: [ - { - type: "category", - label: "HTML", - link: { - type: "doc", - id: "html/welcome-html", - }, - collapsible: true, - collapsed: true, - items: [ - { - type: "autogenerated", - dirName: "html", - }, - ], - }, - { - type: "category", - label: "JavaScript", - link: { - type: "doc", - id: "javascript/welcome-js", - }, - collapsible: true, - collapsed: true, - items: [ - { - type: "autogenerated", - dirName: "javascript", - }, - ], - }, - ], + type: "autogenerated", + dirName: ".", }, ], -}; +}; \ No newline at end of file diff --git a/src/database/sponsors/index.tsx b/src/database/sponsors/index.tsx index c63c14892..baab59f1f 100644 --- a/src/database/sponsors/index.tsx +++ b/src/database/sponsors/index.tsx @@ -18,6 +18,15 @@ const sponsors: Sponsor[] = [ // twitter: "https://x.com/CodesWithAjay", // instagram: "https://www.instagram.com/_ajay.dhangar", // }, + + { + name: "Narendra Dhangar", + image: "/sponsors/narendra-dhangar.jpg", + description: "B.Tech (CSE) Student", + github: "https://github.com/narendra-dhangar", + linkedin: "https://www.linkedin.com/in/narendra-dhangar-7a32aa283/", + instagram: "https://www.instagram.com/narendra_dh._05/", + }, { name: "MOHD ARIF", image: "https://github.com/mrmohdarif.png", diff --git a/src/pages/our-sponsors/Sponsors.css b/src/pages/our-sponsors/Sponsors.css index af8880e9d..c6b0d4d27 100644 --- a/src/pages/our-sponsors/Sponsors.css +++ b/src/pages/our-sponsors/Sponsors.css @@ -20,7 +20,7 @@ .sponsor-page .sponsors-list { display: grid; - grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); + grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-top: 2rem; } @@ -30,7 +30,7 @@ border-radius: 8px; padding: 16px; text-align: center; - width: 200px; + transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; } .sponsor-page .sponsor-card img { @@ -85,8 +85,43 @@ align-items: center; justify-content: center; cursor: pointer; - border: 1px dashed #ddd; + background-color: #f0f0f0; + border: 2px dashed #007bff; + color: #007bff; + position: relative; + overflow: hidden; +} + +.sponsor-page .sponsor-card.empty-card::before { + content: ''; + position: absolute; + top: 0; + left: -100%; + width: 100%; + height: 100%; + background: rgba(255, 255, 255, 0.178); + transition: left 0.3s ease-in-out; +} + +.sponsor-page .sponsor-card.empty-card:hover::before { + left: 100%; +} + +.sponsor-page .sponsor-card.empty-card:hover { + transform: translateY(-5px); + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); +} + +.sponsor-page .sponsor-card.empty-card h3 { + margin: 0; + font-size: 1.2em; + display: flex; + align-items: center; + gap: 8px; +} +.sponsor-page .sponsor-card.empty-card .join-icon { + font-size: 1.5em; } .sponsor-page .scanner-popup { diff --git a/src/pages/our-sponsors/index.tsx b/src/pages/our-sponsors/index.tsx index 727f4f7b1..6da46e3ab 100644 --- a/src/pages/our-sponsors/index.tsx +++ b/src/pages/our-sponsors/index.tsx @@ -3,6 +3,7 @@ import SponsorCard from "./SponsorCard"; import "./Sponsors.css"; import Layout from "@theme/Layout"; import sponsors from "../../database/sponsors"; +import { FaPlusCircle } from 'react-icons/fa'; const OurSponsors: React.FC = () => { const [showScanner, setShowScanner] = useState(false); @@ -25,10 +26,8 @@ const OurSponsors: React.FC = () => {

Help CodeHarborHub grow and support open-source projects by donating today. Your contribution enables us to share valuable resources and - knowledge on our website. - + knowledge on our website.
- Thank you for your support!

@@ -37,7 +36,10 @@ const OurSponsors: React.FC = () => { ))}
-

Join as a Sponsor

+

+ + Join as a Sponsor +

{showScanner && ( diff --git a/static/sponsors/narendra-dhangar.jpg b/static/sponsors/narendra-dhangar.jpg new file mode 100644 index 000000000..c8ec246b5 Binary files /dev/null and b/static/sponsors/narendra-dhangar.jpg differ diff --git a/web-dev/html/Flex-Box/Flex-Box Properties b/web-dev/html/Flex-Box/Flex-Box Properties deleted file mode 100644 index 277393e61..000000000 --- a/web-dev/html/Flex-Box/Flex-Box Properties +++ /dev/null @@ -1,93 +0,0 @@ ---- -id: Flexbox -title: Flexbox -sidebar_label: Flexbox -sidebar_position: 2 -tags: [html, CSS, Flexbox] ---- - -# Flexbox Layout in CSS - -Flexbox, short for Flexible Box, is a layout model in CSS that allows you to design complex layouts more efficiently and with less code compared -to traditional methods like floats or positioning. - -## Introduction to Flexbox - -Flexbox introduces a new way to layout, align, and distribute space among items in a container, even when their size is unknown or dynamic. -It's particularly useful for creating responsive designs and aligning elements within a container in numerous ways. - -## Basic Concepts - -Flexbox revolves around two main components: the flex container and flex items. - -### Flex Container - -The parent element that holds flex items is called the flex container. To create a flex container, you set the CSS `display` property to `flex` or `inline-flex`. - -```css -.container { - display: flex; -} -``` ---- -## Flex Items -The children of a flex container are called flex items. These items can dynamically adjust their width, height, and orderto fill theavailable space within the -flex container. - -```html -
-
Item 1
-
Item 2
-
Item 3
-
-``` -## Main Axis and Cross Axis -Flexbox operates along two axes: the main axis and the cross axis. The main axis is defined by the flex-direction property and determines the -direction in which flex items are laid out, while the cross axis is perpendicular to it. - -## Properties -Flexbox provides several properties to control the layout and behavior of flex containers and items. - -## Common Flex Container Properties -'display': Specifies the type of box used for a flex container. -'flex-direction': Establishes the main axis direction. -'justify-content': Aligns flex items along the main axis. -'align-items': Aligns flex items along the cross axis. -'flex-wrap': Specifies whether flex items should wrap or not. - -## Common Flex Item Properties -'order': Specifies the order of a flex item relative to other flex items. -'flex-grow': Specifies how a flex item grows relative to other flex items. -'flex-shrink': Specifies how a flex item shrinks relative to other flex items. -'flex-basis': Specifies the initial size of a flex item. -'align-self': Allows the default alignment to be overridden for individual flex items. ---- -```html - - - - Flexbox Example - - - -
-
Item 1
-
Item 2
-
Item 3
-
- - -``` -## Conclusion -Flexbox simplifies the process of creating layouts that adapt to different screen sizes and devices. By mastering Flexbox, you can create more responsive and dynamic web designs with less effort. diff --git a/web-dev/html/Images/1 Inserting-Images.md b/web-dev/html/Images/1 Inserting-Images.md deleted file mode 100644 index bab8e3c22..000000000 --- a/web-dev/html/Images/1 Inserting-Images.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -id: Inserting-Images -title: Inserting Images -sidebar_label: Inserting Images -sidebar_position: 1 -tags: [html, Img] ---- - -# Inserting Images on Web Page - -Now, we will check out how to insert Images on your webpage. The tag that is used for inserting the Images in the webpage is `` tag. - -The `` tag in HTML is used to insert images into a web page. It is one of the fundamental elements for web development as it allows you to display visual content seamlessly. - -`Description of the image` - -- **src:** This attribute specifies the URL of the image. It can be a relative or absolute path to the image file. - -- **alt:** This attribute provides alternative text for the image, which is displayed if the image cannot be loaded or for accessibility purposes. It's essential for visually impaired users who rely on screen readers. - -Here's an example of how you might use the `` tag: - -```html - - - - Intro to Images - - -

My Image

- An example for inserting the Image! - - - -``` - -This code will display the image "example.jpg" with the alternative text "An example for inserting the Image". - -# Accessibility: - -Adding descriptive **alt** text to images is crucial for accessibility. Screen readers rely on this text to describe images to visually impaired users. So, always ensure your images have meaningful alt attributes. \ No newline at end of file diff --git a/web-dev/html/Images/2Image-Formats-And-Optimisation.md b/web-dev/html/Images/2Image-Formats-And-Optimisation.md deleted file mode 100644 index b253d5a23..000000000 --- a/web-dev/html/Images/2Image-Formats-And-Optimisation.md +++ /dev/null @@ -1,61 +0,0 @@ ---- -id: Image-Formats-And-Optimisation -title: Image Formats And Optimisation -sidebar_label: Image Formats And Optimisation -sidebar_position: 2 -tags: [html, Img] ---- - -# Optimisation -Optimizing images for the web is crucial for improving website performance and user experience. By choosing the appropriate image format and applying optimization techniques, you can minimize file sizes without compromising image quality. - -When optimizing images for use on an HTML webpage, it's essential to consider the format and optimization techniques to ensure fast loading times and good user experience. - -### 1. JPEG (Joint Photographic Experts Group): -- **Description**: Ideal for photographs and images with gradients. -- **Optimization Techniques**: - - Adjust compression levels: Balance image quality and file size by adjusting the compression level. - - Optimize dimensions: Resize images to the actual size they will be displayed on the webpage. - - Remove unnecessary metadata: Strip EXIF data and other metadata to reduce file size. - - Use progressive encoding: Load images gradually for faster perceived performance. - -```html -Description -``` - -### 2. PNG (Portable Network Graphics): -- **Description**: Suitable for images with transparency and sharp lines. -- **Optimization Techniques**: - - Use PNG-8 for simple graphics: PNG-8 supports up to 256 colors and is suitable for images with limited colors. - - Optimize transparency: Use alpha transparency only where needed to minimize file size. - - Compress PNG-24: Compress PNG-24 images to reduce file size while maintaining quality. - -```html -Description -``` - -### 3. GIF (Graphics Interchange Format): -- **Description**: Suitable for simple animations and images with limited colors. -- **Optimization Techniques**: - - Limit color palette: Reduce the number of colors used in the image to minimize file size. - - Optimize animations: Limit the number of frames and optimize frame duration for GIF animations. - -```html -Description -``` - -### 4. WebP: -- **Description**: Modern image format offering both lossy and lossless compression. -- **Optimization Techniques**: - - Convert JPEG/PNG to WebP: Convert existing images to WebP format for better compression and smaller file sizes. - - Serve WebP images conditionally: Detect browser support for WebP and serve WebP images to compatible browsers. - -```html - - - - Description - -``` - -By implementing these optimization techniques and choosing the appropriate image format, you can enhance the performance and user experience of your HTML webpages. \ No newline at end of file diff --git a/web-dev/html/Images/3 Image-attributes.md b/web-dev/html/Images/3 Image-attributes.md deleted file mode 100644 index c8ca98268..000000000 --- a/web-dev/html/Images/3 Image-attributes.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -id: Image-Attributes -title: Image Attributes -sidebar_label: Image Attributes -sidebar_position: 3 -tags: [html, Img] ---- - -# Attributes - -Attributes in HTML are additional pieces of information you can include within tags to modify or define the behavior or appearance of elements. - -## Image Attributes - -Sure, here are descriptions for the top 4 attributes used with the `` tag: - -1. **src (Source)**: - - **Description**: This attribute is essential as it specifies the URL or file path to the image file that the `` element should display. - - **Usage**: It's mandatory and without it, the `` tag won't display any image. - - **Example**: `Description` - -2. **alt (Alternative Text)**: - - **Description**: Provides a textual description of the image. It's displayed if the image cannot be loaded or for accessibility purposes. - - **Usage**: While not technically required, it's considered best practice for accessibility and SEO purposes. - - **Example**: `A beautiful sunset` - -3. **width**: - - **Description**: Specifies the width of the image in pixels. - - **Usage**: This attribute allows you to control the size of the image displayed on the webpage. - - **Example**: `Description` - -4. **height**: - - **Description**: Specifies the height of the image in pixels. - - **Usage**: Similar to the `width` attribute, `height` allows you to control the height of the image displayed on the webpage. - - **Example**: `Description` - -These attributes are fundamental for displaying images on a webpage while ensuring accessibility and proper layout. \ No newline at end of file diff --git a/web-dev/index.md b/web-dev/index.md index 463aab6aa..f9f5258ae 100644 --- a/web-dev/index.md +++ b/web-dev/index.md @@ -5,8 +5,6 @@ sidebar_label: Introduction Web Dev sidebar_position: 1 --- -import GiscusComponent from '@site/src/components/GiscusComponent'; - > Web development is the work involved in developing a Web site for the Internet (World Wide Web) or an intranet (a private network). Web development can range from developing a simple single static page of plain text to complex Web-based Internet applications (Web apps), electronic businesses, and social network services. A more comprehensive list of tasks to which Web development commonly refers may include Web engineering, Web design, Web content development, client liaison, client-side/server-side scripting, Web server and network security configuration, and e-commerce development. Among Web professionals, "Web development" usually refers to the main non-design aspects of building Web sites: writing markup and coding. Web development may use content management systems (CMS) to make content changes easier and available with basic technical skills. @@ -15,43 +13,6 @@ import GiscusComponent from '@site/src/components/GiscusComponent'; Web development has been a growing industry since the commercialization of the web. It encompasses a wide range of topics and skills, including but not limited to creating and maintaining web applications, creating and maintaining websites, and creating and maintaining web services. Web development includes many types of web content creation. Some examples include hand coding web pages in a text editor, building a website in a program like Dreamweaver, and updating a blog via a blogging website. In recent years, content management systems like WordPress, Drupal, and Joomla have also become popular means of web development. These tools make it easy for anyone to create and edit their own website using a web-based interface. -```mermaid -graph TD - A[Web Development] --> B(Tools) - A --> C(Technologies) - C --> D(Front-End) - C --> E(Back-End) - D --> F(HTML) - D --> G(CSS) - D --> H(JavaScript) - E --> I(Node.js) - E --> J(Python) - E --> K(Ruby) - E --> L(PHP) - E --> M(Java) - B --> N(Text Editors/IDEs) - B --> O(Version Control) - B --> P(Browser Developer Tools) - B --> Q(Package Managers) - B --> R(Task Runners) - B --> S(Web Servers) - B --> T(Database Management Systems) - O --> U(Git) - O --> V(GitHub) - O --> W(Bitbucket) - P --> X(Chrome DevTools) - P --> Y(Firefox Developer Tools) - Q --> Z(npm) - Q --> AA(yarn) - R --> AB(Gulp) - R --> AC(Grunt) - S --> AD(Apache) - S --> AE(Nginx) - T --> AF(MySQL) - T --> AG(PostgreSQL) - T --> AH(MongoDB) -``` - ## Introduction to Web Development Web Development is a broad term for the work involved in developing a web site for the Internet (World Wide Web) or an intranet (a private network). If you want to share your thoughts, ideas, and information with the world, you need a website. And if you want to create a website, you need to learn web development. Web development is the process of building and maintaining a website. It includes aspects such as web design, web publishing, web programming, and database management. While the terms **web developer** and **web designer** are often used synonymously, they do not mean the same thing. Technically, a web designer only designs website interfaces using HTML and CSS. A web developer may be involved in designing a website, but may also write web scripts in languages such as PHP and ASP. Additionally, a web developer may help maintain and update a database used by a dynamic website. diff --git a/web-dev/javascript/advanced-topics/_category_.json b/web-dev/javascript/advanced-topics/_category_.json deleted file mode 100644 index 0c4357150..000000000 --- a/web-dev/javascript/advanced-topics/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "label": "Advanced Topics", - "position": 10, - "link": { - "type": "generated-index", - "description": "5 minutes to learn the most important RoadMap for JavaScript Mastery." - } - } \ No newline at end of file diff --git a/web-dev/javascript/advanced-topics/functional-programming-concepts-in-javascript.md b/web-dev/javascript/advanced-topics/functional-programming-concepts-in-javascript.md deleted file mode 100644 index a61b44e96..000000000 --- a/web-dev/javascript/advanced-topics/functional-programming-concepts-in-javascript.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -id: functional-programming-concepts-in-javascript -title: Functional Programming Concepts in JavaScript -sidebar_label: Functional Programming Concepts -sidebar_position: 2 ---- \ No newline at end of file diff --git a/web-dev/javascript/advanced-topics/object-oriented-javascript.md b/web-dev/javascript/advanced-topics/object-oriented-javascript.md deleted file mode 100644 index c37d211cf..000000000 --- a/web-dev/javascript/advanced-topics/object-oriented-javascript.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -id: object-oriented-javascript -title: Object-Oriented JavaScript -sidebar_label: Object-Oriented JavaScript -sidebar_position: 1 ---- \ No newline at end of file diff --git a/web-dev/javascript/advanced-topics/performance-optimization-techniques.md b/web-dev/javascript/advanced-topics/performance-optimization-techniques.md deleted file mode 100644 index 8befac71a..000000000 --- a/web-dev/javascript/advanced-topics/performance-optimization-techniques.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -id: performance-optimization-techniques -title: Performance Optimization Techniques -sidebar_label: Performance Optimization Techniques -sidebar_position: 3 ---- \ No newline at end of file diff --git a/web-dev/javascript/advanced-topics/security-best-practices-in-javascript-development.md b/web-dev/javascript/advanced-topics/security-best-practices-in-javascript-development.md deleted file mode 100644 index 6df7d0036..000000000 --- a/web-dev/javascript/advanced-topics/security-best-practices-in-javascript-development.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -id: security-best-practices-in-javascript-development -title: Security Best Practices in JavaScript Development -sidebar_label: Security Best Practices -sidebar_position: 4 ---- \ No newline at end of file diff --git a/web-dev/javascript/arrays-and-objects/_category_.json b/web-dev/javascript/arrays-and-objects/_category_.json deleted file mode 100644 index 75b294155..000000000 --- a/web-dev/javascript/arrays-and-objects/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "label": "Arrays and Objects", - "position": 5, - "link": { - "type": "generated-index", - "description": "5 minutes to learn the most important RoadMap for JavaScript Mastery." - } - } \ No newline at end of file diff --git a/web-dev/javascript/asynchronous-javascript/_category_.json b/web-dev/javascript/asynchronous-javascript/_category_.json deleted file mode 100644 index 275d33015..000000000 --- a/web-dev/javascript/asynchronous-javascript/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "label": "Asynchronous JavaScript", - "position": 7, - "link": { - "type": "generated-index", - "description": "5 minutes to learn the most important RoadMap for JavaScript Mastery." - } - } \ No newline at end of file diff --git a/web-dev/javascript/asynchronous-javascript/callback-functions.md b/web-dev/javascript/asynchronous-javascript/callback-functions.md deleted file mode 100644 index 1e4d9a043..000000000 --- a/web-dev/javascript/asynchronous-javascript/callback-functions.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -id: callback-functions -title: Callback Functions -sidebar_label: Callback Functions -sidebar_position: 2 ---- \ No newline at end of file diff --git a/web-dev/javascript/asynchronous-javascript/fetch-api-for-making-http-requests.md b/web-dev/javascript/asynchronous-javascript/fetch-api-for-making-http-requests.md deleted file mode 100644 index bdfc8a843..000000000 --- a/web-dev/javascript/asynchronous-javascript/fetch-api-for-making-http-requests.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -id: fetch-api-for-making-http-requests -title: Fetch API for Making HTTP Requests -sidebar_label: Fetch API for Making HTTP Requests -sidebar_position: 4 ---- \ No newline at end of file diff --git a/web-dev/javascript/asynchronous-javascript/introduction-to-asynchronous-programming.md b/web-dev/javascript/asynchronous-javascript/introduction-to-asynchronous-programming.md deleted file mode 100644 index 154c6d842..000000000 --- a/web-dev/javascript/asynchronous-javascript/introduction-to-asynchronous-programming.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -id: introduction-to-asynchronous-programming -title: Introduction to Asynchronous Programming -sidebar_label: Introduction to Asynchronous Programming -sidebar_position: 1 ---- \ No newline at end of file diff --git a/web-dev/javascript/asynchronous-javascript/promises-and-async-and-await-syntax.md b/web-dev/javascript/asynchronous-javascript/promises-and-async-and-await-syntax.md deleted file mode 100644 index 91e54e35f..000000000 --- a/web-dev/javascript/asynchronous-javascript/promises-and-async-and-await-syntax.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -id: promises-and-async-and-await-syntax -title: Promises and Async and Await Syntax -sidebar_label: Promises and Async and Await Syntax -sidebar_position: 3 ---- \ No newline at end of file diff --git a/web-dev/javascript/control-flow-and-functions/_category_.json b/web-dev/javascript/control-flow-and-functions/_category_.json deleted file mode 100644 index eb57b5aae..000000000 --- a/web-dev/javascript/control-flow-and-functions/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "label": "Control Flow and Functions", - "position": 4, - "link": { - "type": "generated-index", - "description": "5 minutes to learn the most important RoadMap for JavaScript Mastery." - } - } \ No newline at end of file diff --git a/web-dev/javascript/dom-manipulation/_category_.json b/web-dev/javascript/dom-manipulation/_category_.json deleted file mode 100644 index bac7ed475..000000000 --- a/web-dev/javascript/dom-manipulation/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "label": "DOM Manipulation", - "position": 6, - "link": { - "type": "generated-index", - "description": "5 minutes to learn the most important RoadMap for JavaScript Mastery." - } - } \ No newline at end of file diff --git a/web-dev/javascript/error-handling-and-debugging/_category_.json b/web-dev/javascript/error-handling-and-debugging/_category_.json deleted file mode 100644 index 50cadfc4f..000000000 --- a/web-dev/javascript/error-handling-and-debugging/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "label": "Error Handling and Debugging", - "position": 8, - "link": { - "type": "generated-index", - "description": "5 minutes to learn the most important RoadMap for JavaScript Mastery." - } - } \ No newline at end of file diff --git a/web-dev/javascript/error-handling-and-debugging/best-practices-for-error-handling-in-javascript.md b/web-dev/javascript/error-handling-and-debugging/best-practices-for-error-handling-in-javascript.md deleted file mode 100644 index f4a720de8..000000000 --- a/web-dev/javascript/error-handling-and-debugging/best-practices-for-error-handling-in-javascript.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -id: best-practices-for-error-handling-in-javascript -title: Best Practices for Error Handling in JavaScript -sidebar_label: Best Practices for Error Handling -sidebar_position: 3 ---- \ No newline at end of file diff --git a/web-dev/javascript/error-handling-and-debugging/common-javascript-errors-and-how-to-debug-them.md b/web-dev/javascript/error-handling-and-debugging/common-javascript-errors-and-how-to-debug-them.md deleted file mode 100644 index 25f4818be..000000000 --- a/web-dev/javascript/error-handling-and-debugging/common-javascript-errors-and-how-to-debug-them.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -id: common-javascript-errors-and-how-to-debug-them -title: Common JavaScript Errors and How to Debug Them -sidebar_label: Common JavaScript Errors and How to Debug Them -sidebar_position: 1 ---- \ No newline at end of file diff --git a/web-dev/javascript/error-handling-and-debugging/using-browser-developer-tools-for-debugging.md b/web-dev/javascript/error-handling-and-debugging/using-browser-developer-tools-for-debugging.md deleted file mode 100644 index 163db56e6..000000000 --- a/web-dev/javascript/error-handling-and-debugging/using-browser-developer-tools-for-debugging.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -id: using-browser-developer-tools-for-debugging -title: Using Browser Developer Tools for Debugging -sidebar_label: Using Browser Developer Tools for Debugging -sidebar_position: 2 ---- \ No newline at end of file diff --git a/web-dev/javascript/getting-started-with-javascript/_category_.json b/web-dev/javascript/getting-started-with-javascript/_category_.json deleted file mode 100644 index a0a1b9ae3..000000000 --- a/web-dev/javascript/getting-started-with-javascript/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "label": "Getting Started with JavaScript", - "position": 3, - "link": { - "type": "generated-index", - "description": "5 minutes to learn the most important RoadMap for JavaScript Mastery." - } - } \ No newline at end of file diff --git a/web-dev/javascript/introduction-to-javascript/_category_.json b/web-dev/javascript/introduction-to-javascript/_category_.json deleted file mode 100644 index 85eea2ecf..000000000 --- a/web-dev/javascript/introduction-to-javascript/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "label": "Introduction To JavaScript", - "position": 2, - "link": { - "type": "generated-index", - "description": "5 minutes to learn the most important RoadMap for JavaScript Mastery." - } - } \ No newline at end of file diff --git a/web-dev/javascript/introduction-to-javascript/history-and-evolution-of-javascript.md b/web-dev/javascript/introduction-to-javascript/history-and-evolution-of-javascript.md deleted file mode 100644 index 117ba6c11..000000000 --- a/web-dev/javascript/introduction-to-javascript/history-and-evolution-of-javascript.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -id: history-and-evolution-of-javascript -title: History and evolution of JavaScript -sidebar_label: History and evolution -sidebar_position: 2 -tags: [JavaScript, Introduction of js, Introduction of JavaScript,History and evolution of JavaScript, History and evolution, History and evolution of Js] ---- - diff --git a/web-dev/javascript/introduction-to-javascript/intro-js.md b/web-dev/javascript/introduction-to-javascript/intro-js.md deleted file mode 100644 index 28128183d..000000000 --- a/web-dev/javascript/introduction-to-javascript/intro-js.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -id: what-is-javasrcipt -title: What is JavaScript -sidebar_label: What is JavaScript -sidebar_position: 1 -tags: [JavaScript, Introduction of js, Introduction of JavaScript, what is js, what is JavaScript] ---- - diff --git a/web-dev/javascript/modern-javascript-concepts/_category_.json b/web-dev/javascript/modern-javascript-concepts/_category_.json deleted file mode 100644 index 5be7bb80e..000000000 --- a/web-dev/javascript/modern-javascript-concepts/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "label": "Modern JavaScript Concepts", - "position": 9, - "link": { - "type": "generated-index", - "description": "5 minutes to learn the most important RoadMap for JavaScript Mastery." - } - } \ No newline at end of file diff --git a/web-dev/javascript/modern-javascript-concepts/es6-features.md b/web-dev/javascript/modern-javascript-concepts/es6-features.md deleted file mode 100644 index 9b98b171e..000000000 --- a/web-dev/javascript/modern-javascript-concepts/es6-features.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -id: es6-features -title: ES6 Features -sidebar_label: ES6 Features -sidebar_position: 1 ---- \ No newline at end of file diff --git a/web-dev/javascript/modern-javascript-concepts/introduction-to-javascript-frameworks-and-libraries.md b/web-dev/javascript/modern-javascript-concepts/introduction-to-javascript-frameworks-and-libraries.md deleted file mode 100644 index 2df447fd5..000000000 --- a/web-dev/javascript/modern-javascript-concepts/introduction-to-javascript-frameworks-and-libraries.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -id: introduction-to-javascript-frameworks-and-libraries -title: Introduction to JavaScript Frameworks and Libraries -sidebar_label: Introduction to JavaScript Frameworks and Libraries -sidebar_position: 3 ---- \ No newline at end of file diff --git a/web-dev/javascript/modern-javascript-concepts/modules-and-module-loaders.md b/web-dev/javascript/modern-javascript-concepts/modules-and-module-loaders.md deleted file mode 100644 index 93004516e..000000000 --- a/web-dev/javascript/modern-javascript-concepts/modules-and-module-loaders.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -id: modules-and-module-loaders -title: Modules and Module Loaders -sidebar_label: Modules and Module Loaders -sidebar_position: 2 ---- - diff --git a/web-dev/javascript/tools-and-resources/_category_.json b/web-dev/javascript/tools-and-resources/_category_.json deleted file mode 100644 index 3a95f6c17..000000000 --- a/web-dev/javascript/tools-and-resources/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "label": "Tools and Resources", - "position": 11, - "link": { - "type": "generated-index", - "description": "5 minutes to learn the most important RoadMap for JavaScript Mastery." - } - } \ No newline at end of file diff --git a/web-dev/javascript/tools-and-resources/community-forums-and-online-communities-for-javascript-developers.md b/web-dev/javascript/tools-and-resources/community-forums-and-online-communities-for-javascript-developers.md deleted file mode 100644 index f547bf2ca..000000000 --- a/web-dev/javascript/tools-and-resources/community-forums-and-online-communities-for-javascript-developers.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -id: community-forums-and-online-communities-for-javascript-developers -title: Community Forums and Online Communities for JavaScript Developers -sidebar_label: Community Forums and Online Communities -sidebar_position: 4 ---- \ No newline at end of file diff --git a/web-dev/javascript/tools-and-resources/popular-development-tools-and-ides-for-JavaScript-development.md b/web-dev/javascript/tools-and-resources/popular-development-tools-and-ides-for-JavaScript-development.md deleted file mode 100644 index 155e74224..000000000 --- a/web-dev/javascript/tools-and-resources/popular-development-tools-and-ides-for-JavaScript-development.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -id: popular-development-tools-and-ides-for-JavaScript-development -title: Popular Development Tools and IDEs for JavaScript Development -sidebar_label: Popular Development Tools and IDEs -sidebar_position: 3 ---- \ No newline at end of file diff --git a/web-dev/javascript/tools-and-resources/recommended-books-and-online-resources.md b/web-dev/javascript/tools-and-resources/recommended-books-and-online-resources.md deleted file mode 100644 index ee3fe64f8..000000000 --- a/web-dev/javascript/tools-and-resources/recommended-books-and-online-resources.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -id: recommended-books-and-online-resources -title: Recommended Books and Online Resources -sidebar_label: Recommended Books and Online Resources -sidebar_position: 2 ---- \ No newline at end of file diff --git a/web-dev/javascript/tools-and-resources/useful-javascript-libraries-and-frameworks.md b/web-dev/javascript/tools-and-resources/useful-javascript-libraries-and-frameworks.md deleted file mode 100644 index 6f74d1d85..000000000 --- a/web-dev/javascript/tools-and-resources/useful-javascript-libraries-and-frameworks.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -id: useful-javascript-libraries-and-frameworks -title: Useful JavaScript Libraries and Frameworks -sidebar_label: Useful JavaScript Libraries and Frameworks -sidebar_position: 1 ---- \ No newline at end of file diff --git a/web-dev/javascript/welcome-js.md b/web-dev/javascript/welcome-js.md index 194b8267e..c2c92459c 100644 --- a/web-dev/javascript/welcome-js.md +++ b/web-dev/javascript/welcome-js.md @@ -1,77 +1,7 @@ --- -id: welcome-js -title: Welcome to JavaScript +id: welcome-javascript +title: Welcome to the JavaScript sidebar_label: Welcome To JavaScript sidebar_position: 1 -tags: [JavaScript] ---- - -Welcome to JavaScript! JavaScript is a high-level, interpreted programming language that conforms to the ECMAScript specification. JavaScript has curly-bracket syntax, dynamic typing, prototype-based object-orientation, and first-class functions. - -If you are new to JavaScript, you might want to start with the Introduction to JavaScript article. - -JavaScript is a multi-paradigm, dynamic language with types and operators, standard built-in objects, and methods. Its syntax is based on the Java and C languages — many structures from those languages apply to JavaScript as well. JavaScript supports object-oriented programming with object prototypes, instead of classes (see more about [prototypal inheritance](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Inheritance_and_the_prototype_chain)). - -JavaScript also supports functional programming — you can pass functions as arguments to other functions, return them as values from other functions, and assign them to variables or store them in data structures. - -JavaScript's standard library is very rich, providing a wide range of objects, including arrays, functions, and dates. Additionally, core JavaScript can be extended for a variety of purposes by supplementing it with additional objects; for example: - -- **Client-side JavaScript** extends the core language by supplying objects to control a browser and its Document Object Model (DOM). For example, client-side extensions allow an application to place elements on an HTML form and respond to user events such as mouse clicks, form input, and page navigation. - -- **Server-side JavaScript** extends the core language by supplying objects relevant to running JavaScript on a server. For example, server-side extensions allow an application to communicate with a database, provide continuity of information from one invocation to another of the application, or perform file manipulations on a server. - -JavaScript is a very free-form language compared to Java. You do not have to declare all variables, classes, and methods. You do not have to be concerned with whether methods are public, private, or protected, and you do not have to implement interfaces. Variables, parameters, and function return types are not explicitly typed. - -JavaScript is an object-based language based on prototypes, rather than being class-based. Because of this different basis, it can be less apparent how JavaScript allows you to create hierarchies of objects and to have inheritance of properties and their values. JavaScript uses functions as classes. Some people are confused by this, as JavaScript's function syntax does not resemble that of class-based languages such as Java or C++. - -JavaScript is a versatile language and is used for more than just web pages. For example, many desktop and server programs use JavaScript. Node.js is the best known. Some databases, like MongoDB and CouchDB, use JavaScript as their programming language. - -**Now that you have a basic understanding of JavaScript, let's dive into the language and learn more about it.** - -

JavaScript in Web Development: Table of Contents

- -- **Introduction to JavaScript** - - What is JavaScript? - - History and evolution of JavaScript - - Importance of JavaScript in web development -- **Getting Started with JavaScript** - - Setting up your development environment - - Basic syntax and structure of JavaScript code - - Variables, data types, and operators -- **Control Flow and Functions** - - Conditional statements (if/else, switch) - - Loops (for, while, do-while) - - Functions and function expressions - - Scope and closures -- **Arrays and Objects** - - Working with arrays (creation, manipulation, iteration) - - Introduction to objects and object literals - - Object-oriented programming concepts in JavaScript -- **DOM Manipulation** - - Understanding the Document Object Model (DOM) - - Selecting and manipulating DOM elements - - Handling events with JavaScript - - Dynamic HTML (DHTML) and DOM manipulation techniques -- **Asynchronous JavaScript** - - Introduction to asynchronous programming - - Callback functions - - Promises and async/await syntax - - Fetch API for making HTTP requests -- **Error Handling and Debugging** - - Common JavaScript errors and how to debug them - - Using browser developer tools for debugging - - Best practices for error handling in JavaScript -- **Modern JavaScript Concepts** - - ES6 features (arrow functions, template literals, destructuring, etc.) - - Modules and module loaders (import/export) - - Introduction to JavaScript frameworks/libraries (React.js, Vue.js, Angular, etc.) -- **Advanced Topics** - - Object-oriented JavaScript (classes, prototypes) - - Functional programming concepts in JavaScript - - Performance optimization techniques - - Security best practices in JavaScript development -- **Tools and Resources** - - Useful JavaScript libraries and frameworks - - Recommended books and online resources - - Popular development tools and IDEs for JavaScript development - - Community forums and online communities for JavaScript developers \ No newline at end of file +tags: [javascript] +--- \ No newline at end of file