Giter Site home page Giter Site logo

ahsanayaz / slides Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 11.0 310.86 MB

Home Page: https://ahsanayaz.github.io/slides

License: MIT License

SCSS 13.98% HTML 32.34% JavaScript 53.36% CSS 0.32%
codewithahsan hacktoberfest hacktoberfest-accepted javascript slides

slides's Introduction

reveal.js

Slides

reveal.js is an open source HTML presentation framework. It enables anyone with a web browser to create beautiful presentations for free. Check out the live demo at revealjs.com.

The framework comes with a powerful feature set including nested slides, Markdown support, Auto-Animate, PDF export, speaker notes, LaTeX typesetting, syntax highlighted code and an extensive API.


Want to create reveal.js presentation in a graphical editor? Try https://slides.com. It's made by the same people behind reveal.js.


Sponsors

Hakim's open source work is supported by GitHub sponsors. Special thanks to:


Getting started

Getting Started

Install Dependencies:

Install the project's dependencies using npm:

npm install

Usage

Serve the Project

To serve the project locally for development, use the following command:

npm run dev

This command will start a development server, allowing you to access the project in a web browser at http://localhost:3000 or a different port if specified in your project configuration.

Build the Project

To build the project for production deployment, run:

npm run build

This command will generate optimised production-ready assets and place them in the dist directory.

Deploy the Project

To deploy the project, you can use the following command:

npm run deploy

The deployment process may vary depending on your specific hosting environment. Be sure to configure your deployment settings as needed, and consult your hosting provider's documentation for detailed instructions.

MIT licensed | Copyright ยฉ 2011-2022 Hakim El Hattab, https://hakim.se

slides's People

Contributors

ahsanayaz avatar anttijankeri avatar rachit1313 avatar svitlanarybakova avatar rasika-exol avatar

Watchers

 avatar  avatar

slides's Issues

Write a nodeJS script to generate a JSON containing the slides data

Current Behavior:
The code in main.js looks at the array within the file to generate slides.

Desired Behavior:
The code in main.js is supposed to read it from a JSON

Acceptance Criteria:

  • A nodejs script that generates that JSON in the folder data named slides.json

Note: updating the main.js is not required in this task.

Update the readme for development instructions

Acceptance Criteria:

  • Update the readme to reflect how to do the following
    • Serve the project (npm run dev)
    • Build the project (npm run build)
    • Deploy the project

Also add the instructions for the project setup (running npm install). Take inspiration from other projects for an amazing readme :)

Move the slides script out of index.html

Current Situation

The javascript code is inside the index.html

Desired behavior

Move the code to its own javascript file

Hints

Acceptance Criteria: Expand to see
  • Create a new file at the project's root named main.js
  • Move the script from index.html to that file
  • Import the js file into the index.html via script tag
  • Make sure everything works locally (you're able to see the slides)
  • Update the gulp-file 'build-talks' task to include the `main.js`
image

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.