Giter Club home page Giter Club logo

project-business-site's Introduction

Business Site

This project was Technigo's boot camp week 3 project and the goal was to create a business one pager website that contains an image or video header, a signup form, and an accordion (with JavaScript).

The problem

I used position relative / absolute to place the navbar top of the hero section, which contains the background image and the title of the webpage. I used JavaScript to make functionality to the accordion. With for loop I manage to make a function which controls that on click it opens the answer div for different questions. Inside of the for loop I change the height of the answer div to make it unvisible and visible on click. I also used JavaScript for the form, so that on submit it opens text telling that booking is done and makes the form unvisible. Here I just changed the style of display between none and flex.

If I would have time to improve this webpage I would learn more about styling a form, because there is a lot of different css techniques to do this and it was not that intuitive.

View it live

https://stoic-mcclintock-736412.netlify.app/

project-business-site's People

Contributors

idlefingers avatar hannapettersson avatar kolkri 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.