Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| const wakeUpLazyAzz = async () => { | |
| try { | |
| const response = await fetch('https://render-back-end-nikky-pedia.onrender.com/') | |
| // const body = await response.text() | |
| // console.log(response.ok) | |
| // console.log(response.status) | |
| // console.log(body) | |
| } catch (error) { | |
| console.log(error) | |
| } |
| <!DOCTYPE html> | |
| <html lang="ru-RU" prefix="og: http://ogp.me/ns#"> | |
| <head> | |
| <!-- Required --> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=no, maximum-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta http-equiv="cleartype" content="on"> | |
| <meta http-equiv="msthemecompatible" content="no"> |
| resultsDiv.style.transition = '4s' | |
| resultsDiv.style.transition = 'none' | |
| resultsDiv.style.opacity = '1' |
| (() => { | |
| let delay = 0 | |
| const jobs = document.querySelectorAll(".your-classes") | |
| jobs.forEach(job => { | |
| setTimeout(() => { | |
| job.click() | |
| }, delay) | |
| delay += 2000 | |
| }) | |
| })() |
| import './App.css'; | |
| function App() { | |
| const title = 'Welcome to the blog!' | |
| const likes = 50 | |
| // const person = { name: 'Yoshi', age: 30 } | |
| const link = "https://google.com" | |
| return ( | |
| <div className="App"> |
| // option 1 | |
| (function cycle(i){ | |
| console.log("tick, ID: " + i); | |
| setTimeout(cycle, 2000, i+1); | |
| })(0); | |
| // option 2 | |
| (function cycle() { | |
| document.querySelector(".css-1ewhobe").click() |
| // function to reverse the order of characters in a word: | |
| function reverse(word) { | |
| let reversedWord = '' | |
| for (let i = word.length - 1; i >= 0; i--) { | |
| reversedWord = reversedWord.concat(word[i]) | |
| } | |
| return reversedWord | |
| } | |
| console.log(reverse('word')) // prints drow |
| // Using array destructuring, fix the following code to print the keys and values of the `members` Map to the console. | |
| const members = new Map() | |
| members.set('Evelyn', 75.68) | |
| members.set('Liam', 20.16) | |
| members.set('Sophia', 0) | |
| members.set('Marcus', 10.25) | |
| let key | |
| let value |
| // Summation of two variables | |
| let firstName = 'John', | |
| lastName = 'Doe'; | |
| let greeting = `Hi ${firstName}, ${lastName}`; | |
| console.log(greeting); // Hi John, Doe | |
| // Observer |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |