A Front-End challenge created by Alura.
A programming content producer asked to build an online text editor to postcode snippets on their social networks. For him, the editor needs to have an accessible, simple, beautiful, and functional layout to even share the tool with his followers.
The main features requested are:
- A field to select a language to be written;
- A text field of writing the code, and a button to view this code with syntax highlighting and with a lovely theme;
- This project must be scalable, to the point that if it is needed to add some functionality (feature), it will be simple to do so;
- As this editor is online, it should be responsive.
Users will be able to:
- Edit the code and set the highlight;
- Save project in the community tab;
- Check project on the community tab;
- Projects remain in the community tab;
- Like saved projects;
- Search by language name on community tab.
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- JavaScript
- Firebase
- Use libraries like: Highlight JS;
- Use firebase;
- Group development, helping and being helped in discord;
- Use trello to organize my tasks;
<h1>Some HTML code I'm proud of</h1>
<div class="header__mobile__search" id="search-mobile">
<div class="header__mobile__search__input icon-inside">
<input type="search" id="mobile-search-bar" class="input-select" style="display: none;" aria-label="Search" placeholder="Search">
<i id="close-search" class="fas fa-times icon-menu" style="display: none;" aria-hidden="true"></i>
</div>
<button id="search-icon" class="btn-search icon-menu">
<i class="fas fa-search" aria-hidden="true"></i>
</button>
</div>
.proud-of-this-css {}
@media screen and (min-width: 1025px) {
.container__codes {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(25rem, auto));
grid-auto-rows: minmax(6.25rem, auto);
gap: 1em;
width: 100%;
}
}
- Linkedin - Tamara Carlos
- Twitter - @aramatsolrac