It seems like every time we have a change to a website layout, we see a number of people trying to explain what exactly makes it different by demonstrating the layout. That’s because UI is the most important part of any website. With every design change, we are playing with the UI, and this affects a lot of different areas of a website.
Sometimes, you might notice layouts like this:
This is how it should look, but on your website it’s very confusing!
The reason is that there is two main styles of Layout, block and form. To explain what block and form styles are here, let’s break it down:
Block’s main intent is to give people different visual experiences,
Whether its simple sorting, making the page bold, highlighting certain topic areas, or displaying your home page, every block wants to tell a story, and
form has to cover the space of web pages.
Back when the UX/UI was first conceptualized, block and form styles weren’t as different as they are now. During the early days of web development, a traditional implementation of a Webpage wasn’t possible, therefore, people had to write tiny CSS codes for each item on a website. If we write nearly one thousand CSS code, we can expect our website to be very cluttered!
When we start to write block and form styles in JavaScript (as opposed to working with CSS code), it really is obvious that each style is a valid element. Since the backaches of corner webpages started to get wonky, design choices started to evolve and many designers quickly started to find a perfect balance in which both block and form styles compliment each other. What’s more, a lot of designers decided to use block and form styles all on their own, which is nothing but us overdoing it and getting all mad at our users.
You might have noticed above that our page layout of “The Home Page” was very different than our other content on the site. We experimented with designing our home page to resemble more a banner on a mobile phone screen than a proper Webpage, which is an idea which suits each separate user.
To explain block and form styles, we’ll still go through the same steps, but with block styles we won’t write that many CSS code because then the load time of our website will be many times faster.
Once we have found the perfect balance between both block and form styles, you can essentially work them simultaneously in JavaScript.
How do you implement block and form styles in JavaScript? Well, the following two methodologies will give you as much benefit as possible.
Hip.js
This methodologies is where you’ll use block style to bring the user to the main webpage, and the form styles will move away from the main page to provide a good interaction.
Fast.js
We didn’t have a way to do this with the original layout since we couldn’t solve the problems with viewport size and map. this method provides a fine balance, while also having to handle a (relatively) small size of webpages.
But with the above methods, you can give your website a quite distinctive look by showing the page to a smaller picture window in your website. That’s it. Finally, you have the answer that we are looking for – two entirely different styles of layout on one web page, but look like the same web page.
The so-called “Generic” configuration of your website offers users the ability to change the color of the background or to change the styles of pages, items, and styles of webpages at any time. However, without this you won’t have the flexibility that you really are seeking when it comes to designing your website.
Which of these two methodsologies offers the most flexibility?
Read more about block and form styles in JavaScript at this link.
Post a Comment