...I18n scope for humanized attribute names, same translations for ActiveRecord and ActiveModel, fallback locales, HTML in locales, making browsers wrap long words 📄 Managing Rails locale files with i18n-tasks — our...

makandra Curriculum

...as much JavaScript as possible with built-in Unpoly features: E.g. code that loads HTML with AJAX and replaces a page fragment can be replaced with a[up-target].

...code base will grow a collection of different file types including: Ruby (business logic) HTML fragments (layouts and views) CSS/Sass/SCSS (styles) JavaScript (client-side behavior) Static media (images, fonts, videos...

...the pros and cons of each approach with your mentor. Resources ========= Images done right HTML Standard A collection of 300.000+ SVG Vectors and Icons MDN: Responsive Images img srcset und...

makandra Curriculum

...application's layout and one screen to Bootstrap. You may need to modify your HTML for some components. Apply a responsive layout using grid classes where appropriate.

...s list of movies. How long does the movies index render now? Inspect the HTML generated by will_paginate. Customize the style so it matches the look of your MovieDB...

Best results in other decks

guides.rubyonrails.org

I18n keys ending with _html are automatically marked as HTML-safe when translating with t('.your_key_html'). When you're localizing a Rails application, some localized texts...

...Please visit our %{link} to learn more about the corporation .' You can then pass an HTML-safe string and it ends up as expected in your HTML: <%= t('.text_html...

...rendering of your page will not be affected. Tip If you care about their HTML being valid, your new element should contain a dash character (-) to mark it as a...

...custom element. Custom elements will be ignored during HTML validation, but their children will still be validated. Styling new elements Browsers will give unknown elements a default style of display...

Search in all decks