GithubHelp home page GithubHelp logo

voflik / html-css-vanillajs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from loicsanchez/html-css-vanillajs

0.0 0.0 0.0 111.67 MB

Mini projects/widgets in HTML, CSS & JavaScript

JavaScript 14.75% CSS 45.74% HTML 39.51%

html-css-vanillajs's Introduction

Structure

_project_starter is the boilerplate

Projects

Blurry Background

What? Blurs the background or image while the page is loading.

How? We use the filter CSS property https://developer.mozilla.org/en-US/docs/Web/CSS/filter and the JavaScript setInterval() method https://developer.mozilla.org/en-US/docs/Web/API/setInterval

Live Demo ⇒ https://loicsanchez.github.io/HTML-CSS-VanillaJS/Blurry%20Background/

Blurry Background GIF

Form Labels with Wave Animation

What? Animate the labels on a form to move with a wavy pattern.

How? We use JavaScript to split the text into elements and dynamically assign a different transition-delay to each of them.

Live Demo ⇒ https://loicsanchez.github.io/HTML-CSS-VanillaJS/Wave%20Label/

Animated Wave Label GIF

Progress Steps

What? An animated progress bar with multiple steps.

How? We use JavaScript to change the class of the active element and CSS to apply a different style to active elements. We also set the width of the progress bar in JavaScript.

Live Demo ⇒ https://loicsanchez.github.io/HTML-CSS-VanillaJS/Progress%20Steps/

Animated Steps GIF

Split Screens

What? Split the screen in half and animation on hover.

How? We use JavaScript to add events on mouse enter and mouse leave and change the class of the elements. We use CSS to apply a different widths and opacity to the elements.

Live Demo ⇒ https://loicsanchez.github.io/HTML-CSS-VanillaJS/Split%20Landing/

Split screen GIF

Dad Joke

What? Generate a Dad Joke on every click. Try not to laugh!

How? We use the JavaScript fetch API https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API to fetch a joke and update the innerHTML value of the element.

Live Demo ⇒ https://loicsanchez.github.io/HTML-CSS-VanillaJS/Dad%20Joke/

Dad Joke GIF

Background Parallax

What? A landing page with a background animated with a Parallax effect.

How? We use JavaScript to listen to the mousemove event and apply a transform (translate) to each image based on the mouse coordinates.

Live Demo ⇒ https://loicsanchez.github.io/HTML-CSS-VanillaJS/Background%20Parallax/

Background Parallax GIF

Expanding Cards (in progress)

Animated cards that expand on click

Animated Cards GIF

Rotating Navigation (in progress)

Rotate the entire page and show the navigation menu

Hidden Search Widget (in progress)

Animated search bar that shows/hides on click

Scroll Animation (in progress)

Animate boxes to show as we scroll - use the getBoundingClientRect

Animated Scroll GIF

Sound Board (in progress)

Play sound on click using elements https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio

VS Code Extensions

Live Server => right click and select 'Open in Live Server' for a live rendering

Resources

cdnjs.com -=> faster and easier way to load library with CDN

Google Fonts => https://fonts.google.com/

Images => https://unsplash.com

Dad Joke API => https://icanhazdadjoke.com/

html-css-vanillajs's People

Contributors

loicsanchez 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.