Giter Club home page Giter Club logo

devjobs_project-app's Introduction

- Devjobs web app

  • DevJobs is a job finding platform for software developers. The platform allows software developers to search for job postings and apply for jobs.

Technologies used in the development of the site

  • HTML5
  • CSS3
  • JavaScript
  • Local Storage

bbc696e6-f3c7-498e-b354-2e27fba52aac

Installation

  1. Clone the repository or download the ZIP file.
  2. Open the project directory.
  3. Open the index.html file in a web browser.

Code Overview

The JavaScript code is structured to facilitate key operations:

1. Job Listings Display (getData)

The getData function is responsible for rendering job listings on the main page (index.html). Each job listing includes essential details such as:

  • Job title
  • Company name
  • Location
  • Work type (Full Time, Part Time, etc.)
  • Time posted

Usage:

Call the getData function and pass an array of job data as an argument. The function will generate HTML content dynamically based on the provided job data and display it on the main page.

Example:

// Assuming 'data' is an array of job objects
getData(data);

The function utilizes HTML templates to dynamically generate the content based on the provided job data.



2. Job Search Functionality (search)

The search function facilitates job searches based on user-specified criteria. Users can search by job title, location, and work type. The search results are then displayed on the main page, providing a streamlined approach to finding relevant job listings.

Usage:

Call the search function with the search term, key, and the array of data as arguments. The function returns an array of filtered job data based on the search criteria.

Example:

// Assuming 'data' is an array of job objects
const searchTerm = 'JavaScript Developer';
const searchKey = 'title';
const searchResults = search(searchTerm, searchKey, data);
console.log(searchResults); // Output: Array of job objects matching the search criteria



3. Current Page Information (getCurrentUrl)

The getCurrentUrl function extracts information about the current page, including the page name and any relevant parameters (e.g., job ID). This function is crucial for determining the context and executing page-specific logic, such as editing or adding job listings.

Usage:

Call the getCurrentUrl function to obtain an object containing information about the current page, such as the page name and ID.

Example:

const pageInformation = getCurrentUrl();
console.log(pageInformation.pageName); // Output: Current page name
console.log(pageInformation.id); // Output: Current job ID (if applicable)

4. Dark Theme Support

The application includes a dark theme feature to enhance user experience. Users can toggle between dark and light themes using the provided switch at the top of the page.


๐ŸŒŽ Live Preview

https://api-exchange.netlify.app/

Contributing

Contributions are welcome! If you find any issues or want to add new features, please submit a pull request.

Author

Ehed Haciyev & DevJobs_Project

devjobs_project-app's People

Contributors

haciyev13 avatar

Watchers

 avatar

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.